author | alwin <alwin> | 2004-03-12 19:24:38 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-12 19:24:38 (UTC) |
commit | b600871ce93553a116a66fd80acd6dfc1cc46829 (patch) (unidiff) | |
tree | b361346a49e09d9f0220993583bf183cf29bd974 /noncore/net/mail/mainwindow.h | |
parent | 874d5a34eca296263dcd1adf857aebe9981825a1 (diff) | |
download | opie-b600871ce93553a116a66fd80acd6dfc1cc46829.zip opie-b600871ce93553a116a66fd80acd6dfc1cc46829.tar.gz opie-b600871ce93553a116a66fd80acd6dfc1cc46829.tar.bz2 |
some more smart-pointers
some bugfixes
some renaming of internals
Diffstat (limited to 'noncore/net/mail/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/net/mail/mainwindow.h b/noncore/net/mail/mainwindow.h index 1ba6299..8d004c6 100644 --- a/noncore/net/mail/mainwindow.h +++ b/noncore/net/mail/mainwindow.h | |||
@@ -11,6 +11,9 @@ | |||
11 | #include "accountview.h" | 11 | #include "accountview.h" |
12 | #include "statuswidget.h" | 12 | #include "statuswidget.h" |
13 | 13 | ||
14 | #include <libmailwrapper/mailtypes.h> | ||
15 | #include <opie2/osmartpointer.h> | ||
16 | |||
14 | class RecMail; | 17 | class RecMail; |
15 | 18 | ||
16 | class MainWindow : public QMainWindow | 19 | class MainWindow : public QMainWindow |
@@ -25,25 +28,25 @@ public slots: | |||
25 | virtual void slotAdjustColumns(); | 28 | virtual void slotAdjustColumns(); |
26 | virtual void appMessage(const QCString &msg, const QByteArray &data); | 29 | virtual void appMessage(const QCString &msg, const QByteArray &data); |
27 | virtual void slotComposeMail(); | 30 | virtual void slotComposeMail(); |
28 | 31 | ||
29 | protected slots: | 32 | protected slots: |
30 | virtual void slotSendQueued(); | 33 | virtual void slotSendQueued(); |
31 | virtual void slotEditAccounts(); | 34 | virtual void slotEditAccounts(); |
32 | virtual void slotShowFolders( bool show ); | 35 | virtual void slotShowFolders( bool show ); |
33 | virtual void refreshMailView(QList<RecMail>*); | 36 | virtual void refreshMailView(const QValueList<RecMailP>&); |
34 | virtual void displayMail(); | 37 | virtual void displayMail(); |
35 | virtual void slotDeleteMail(); | 38 | virtual void slotDeleteMail(); |
36 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); | 39 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); |
37 | virtual void slotAdjustLayout(); | 40 | virtual void slotAdjustLayout(); |
38 | virtual void slotEditSettings(); | 41 | virtual void slotEditSettings(); |
39 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); | 42 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); |
40 | 43 | ||
41 | protected: | 44 | protected: |
42 | QToolBar *toolBar; | 45 | QToolBar *toolBar; |
43 | StatusWidget *statusWidget; | 46 | StatusWidget *statusWidget; |
44 | QMenuBar *menuBar; | 47 | QMenuBar *menuBar; |
45 | QPopupMenu *mailMenu, *settingsMenu; | 48 | QPopupMenu *mailMenu, *settingsMenu; |
46 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, | 49 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, |
47 | *editSettings, *editAccounts, *syncFolders; | 50 | *editSettings, *editAccounts, *syncFolders; |
48 | AccountView *folderView; | 51 | AccountView *folderView; |
49 | QListView *mailView; | 52 | QListView *mailView; |