author | alwin <alwin> | 2003-12-13 15:44:49 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-13 15:44:49 (UTC) |
commit | d161cb46c21ae6a9e9f74dc60fb6ac6ac8e62f1b (patch) (unidiff) | |
tree | 39420bfed12c332914d46d8e9f1ddd2df5037b3f | |
parent | e1dc235a829398482dddc66b931d6eec840382ec (diff) | |
download | opie-d161cb46c21ae6a9e9f74dc60fb6ac6ac8e62f1b.zip opie-d161cb46c21ae6a9e9f74dc60fb6ac6ac8e62f1b.tar.gz opie-d161cb46c21ae6a9e9f74dc60fb6ac6ac8e62f1b.tar.bz2 |
appName for mainwindow
-rw-r--r-- | noncore/net/mail/mainwindow.h | 1 |
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 | ||
13 | class RecMail; | 13 | class RecMail; |
14 | 14 | ||
15 | class MainWindow : public QMainWindow | 15 | class MainWindow : public QMainWindow |
16 | { | 16 | { |
17 | Q_OBJECT | 17 | Q_OBJECT |
18 | 18 | ||
19 | public: | 19 | public: |
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 | ||
22 | public slots: | 23 | public slots: |
23 | void slotAdjustColumns(); | 24 | void slotAdjustColumns(); |
24 | 25 | ||
25 | protected slots: | 26 | protected 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 | ||
31 | protected: | 32 | protected: |
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 |