summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/mail.pro4
-rw-r--r--noncore/unsupported/mail2/main.cpp9
-rw-r--r--noncore/unsupported/mail2/mainwindow.h1
3 files changed, 4 insertions, 10 deletions
diff --git a/noncore/unsupported/mail2/mail.pro b/noncore/unsupported/mail2/mail.pro
index 0c1a1fb..f521178 100644
--- a/noncore/unsupported/mail2/mail.pro
+++ b/noncore/unsupported/mail2/mail.pro
@@ -1,68 +1,66 @@
1 TEMPLATE = app 1 CONFIG += qt warn_on debug quick-app
2 CONFIG += qt warn_on debug
3 #CONFIG += qt warn_on release 2 #CONFIG += qt warn_on release
4 HEADERS = accounteditor.h \ 3 HEADERS = accounteditor.h \
5 addresspicker.h \ 4 addresspicker.h \
6 composer.h \ 5 composer.h \
7 composerbase.h \ 6 composerbase.h \
8 configdiag.h \ 7 configdiag.h \
9 folderwidget.h \ 8 folderwidget.h \
10 listviewplus.h \ 9 listviewplus.h \
11 mailstatusbar.h \ 10 mailstatusbar.h \
12 mailtable.h \ 11 mailtable.h \
13 mainwindow.h \ 12 mainwindow.h \
14 mainwindowbase.h \ 13 mainwindowbase.h \
15 opendiag.h \ 14 opendiag.h \
16 rename.h \ 15 rename.h \
17 searchdiag.h \ 16 searchdiag.h \
18 viewmail.h \ 17 viewmail.h \
19 viewmailbase.h 18 viewmailbase.h
20 SOURCES = accounteditor.cpp \ 19 SOURCES = accounteditor.cpp \
21 addresspicker.cpp \ 20 addresspicker.cpp \
22 composer.cpp \ 21 composer.cpp \
23 composerbase.cpp \ 22 composerbase.cpp \
24 configdiag.cpp \ 23 configdiag.cpp \
25 folderwidget.cpp \ 24 folderwidget.cpp \
26 listviewplus.cpp \ 25 listviewplus.cpp \
27 mailstatusbar.cpp \ 26 mailstatusbar.cpp \
28 mailtable.cpp \ 27 mailtable.cpp \
29 main.cpp \ 28 main.cpp \
30 mainwindow.cpp \ 29 mainwindow.cpp \
31 mainwindowbase.cpp \ 30 mainwindowbase.cpp \
32 opendiag.cpp \ 31 opendiag.cpp \
33 rename.cpp \ 32 rename.cpp \
34 searchdiag.cpp \ 33 searchdiag.cpp \
35 viewmail.cpp \ 34 viewmail.cpp \
36 viewmailbase.cpp 35 viewmailbase.cpp
37 INTERFACES = accounteditorbase.ui \ 36 INTERFACES = accounteditorbase.ui \
38 addresspickerbase.ui \ 37 addresspickerbase.ui \
39 configdiagbase.ui \ 38 configdiagbase.ui \
40 opendiagbase.ui \ 39 opendiagbase.ui \
41 renamebase.ui \ 40 renamebase.ui \
42 searchdiagbase.ui 41 searchdiagbase.ui
43 INCLUDEPATH += $(OPIEDIR)/include libmail 42 INCLUDEPATH += $(OPIEDIR)/include libmail
44 LIBS += -lmail -lqpe -lopie 43 LIBS += -lmail -lqpe -lopie
45 TARGET = mail 44 TARGET = mail
46 DESTDIR = $(OPIEDIR)/bin
47 45
48TRANSLATIONS = ../../i18n/de/mail.ts \ 46TRANSLATIONS = ../../i18n/de/mail.ts \
49 ../../i18n/nl/mail.ts \ 47 ../../i18n/nl/mail.ts \
50 ../../i18n/da/mail.ts \ 48 ../../i18n/da/mail.ts \
51 ../../i18n/xx/mail.ts \ 49 ../../i18n/xx/mail.ts \
52 ../../i18n/en/mail.ts \ 50 ../../i18n/en/mail.ts \
53 ../../i18n/es/mail.ts \ 51 ../../i18n/es/mail.ts \
54 ../../i18n/fr/mail.ts \ 52 ../../i18n/fr/mail.ts \
55 ../../i18n/hu/mail.ts \ 53 ../../i18n/hu/mail.ts \
56 ../../i18n/ja/mail.ts \ 54 ../../i18n/ja/mail.ts \
57 ../../i18n/ko/mail.ts \ 55 ../../i18n/ko/mail.ts \
58 ../../i18n/no/mail.ts \ 56 ../../i18n/no/mail.ts \
59 ../../i18n/pl/mail.ts \ 57 ../../i18n/pl/mail.ts \
60 ../../i18n/pt/mail.ts \ 58 ../../i18n/pt/mail.ts \
61 ../../i18n/pt_BR/mail.ts \ 59 ../../i18n/pt_BR/mail.ts \
62 ../../i18n/sl/mail.ts \ 60 ../../i18n/sl/mail.ts \
63 ../../i18n/zh_CN/mail.ts \ 61 ../../i18n/zh_CN/mail.ts \
64 ../../i18n/zh_TW/mail.ts 62 ../../i18n/zh_TW/mail.ts
65 63
66 64
67 65
68include ( $(OPIEDIR)/include.pro ) 66include ( $(OPIEDIR)/include.pro )
diff --git a/noncore/unsupported/mail2/main.cpp b/noncore/unsupported/mail2/main.cpp
index ddacf3d..a11b4e2 100644
--- a/noncore/unsupported/mail2/main.cpp
+++ b/noncore/unsupported/mail2/main.cpp
@@ -1,14 +1,9 @@
1#include <qpe/qpeapplication.h> 1#include <qpe/qpeapplication.h>
2 2
3#include "mainwindow.h" 3#include "mainwindow.h"
4 4
5int main(int argc, char *argv[]) 5#include <opie/oapplicationfactory.h>
6{
7 QPEApplication app(argc, argv);
8 6
9 MainWindow mw; 7OPIE_EXPORT_APP( OApplicationFactory<MainWindow> )
10 app.showMainWidget(&mw);
11 8
12 return app.exec();
13}
14 9
diff --git a/noncore/unsupported/mail2/mainwindow.h b/noncore/unsupported/mail2/mainwindow.h
index 1ed0559..4cdd03d 100644
--- a/noncore/unsupported/mail2/mainwindow.h
+++ b/noncore/unsupported/mail2/mainwindow.h
@@ -1,29 +1,30 @@
1#ifndef MAINWINDOW_H 1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H 2#define MAINWINDOW_H
3 3
4#include "mainwindowbase.h" 4#include "mainwindowbase.h"
5 5
6#include <qstring.h> 6#include <qstring.h>
7 7
8class IMAPHandler; 8class IMAPHandler;
9class IMAPResponseFETCH; 9class IMAPResponseFETCH;
10 10
11class MainWindow : public MainWindowBase 11class MainWindow : public MainWindowBase
12{ 12{
13 Q_OBJECT 13 Q_OBJECT
14 14
15public: 15public:
16 static QString appName() { return QString::fromLatin1("mail"); }
16 MainWindow(QWidget *parent = 0, const char *name = 0, WFlags fl = 0); 17 MainWindow(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
17 18
18protected slots: 19protected slots:
19 void slotCompose( const QString& name, const QString& email ); 20 void slotCompose( const QString& name, const QString& email );
20 void slotComposeNoParams(); 21 void slotComposeNoParams();
21 void slotSendQueued(); 22 void slotSendQueued();
22 void slotSearch(); 23 void slotSearch();
23 void slotConfigure(); 24 void slotConfigure();
24 void mailClicked(IMAPResponseFETCH mail, IMAPHandler *handler); 25 void mailClicked(IMAPResponseFETCH mail, IMAPHandler *handler);
25 void appMessage(const QCString &msg, const QByteArray &data); 26 void appMessage(const QCString &msg, const QByteArray &data);
26 27
27}; 28};
28 29
29#endif 30#endif