summaryrefslogtreecommitdiff
path: root/noncore/net/mailit/mailitwindow.h
Unidiff
Diffstat (limited to 'noncore/net/mailit/mailitwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mailit/mailitwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mailit/mailitwindow.h b/noncore/net/mailit/mailitwindow.h
index e818d32..11e56b9 100644
--- a/noncore/net/mailit/mailitwindow.h
+++ b/noncore/net/mailit/mailitwindow.h
@@ -12,48 +12,49 @@
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#ifndef MailItWindow_H 20#ifndef MailItWindow_H
21#define MailItWindow_H 21#define MailItWindow_H
22 22
23#include <qmainwindow.h> 23#include <qmainwindow.h>
24#include <qwidgetstack.h> 24#include <qwidgetstack.h>
25#include <qevent.h> 25#include <qevent.h>
26//#include <qlayout.h> 26//#include <qlayout.h>
27#include "emailclient.h" 27#include "emailclient.h"
28#include "writemail.h" 28#include "writemail.h"
29#include "readmail.h" 29#include "readmail.h"
30#include "addresslist.h" 30#include "addresslist.h"
31 31
32class MailItWindow: public QMainWindow 32class MailItWindow: public QMainWindow
33{ 33{
34 Q_OBJECT 34 Q_OBJECT
35public: 35public:
36 static QString appName() { return QString::fromLatin1("mailit"); }
36 MailItWindow(QWidget *parent = 0, const char *name = 0, WFlags fl = 0); 37 MailItWindow(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
37 ~MailItWindow(); 38 ~MailItWindow();
38 39
39signals: 40signals:
40public slots: 41public slots:
41 void compose(); 42 void compose();
42 void composeReply(Email &, bool&); 43 void composeReply(Email &, bool&);
43 void composeForward(Email &); 44 void composeForward(Email &);
44 void showEmailClient(); 45 void showEmailClient();
45 void viewMail(QListView *, Email *mail); 46 void viewMail(QListView *, Email *mail);
46 void updateMailView(Email *mail); 47 void updateMailView(Email *mail);
47 void closeEvent(QCloseEvent *e); 48 void closeEvent(QCloseEvent *e);
48 void updateCaption(const QString &); 49 void updateCaption(const QString &);
49 void setDocument(const QString &); 50 void setDocument(const QString &);
50 /*void reply(Email&); 51 /*void reply(Email&);
51 void replyAll(Email&); 52 void replyAll(Email&);
52 void forward(Email&); 53 void forward(Email&);
53 void remove(Email&);*/ 54 void remove(Email&);*/
54 55
55private: 56private:
56 EmailClient *emailClient; 57 EmailClient *emailClient;
57 WriteMail *writeMail; 58 WriteMail *writeMail;
58 ReadMail *readMail; 59 ReadMail *readMail;
59 QWidgetStack *views; 60 QWidgetStack *views;