summaryrefslogtreecommitdiffabout
path: root/kmicromail/mainwindow.h
Unidiff
Diffstat (limited to 'kmicromail/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/mainwindow.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/kmicromail/mainwindow.h b/kmicromail/mainwindow.h
new file mode 100644
index 0000000..0cb252c
--- a/dev/null
+++ b/kmicromail/mainwindow.h
@@ -0,0 +1,56 @@
1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H
3
4#include <qmainwindow.h>
5#include <qlistview.h>
6#include <qaction.h>
7
8#include <qtoolbar.h>
9#include <qmenubar.h>
10
11#include "accountview.h"
12#include "statuswidget.h"
13
14#include <libmailwrapper/mailtypes.h>
15#include <opie2/osmartpointer.h>
16
17class RecMail;
18
19class MainWindow : public QMainWindow
20{
21 Q_OBJECT
22
23public:
24 MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 );
25 virtual ~MainWindow();
26
27public slots:
28 virtual void slotAdjustColumns();
29 virtual void appMessage(const QCString &msg, const QByteArray &data);
30 virtual void slotComposeMail();
31
32protected slots:
33 virtual void slotSendQueued();
34 virtual void slotEditAccounts();
35 virtual void slotShowFolders( bool show );
36 virtual void refreshMailView(const QValueList<RecMailP>&);
37 virtual void displayMail();
38 virtual void slotDeleteMail();
39 virtual void mailHold(int, QListViewItem *,const QPoint&,int);
40 virtual void slotAdjustLayout();
41 virtual void slotEditSettings();
42 virtual void mailLeftClicked( QListViewItem * );
43
44protected:
45 QToolBar *toolBar;
46 StatusWidget *statusWidget;
47 QMenuBar *menuBar;
48 QPopupMenu *mailMenu, *settingsMenu;
49 QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails,
50 *editSettings, *editAccounts, *syncFolders;
51 AccountView *folderView;
52 QListView *mailView;
53 //QBoxLayout *layout;
54};
55
56#endif