summaryrefslogtreecommitdiff
authoralwin <alwin>2003-12-02 21:21:53 (UTC)
committer alwin <alwin>2003-12-02 21:21:53 (UTC)
commitd5b6b246978ff34fb21b3306899c997528f8341c (patch) (unidiff)
tree1d5e67efc9a37dcf5f752dee8c96a53919c2e171
parentb25754f6ecb9ded83323e39ad62b8fd18ae278ca (diff)
downloadopie-d5b6b246978ff34fb21b3306899c997528f8341c.zip
opie-d5b6b246978ff34fb21b3306899c997528f8341c.tar.gz
opie-d5b6b246978ff34fb21b3306899c997528f8341c.tar.bz2
fix of bug number 0001210
the libmail is now called libcoremail (fix inside the .pro files) mail application got a appName for quicklauncher.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/bend/bend.pro2
-rw-r--r--noncore/unsupported/mail2/libmail/libmail.pro2
-rw-r--r--noncore/unsupported/mail2/mail.pro2
-rw-r--r--noncore/unsupported/mail2/viewmail.h1
4 files changed, 4 insertions, 3 deletions
diff --git a/noncore/unsupported/mail2/bend/bend.pro b/noncore/unsupported/mail2/bend/bend.pro
index 61eea5f..ad96063 100644
--- a/noncore/unsupported/mail2/bend/bend.pro
+++ b/noncore/unsupported/mail2/bend/bend.pro
@@ -1,32 +1,32 @@
1 TEMPLATE =lib 1 TEMPLATE =lib
2 CONFIG +=qt plugin warn_on release 2 CONFIG +=qt plugin warn_on release
3 HEADERS +=bend.h \ 3 HEADERS +=bend.h \
4 bendimpl.h 4 bendimpl.h
5 SOURCES +=bend.cpp \ 5 SOURCES +=bend.cpp \
6 bendimpl.cpp 6 bendimpl.cpp
7 INCLUDEPATH +=$(OPIEDIR)/include ../libmail 7 INCLUDEPATH +=$(OPIEDIR)/include ../libmail
8 LIBS +=-lmail -lqpe 8 LIBS +=-lcoremail -lqpe
9 TARGET =bend 9 TARGET =bend
10 DESTDIR +=$(OPIEDIR)/plugins/applets/ 10 DESTDIR +=$(OPIEDIR)/plugins/applets/
11 11
12TRANSLATIONS = ../../../i18n/de/libbend.ts \ 12TRANSLATIONS = ../../../i18n/de/libbend.ts \
13 ../../../i18n/nl/libbend.ts \ 13 ../../../i18n/nl/libbend.ts \
14 ../../../i18n/da/libbend.ts \ 14 ../../../i18n/da/libbend.ts \
15 ../../../i18n/xx/libbend.ts \ 15 ../../../i18n/xx/libbend.ts \
16 ../../../i18n/en/libbend.ts \ 16 ../../../i18n/en/libbend.ts \
17 ../../../i18n/es/libbend.ts \ 17 ../../../i18n/es/libbend.ts \
18 ../../../i18n/fr/libbend.ts \ 18 ../../../i18n/fr/libbend.ts \
19 ../../../i18n/hu/libbend.ts \ 19 ../../../i18n/hu/libbend.ts \
20 ../../../i18n/ja/libbend.ts \ 20 ../../../i18n/ja/libbend.ts \
21 ../../../i18n/ko/libbend.ts \ 21 ../../../i18n/ko/libbend.ts \
22 ../../../i18n/no/libbend.ts \ 22 ../../../i18n/no/libbend.ts \
23 ../../../i18n/pl/libbend.ts \ 23 ../../../i18n/pl/libbend.ts \
24 ../../../i18n/pt/libbend.ts \ 24 ../../../i18n/pt/libbend.ts \
25 ../../../i18n/pt_BR/libbend.ts \ 25 ../../../i18n/pt_BR/libbend.ts \
26 ../../../i18n/sl/libbend.ts \ 26 ../../../i18n/sl/libbend.ts \
27 ../../../i18n/zh_CN/libbend.ts \ 27 ../../../i18n/zh_CN/libbend.ts \
28 ../../../i18n/zh_TW/libbend.ts 28 ../../../i18n/zh_TW/libbend.ts
29 29
30 30
31 31
32include ( $(OPIEDIR)/include.pro ) 32include ( $(OPIEDIR)/include.pro )
diff --git a/noncore/unsupported/mail2/libmail/libmail.pro b/noncore/unsupported/mail2/libmail/libmail.pro
index 81ccdec..3bd6ab0 100644
--- a/noncore/unsupported/mail2/libmail/libmail.pro
+++ b/noncore/unsupported/mail2/libmail/libmail.pro
@@ -1,46 +1,46 @@
1 TEMPLATE =lib 1 TEMPLATE =lib
2 CONFIG +=qt warn_on debug 2 CONFIG +=qt warn_on debug
3 #CONFIG +=qt warn_on release 3 #CONFIG +=qt warn_on release
4 HEADERS =configfile.h \ 4 HEADERS =configfile.h \
5 defines.h \ 5 defines.h \
6 imapbase.h \ 6 imapbase.h \
7 imaphandler.h \ 7 imaphandler.h \
8 imapresponse.h \ 8 imapresponse.h \
9 mailfactory.h \ 9 mailfactory.h \
10 md5.h \ 10 md5.h \
11 miscfunctions.h \ 11 miscfunctions.h \
12 smtphandler.h 12 smtphandler.h
13 SOURCES =configfile.cpp \ 13 SOURCES =configfile.cpp \
14 imapbase.cpp \ 14 imapbase.cpp \
15 imaphandler.cpp \ 15 imaphandler.cpp \
16 imapresponse.cpp \ 16 imapresponse.cpp \
17 mailfactory.cpp \ 17 mailfactory.cpp \
18 md5.cpp \ 18 md5.cpp \
19 miscfunctions.cpp \ 19 miscfunctions.cpp \
20 smtphandler.cpp 20 smtphandler.cpp
21 INCLUDEPATH +=$(OPIEDIR)/include 21 INCLUDEPATH +=$(OPIEDIR)/include
22 LIBS +=-L$(OPIEDIR)/lib -lqpe 22 LIBS +=-L$(OPIEDIR)/lib -lqpe
23 TARGET =mail 23 TARGET =coremail
24DESTDIR = $(OPIEDIR)/lib 24DESTDIR = $(OPIEDIR)/lib
25 25
26TRANSLATIONS = ../../../i18n/de/libmail.ts \ 26TRANSLATIONS = ../../../i18n/de/libmail.ts \
27 ../../../i18n/nl/libmail.ts \ 27 ../../../i18n/nl/libmail.ts \
28 ../../../i18n/da/libmail.ts \ 28 ../../../i18n/da/libmail.ts \
29 ../../../i18n/xx/libmail.ts \ 29 ../../../i18n/xx/libmail.ts \
30 ../../../i18n/en/libmail.ts \ 30 ../../../i18n/en/libmail.ts \
31 ../../../i18n/es/libmail.ts \ 31 ../../../i18n/es/libmail.ts \
32 ../../../i18n/fr/libmail.ts \ 32 ../../../i18n/fr/libmail.ts \
33 ../../../i18n/hu/libmail.ts \ 33 ../../../i18n/hu/libmail.ts \
34 ../../../i18n/ja/libmail.ts \ 34 ../../../i18n/ja/libmail.ts \
35 ../../../i18n/ko/libmail.ts \ 35 ../../../i18n/ko/libmail.ts \
36 ../../../i18n/no/libmail.ts \ 36 ../../../i18n/no/libmail.ts \
37 ../../../i18n/pl/libmail.ts \ 37 ../../../i18n/pl/libmail.ts \
38 ../../../i18n/pt/libmail.ts \ 38 ../../../i18n/pt/libmail.ts \
39 ../../../i18n/pt_BR/libmail.ts \ 39 ../../../i18n/pt_BR/libmail.ts \
40 ../../../i18n/sl/libmail.ts \ 40 ../../../i18n/sl/libmail.ts \
41 ../../../i18n/zh_CN/libmail.ts \ 41 ../../../i18n/zh_CN/libmail.ts \
42 ../../../i18n/zh_TW/libmail.ts 42 ../../../i18n/zh_TW/libmail.ts
43 43
44 44
45 45
46include ( $(OPIEDIR)/include.pro ) 46include ( $(OPIEDIR)/include.pro )
diff --git a/noncore/unsupported/mail2/mail.pro b/noncore/unsupported/mail2/mail.pro
index f521178..1fa087a 100644
--- a/noncore/unsupported/mail2/mail.pro
+++ b/noncore/unsupported/mail2/mail.pro
@@ -1,66 +1,66 @@
1 CONFIG += qt warn_on debug quick-app 1 CONFIG += qt warn_on debug quick-app
2 #CONFIG += qt warn_on release 2 #CONFIG += qt warn_on release
3 HEADERS = accounteditor.h \ 3 HEADERS = accounteditor.h \
4 addresspicker.h \ 4 addresspicker.h \
5 composer.h \ 5 composer.h \
6 composerbase.h \ 6 composerbase.h \
7 configdiag.h \ 7 configdiag.h \
8 folderwidget.h \ 8 folderwidget.h \
9 listviewplus.h \ 9 listviewplus.h \
10 mailstatusbar.h \ 10 mailstatusbar.h \
11 mailtable.h \ 11 mailtable.h \
12 mainwindow.h \ 12 mainwindow.h \
13 mainwindowbase.h \ 13 mainwindowbase.h \
14 opendiag.h \ 14 opendiag.h \
15 rename.h \ 15 rename.h \
16 searchdiag.h \ 16 searchdiag.h \
17 viewmail.h \ 17 viewmail.h \
18 viewmailbase.h 18 viewmailbase.h
19 SOURCES = accounteditor.cpp \ 19 SOURCES = accounteditor.cpp \
20 addresspicker.cpp \ 20 addresspicker.cpp \
21 composer.cpp \ 21 composer.cpp \
22 composerbase.cpp \ 22 composerbase.cpp \
23 configdiag.cpp \ 23 configdiag.cpp \
24 folderwidget.cpp \ 24 folderwidget.cpp \
25 listviewplus.cpp \ 25 listviewplus.cpp \
26 mailstatusbar.cpp \ 26 mailstatusbar.cpp \
27 mailtable.cpp \ 27 mailtable.cpp \
28 main.cpp \ 28 main.cpp \
29 mainwindow.cpp \ 29 mainwindow.cpp \
30 mainwindowbase.cpp \ 30 mainwindowbase.cpp \
31 opendiag.cpp \ 31 opendiag.cpp \
32 rename.cpp \ 32 rename.cpp \
33 searchdiag.cpp \ 33 searchdiag.cpp \
34 viewmail.cpp \ 34 viewmail.cpp \
35 viewmailbase.cpp 35 viewmailbase.cpp
36 INTERFACES = accounteditorbase.ui \ 36 INTERFACES = accounteditorbase.ui \
37 addresspickerbase.ui \ 37 addresspickerbase.ui \
38 configdiagbase.ui \ 38 configdiagbase.ui \
39 opendiagbase.ui \ 39 opendiagbase.ui \
40 renamebase.ui \ 40 renamebase.ui \
41 searchdiagbase.ui 41 searchdiagbase.ui
42 INCLUDEPATH += $(OPIEDIR)/include libmail 42 INCLUDEPATH += $(OPIEDIR)/include libmail
43 LIBS += -lmail -lqpe -lopie 43 LIBS += -lcoremail -lqpe -lopie
44 TARGET = mail 44 TARGET = mail
45 45
46TRANSLATIONS = ../../i18n/de/mail.ts \ 46TRANSLATIONS = ../../i18n/de/mail.ts \
47 ../../i18n/nl/mail.ts \ 47 ../../i18n/nl/mail.ts \
48 ../../i18n/da/mail.ts \ 48 ../../i18n/da/mail.ts \
49 ../../i18n/xx/mail.ts \ 49 ../../i18n/xx/mail.ts \
50 ../../i18n/en/mail.ts \ 50 ../../i18n/en/mail.ts \
51 ../../i18n/es/mail.ts \ 51 ../../i18n/es/mail.ts \
52 ../../i18n/fr/mail.ts \ 52 ../../i18n/fr/mail.ts \
53 ../../i18n/hu/mail.ts \ 53 ../../i18n/hu/mail.ts \
54 ../../i18n/ja/mail.ts \ 54 ../../i18n/ja/mail.ts \
55 ../../i18n/ko/mail.ts \ 55 ../../i18n/ko/mail.ts \
56 ../../i18n/no/mail.ts \ 56 ../../i18n/no/mail.ts \
57 ../../i18n/pl/mail.ts \ 57 ../../i18n/pl/mail.ts \
58 ../../i18n/pt/mail.ts \ 58 ../../i18n/pt/mail.ts \
59 ../../i18n/pt_BR/mail.ts \ 59 ../../i18n/pt_BR/mail.ts \
60 ../../i18n/sl/mail.ts \ 60 ../../i18n/sl/mail.ts \
61 ../../i18n/zh_CN/mail.ts \ 61 ../../i18n/zh_CN/mail.ts \
62 ../../i18n/zh_TW/mail.ts 62 ../../i18n/zh_TW/mail.ts
63 63
64 64
65 65
66include ( $(OPIEDIR)/include.pro ) 66include ( $(OPIEDIR)/include.pro )
diff --git a/noncore/unsupported/mail2/viewmail.h b/noncore/unsupported/mail2/viewmail.h
index efc2300..de36f7a 100644
--- a/noncore/unsupported/mail2/viewmail.h
+++ b/noncore/unsupported/mail2/viewmail.h
@@ -2,69 +2,70 @@
2#define VIEWMAIL_H 2#define VIEWMAIL_H
3 3
4#include <qlistview.h> 4#include <qlistview.h>
5 5
6#include "viewmailbase.h" 6#include "viewmailbase.h"
7#include "imapresponse.h" 7#include "imapresponse.h"
8#include "mailtable.h" 8#include "mailtable.h"
9 9
10class AttachItemStore 10class AttachItemStore
11{ 11{
12public: 12public:
13 void setMimeType(QString mimeType) { _mimeType = mimeType; } 13 void setMimeType(QString mimeType) { _mimeType = mimeType; }
14 QString mimeType() { return _mimeType; } 14 QString mimeType() { return _mimeType; }
15 void setFileName(QString fileName) { _fileName = fileName; } 15 void setFileName(QString fileName) { _fileName = fileName; }
16 QString fileName() { return _fileName; } 16 QString fileName() { return _fileName; }
17 void setDescription(QString description) { _description = description; } 17 void setDescription(QString description) { _description = description; }
18 QString description() { return _description; } 18 QString description() { return _description; }
19 void setPartNum(QString partNum) { _partNum = partNum; } 19 void setPartNum(QString partNum) { _partNum = partNum; }
20 QString partNum() { return _partNum; } 20 QString partNum() { return _partNum; }
21 21
22private: 22private:
23 QString _mimeType, _fileName, _description, _partNum; 23 QString _mimeType, _fileName, _description, _partNum;
24 24
25}; 25};
26 26
27class AttachItem : public QListViewItem 27class AttachItem : public QListViewItem
28{ 28{
29public: 29public:
30 AttachItem(QListView *parent, AttachItemStore &attachment); 30 AttachItem(QListView *parent, AttachItemStore &attachment);
31 AttachItem(QListViewItem *parent, AttachItemStore &attachment); 31 AttachItem(QListViewItem *parent, AttachItemStore &attachment);
32 32
33 AttachItemStore attachItemStore() { return _attachItemStore; } 33 AttachItemStore attachItemStore() { return _attachItemStore; }
34 34
35private: 35private:
36 AttachItemStore _attachItemStore; 36 AttachItemStore _attachItemStore;
37 37
38}; 38};
39 39
40class ViewMail : public ViewMailBase 40class ViewMail : public ViewMailBase
41{ 41{
42 Q_OBJECT 42 Q_OBJECT
43 43
44public: 44public:
45 ViewMail(IMAPResponseFETCH &mail, IMAPHandler *handler, QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal); 45 ViewMail(IMAPResponseFETCH &mail, IMAPHandler *handler, QWidget *parent = 0, const char *name = 0, WFlags fl = Qt::WType_Modal);
46 ~ViewMail(); 46 ~ViewMail();
47 47
48 void hide(); 48 void hide();
49 void exec(); 49 void exec();
50 static QString appName() { return QString::fromLatin1("mail"); }
50 51
51protected: 52protected:
52 //void fillList(IMAPResponseBODYSTRUCTURE &structure); 53 //void fillList(IMAPResponseBODYSTRUCTURE &structure);
53 QString deHtml(const QString &string); 54 QString deHtml(const QString &string);
54 55
55protected slots: 56protected slots:
56 void slotReply(); 57 void slotReply();
57 void slotForward(); 58 void slotForward();
58 59
59 void slotIMAPUid(IMAPResponse &response); 60 void slotIMAPUid(IMAPResponse &response);
60 61
61private: 62private:
62 bool _inLoop; 63 bool _inLoop;
63 IMAPResponseFETCH _mail; 64 IMAPResponseFETCH _mail;
64 IMAPHandler *_handler; 65 IMAPHandler *_handler;
65 QString _mailHtml; 66 QString _mailHtml;
66 bool _gotBody; 67 bool _gotBody;
67 68
68}; 69};
69 70
70#endif 71#endif