From 04fbbedb62929976277eff42843579356af12bd8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 31 Aug 2011 00:53:08 +0300 Subject: [PATCH] Folder hierarchy modified. --- SMTPEmail.pro | 41 ++++++++++---------- main.cpp => demos/demo1.cpp | 2 +- SmtpMime => src/SmtpMime | 0 emailaddress.cpp => src/emailaddress.cpp | 0 emailaddress.h => src/emailaddress.h | 0 mimeattachment.cpp => src/mimeattachment.cpp | 0 mimeattachment.h => src/mimeattachment.h | 0 mimefile.cpp => src/mimefile.cpp | 0 mimefile.h => src/mimefile.h | 0 mimehtml.cpp => src/mimehtml.cpp | 0 mimehtml.h => src/mimehtml.h | 0 mimeinlinefile.cpp => src/mimeinlinefile.cpp | 0 mimeinlinefile.h => src/mimeinlinefile.h | 0 mimemessage.cpp => src/mimemessage.cpp | 0 mimemessage.h => src/mimemessage.h | 4 +- mimepart.cpp => src/mimepart.cpp | 0 mimepart.h => src/mimepart.h | 0 mimetext.cpp => src/mimetext.cpp | 0 mimetext.h => src/mimetext.h | 0 smtpclient.cpp => src/smtpclient.cpp | 0 smtpclient.h => src/smtpclient.h | 0 21 files changed, 24 insertions(+), 23 deletions(-) rename main.cpp => demos/demo1.cpp (97%) rename SmtpMime => src/SmtpMime (100%) rename emailaddress.cpp => src/emailaddress.cpp (100%) rename emailaddress.h => src/emailaddress.h (100%) rename mimeattachment.cpp => src/mimeattachment.cpp (100%) rename mimeattachment.h => src/mimeattachment.h (100%) rename mimefile.cpp => src/mimefile.cpp (100%) rename mimefile.h => src/mimefile.h (100%) rename mimehtml.cpp => src/mimehtml.cpp (100%) rename mimehtml.h => src/mimehtml.h (100%) rename mimeinlinefile.cpp => src/mimeinlinefile.cpp (100%) rename mimeinlinefile.h => src/mimeinlinefile.h (100%) rename mimemessage.cpp => src/mimemessage.cpp (100%) rename mimemessage.h => src/mimemessage.h (94%) rename mimepart.cpp => src/mimepart.cpp (100%) rename mimepart.h => src/mimepart.h (100%) rename mimetext.cpp => src/mimetext.cpp (100%) rename mimetext.h => src/mimetext.h (100%) rename smtpclient.cpp => src/smtpclient.cpp (100%) rename smtpclient.h => src/smtpclient.h (100%) diff --git a/SMTPEmail.pro b/SMTPEmail.pro index 7a6af27..a57c238 100644 --- a/SMTPEmail.pro +++ b/SMTPEmail.pro @@ -10,25 +10,26 @@ TARGET = SMTPEmail TEMPLATE = app -SOURCES += smtpclient.cpp \ - mimemessage.cpp \ - mimepart.cpp \ - mimetext.cpp \ - mimeattachment.cpp \ - mimehtml.cpp \ - emailaddress.cpp \ - mimefile.cpp \ - mimeinlinefile.cpp \ - main.cpp +SOURCES += \ + src/emailaddress.cpp \ + src/mimeattachment.cpp \ + src/mimefile.cpp \ + src/mimehtml.cpp \ + src/mimeinlinefile.cpp \ + src/mimemessage.cpp \ + src/mimepart.cpp \ + src/mimetext.cpp \ + src/smtpclient.cpp \ + demos/demo1.cpp HEADERS += \ - smtpclient.h \ - mimemessage.h \ - mimepart.h \ - mimetext.h \ - mimeattachment.h \ - mimehtml.h \ - emailaddress.h \ - mimefile.h \ - mimeinlinefile.h \ - SmtpMime + src/emailaddress.h \ + src/mimeattachment.h \ + src/mimefile.h \ + src/mimehtml.h \ + src/mimeinlinefile.h \ + src/mimemessage.h \ + src/mimepart.h \ + src/mimetext.h \ + src/smtpclient.h \ + src/SmtpMime diff --git a/main.cpp b/demos/demo1.cpp similarity index 97% rename from main.cpp rename to demos/demo1.cpp index aa9191c..5985bae 100644 --- a/main.cpp +++ b/demos/demo1.cpp @@ -1,6 +1,6 @@ #include -#include "SmtpMime" +#include "../src/SmtpMime" int main(int argc, char *argv[]) diff --git a/SmtpMime b/src/SmtpMime similarity index 100% rename from SmtpMime rename to src/SmtpMime diff --git a/emailaddress.cpp b/src/emailaddress.cpp similarity index 100% rename from emailaddress.cpp rename to src/emailaddress.cpp diff --git a/emailaddress.h b/src/emailaddress.h similarity index 100% rename from emailaddress.h rename to src/emailaddress.h diff --git a/mimeattachment.cpp b/src/mimeattachment.cpp similarity index 100% rename from mimeattachment.cpp rename to src/mimeattachment.cpp diff --git a/mimeattachment.h b/src/mimeattachment.h similarity index 100% rename from mimeattachment.h rename to src/mimeattachment.h diff --git a/mimefile.cpp b/src/mimefile.cpp similarity index 100% rename from mimefile.cpp rename to src/mimefile.cpp diff --git a/mimefile.h b/src/mimefile.h similarity index 100% rename from mimefile.h rename to src/mimefile.h diff --git a/mimehtml.cpp b/src/mimehtml.cpp similarity index 100% rename from mimehtml.cpp rename to src/mimehtml.cpp diff --git a/mimehtml.h b/src/mimehtml.h similarity index 100% rename from mimehtml.h rename to src/mimehtml.h diff --git a/mimeinlinefile.cpp b/src/mimeinlinefile.cpp similarity index 100% rename from mimeinlinefile.cpp rename to src/mimeinlinefile.cpp diff --git a/mimeinlinefile.h b/src/mimeinlinefile.h similarity index 100% rename from mimeinlinefile.h rename to src/mimeinlinefile.h diff --git a/mimemessage.cpp b/src/mimemessage.cpp similarity index 100% rename from mimemessage.cpp rename to src/mimemessage.cpp diff --git a/mimemessage.h b/src/mimemessage.h similarity index 94% rename from mimemessage.h rename to src/mimemessage.h index 2afb378..f940441 100644 --- a/mimemessage.h +++ b/src/mimemessage.h @@ -1,8 +1,8 @@ #ifndef MIMEMESSAGE_H #define MIMEMESSAGE_H -#include -#include +#include "mimepart.h" +#include "emailaddress.h" #include class MimeMessage : public QObject diff --git a/mimepart.cpp b/src/mimepart.cpp similarity index 100% rename from mimepart.cpp rename to src/mimepart.cpp diff --git a/mimepart.h b/src/mimepart.h similarity index 100% rename from mimepart.h rename to src/mimepart.h diff --git a/mimetext.cpp b/src/mimetext.cpp similarity index 100% rename from mimetext.cpp rename to src/mimetext.cpp diff --git a/mimetext.h b/src/mimetext.h similarity index 100% rename from mimetext.h rename to src/mimetext.h diff --git a/smtpclient.cpp b/src/smtpclient.cpp similarity index 100% rename from smtpclient.cpp rename to src/smtpclient.cpp diff --git a/smtpclient.h b/src/smtpclient.h similarity index 100% rename from smtpclient.h rename to src/smtpclient.h