author | zautrix <zautrix> | 2004-10-30 15:56:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-30 15:56:24 (UTC) |
commit | c8662dc632987a317386b923e24acb9507859528 (patch) (unidiff) | |
tree | 97ca9b266d075c3c0f2689769829c453f8118cd8 /kmicromail/opiemail.cpp | |
parent | 632b43950f1ac2980c281eb8901d797deb0ba971 (diff) | |
download | kdepimpi-c8662dc632987a317386b923e24acb9507859528.zip kdepimpi-c8662dc632987a317386b923e24acb9507859528.tar.gz kdepimpi-c8662dc632987a317386b923e24acb9507859528.tar.bz2 |
ompi desktop compile hack
-rw-r--r-- | kmicromail/opiemail.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 153c7c0..e088b9e 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp | |||
@@ -1,53 +1,56 @@ | |||
1 | // CHANGED 2004-09-31 Lutz Rogowski | 1 | // CHANGED 2004-09-31 Lutz Rogowski |
2 | // CHANGED 2004-08-06 Lutz Rogowski | 2 | // CHANGED 2004-08-06 Lutz Rogowski |
3 | 3 | ||
4 | #include "koprefsdialog.h" | ||
5 | #include <libkdepim/externalapphandler.h> | ||
6 | #include <libkdepim/kpimglobalprefs.h> | ||
7 | #ifdef MINIKDE_KDIALOG_H | ||
8 | #undef MINIKDE_KDIALOG_H | ||
9 | #endif | ||
4 | #include "settingsdialog.h" | 10 | #include "settingsdialog.h" |
5 | #include "opiemail.h" | 11 | #include "opiemail.h" |
6 | #include "editaccounts.h" | 12 | #include "editaccounts.h" |
7 | #include "composemail.h" | 13 | #include "composemail.h" |
8 | #include "mailistviewitem.h" | 14 | #include "mailistviewitem.h" |
9 | #include "viewmail.h" | 15 | #include "viewmail.h" |
10 | #include "selectstore.h" | 16 | #include "selectstore.h" |
11 | #include "selectsmtp.h" | 17 | #include "selectsmtp.h" |
12 | #include "accountitem.h" | 18 | #include "accountitem.h" |
13 | #include "koprefsdialog.h" | ||
14 | #include "klocale.h" | 19 | #include "klocale.h" |
15 | 20 | ||
16 | #include <qmessagebox.h> | 21 | #include <qmessagebox.h> |
17 | #include <qtimer.h> | 22 | #include <qtimer.h> |
18 | #include <qcursor.h> | 23 | #include <qcursor.h> |
19 | #include <qregexp.h> | 24 | #include <qregexp.h> |
20 | #include <libkdepim/externalapphandler.h> | ||
21 | #include <libkdepim/kpimglobalprefs.h> | ||
22 | 25 | ||
23 | #ifdef DESKTOP_VERSION | 26 | #ifdef DESKTOP_VERSION |
24 | #include <qapplication.h> | 27 | #include <qapplication.h> |
25 | #else | 28 | #else |
26 | #include <qpe/qpeapplication.h> | 29 | #include <qpe/qpeapplication.h> |
27 | #endif | 30 | #endif |
28 | #include <libmailwrapper/smtpwrapper.h> | 31 | #include <libmailwrapper/smtpwrapper.h> |
29 | #include <libmailwrapper/mailtypes.h> | 32 | #include <libmailwrapper/mailtypes.h> |
30 | #include <libmailwrapper/abstractmail.h> | 33 | #include <libmailwrapper/abstractmail.h> |
31 | /* OPIE */ | 34 | /* OPIE */ |
32 | //#include <qpe/resource.h> | 35 | //#include <qpe/resource.h> |
33 | //#include <qpe/qpeapplication.h> | 36 | //#include <qpe/qpeapplication.h> |
34 | 37 | ||
35 | /* QT */ | 38 | /* QT */ |
36 | 39 | ||
37 | //using namespace Opie::Core; | 40 | //using namespace Opie::Core; |
38 | 41 | ||
39 | OpieMail::OpieMail( QWidget *parent, const char *name ) | 42 | OpieMail::OpieMail( QWidget *parent, const char *name ) |
40 | : MainWindow( parent, name) //, WStyle_ContextHelp ) | 43 | : MainWindow( parent, name) //, WStyle_ContextHelp ) |
41 | { | 44 | { |
42 | settings = new Settings(); | 45 | settings = new Settings(); |
43 | 46 | ||
44 | folderView->populate( settings->getAccounts() ); | 47 | folderView->populate( settings->getAccounts() ); |
45 | 48 | ||
46 | } | 49 | } |
47 | 50 | ||
48 | OpieMail::~OpieMail() | 51 | OpieMail::~OpieMail() |
49 | { | 52 | { |
50 | if (settings) delete settings; | 53 | if (settings) delete settings; |
51 | } | 54 | } |
52 | 55 | ||
53 | void OpieMail::appMessage(const QCString &msg, const QByteArray &data) | 56 | void OpieMail::appMessage(const QCString &msg, const QByteArray &data) |