summaryrefslogtreecommitdiffabout
path: root/kmicromail/opiemail.h
Unidiff
Diffstat (limited to 'kmicromail/opiemail.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/opiemail.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/kmicromail/opiemail.h b/kmicromail/opiemail.h
index bdd9058..ea64dc4 100644
--- a/kmicromail/opiemail.h
+++ b/kmicromail/opiemail.h
@@ -1,68 +1,71 @@
1// CHANGED 2004-09-31 Lutz Rogowski 1// CHANGED 2004-09-31 Lutz Rogowski
2#ifndef OPIEMAIL_H 2#ifndef OPIEMAIL_H
3#define OPIEMAIL_H 3#define OPIEMAIL_H
4 4
5#include "mainwindow.h" 5#include "mainwindow.h"
6#include <libmailwrapper/settings.h> 6#include <libmailwrapper/settings.h>
7 7
8#include <opie2/osmartpointer.h> 8#include <opie2/osmartpointer.h>
9#include <libmailwrapper/mailtypes.h> 9#include <libmailwrapper/mailtypes.h>
10#include <viewmail.h> 10#include <viewmail.h>
11#include <qstringlist.h> 11#include <qstringlist.h>
12//Added by qt3to4:
13#include <Q3CString>
14#include <Q3ValueList>
12 15
13class ComposeMail; 16class ComposeMail;
14 17
15class OpieMail : public MainWindow 18class OpieMail : public MainWindow
16{ 19{
17 Q_OBJECT 20 Q_OBJECT
18 21
19public: 22public:
20 OpieMail( QWidget *parent = 0, const char *name = 0 ); 23 OpieMail( QWidget *parent = 0, const char *name = 0 );
21 virtual ~OpieMail(); 24 virtual ~OpieMail();
22 static QString appName() { return QString::fromLatin1("kopiemail"); } 25 static QString appName() { return QString::fromLatin1("kopiemail"); }
23 26
24public slots: 27public slots:
25 virtual void slotwriteMail(const QString&name,const QString&email); 28 virtual void slotwriteMail(const QString&name,const QString&email);
26 virtual void slotwriteMail2(const QString&nameemail); 29 virtual void slotwriteMail2(const QString&nameemail);
27 virtual void slotComposeMail(); 30 virtual void slotComposeMail();
28 virtual void slotExtAppHandler(); 31 virtual void slotExtAppHandler();
29 virtual void appMessage(const QCString &msg, const QByteArray &data); 32 virtual void appMessage(const Q3CString &msg, const QByteArray &data);
30 virtual void message(const QCString &msg, const QByteArray &data); 33 virtual void message(const Q3CString &msg, const QByteArray &data);
31 void insertAttendees(const QString&, const QStringList& namelist, const QStringList& emaillist, const QStringList& uidlist); 34 void insertAttendees(const QString&, const QStringList& namelist, const QStringList& emaillist, const QStringList& uidlist);
32protected slots: 35protected slots:
33 virtual void deleteAndDisplayNextMail(ViewMail * vm); 36 virtual void deleteAndDisplayNextMail(ViewMail * vm);
34 virtual void displayNextMail(ViewMail * vm); 37 virtual void displayNextMail(ViewMail * vm);
35 virtual void slotSendQueued(); 38 virtual void slotSendQueued();
36 virtual void slotSearchMails(); 39 virtual void slotSearchMails();
37 virtual void slotEditSettings(); 40 virtual void slotEditSettings();
38 virtual void slotEditGlobalSettings(); 41 virtual void slotEditGlobalSettings();
39 virtual void slotEditAccounts(); 42 virtual void slotEditAccounts();
40 virtual void displayMail(); 43 virtual void displayMail();
41 virtual void replyMail(); 44 virtual void replyMail();
42 virtual void slotDeleteMail(); 45 virtual void slotDeleteMail();
43 virtual void slotGetMail(); 46 virtual void slotGetMail();
44 virtual void slotGetAllMail(); 47 virtual void slotGetAllMail();
45 virtual void slotDeleteAllMail(); 48 virtual void slotDeleteAllMail();
46 virtual void mailHold(int, QListViewItem *,const QPoint&,int); 49 virtual void mailHold(int, Q3ListViewItem *,const QPoint&,int);
47 virtual void slotShowFolders( bool show ); 50 virtual void slotShowFolders( bool show );
48 virtual void refreshMailView(const QValueList<RecMailP>&); 51 virtual void refreshMailView(const Q3ValueList<RecMailP>&);
49 virtual void mailLeftClicked( QListViewItem * ); 52 virtual void mailLeftClicked( Q3ListViewItem * );
50 virtual void slotMoveCopyMail(); 53 virtual void slotMoveCopyMail();
51 virtual void slotMoveCopyAllMail(); 54 virtual void slotMoveCopyAllMail();
52 virtual void reEditMail(); 55 virtual void reEditMail();
53 void clearSelection(); 56 void clearSelection();
54 void selectAll(); 57 void selectAll();
55 void slotDownloadMail(); 58 void slotDownloadMail();
56private: 59private:
57 ComposeMail* mCurrentComposer; 60 ComposeMail* mCurrentComposer;
58 void closeViewMail(ViewMail * vm); 61 void closeViewMail(ViewMail * vm);
59 QString mPendingEmail; 62 QString mPendingEmail;
60 QString mPendingName; 63 QString mPendingName;
61 QByteArray mPendingData; 64 QByteArray mPendingData;
62 QCString mPendingMessage; 65 Q3CString mPendingMessage;
63 Settings *settings; 66 Settings *settings;
64 QTextBrowser * tb; 67 Q3TextBrowser * tb;
65 68
66}; 69};
67 70
68#endif 71#endif