summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/mainwindow.h b/noncore/net/mail/mainwindow.h
index 6c1cda0..74bce5a 100644
--- a/noncore/net/mail/mainwindow.h
+++ b/noncore/net/mail/mainwindow.h
@@ -1,42 +1,43 @@
1#ifndef MAINWINDOW_H 1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H 2#define MAINWINDOW_H
3 3
4#include <qmainwindow.h> 4#include <qmainwindow.h>
5#include <qlistview.h> 5#include <qlistview.h>
6#include <qaction.h> 6#include <qaction.h>
7 7
8#include <qtoolbar.h> 8#include <qtoolbar.h>
9#include <qmenubar.h> 9#include <qmenubar.h>
10 10
11#include "accountview.h" 11#include "accountview.h"
12 12
13class RecMail; 13class RecMail;
14 14
15class MainWindow : public QMainWindow 15class MainWindow : public QMainWindow
16{ 16{
17 Q_OBJECT 17 Q_OBJECT
18 18
19public: 19public:
20 MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); 20 MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 );
21 static QString appName() { return QString::fromLatin1("opiemail"); }
21 22
22public slots: 23public slots:
23 void slotAdjustColumns(); 24 void slotAdjustColumns();
24 25
25protected slots: 26protected slots:
26 virtual void slotShowFolders( bool show ); 27 virtual void slotShowFolders( bool show );
27 virtual void refreshMailView(QList<RecMail>*); 28 virtual void refreshMailView(QList<RecMail>*);
28 virtual void displayMail(QListViewItem*); 29 virtual void displayMail(QListViewItem*);
29 void slotAdjustLayout(); 30 void slotAdjustLayout();
30 31
31protected: 32protected:
32 QToolBar *toolBar; 33 QToolBar *toolBar;
33 QMenuBar *menuBar; 34 QMenuBar *menuBar;
34 QPopupMenu *mailMenu, *settingsMenu; 35 QPopupMenu *mailMenu, *settingsMenu;
35 QAction *composeMail, *sendQueued, *showFolders, *searchMails, 36 QAction *composeMail, *sendQueued, *showFolders, *searchMails,
36 *editSettings, *editAccounts, *syncFolders; 37 *editSettings, *editAccounts, *syncFolders;
37 AccountView *folderView; 38 AccountView *folderView;
38 QListView *mailView; 39 QListView *mailView;
39 QBoxLayout *layout; 40 QBoxLayout *layout;
40}; 41};
41 42
42#endif 43#endif