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