author | zautrix <zautrix> | 2005-08-22 18:52:57 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-08-22 18:52:57 (UTC) |
commit | cb425b4c2d027d49f964368e94a52d3ba5e6aa31 (patch) (unidiff) | |
tree | b867e4c565aab6965059306bac24dd3ab5ca3750 /kmicromail/accountview.h | |
parent | e011ace92e07174effca53b7dde20b9a5b695af0 (diff) | |
download | kdepimpi-cb425b4c2d027d49f964368e94a52d3ba5e6aa31.zip kdepimpi-cb425b4c2d027d49f964368e94a52d3ba5e6aa31.tar.gz kdepimpi-cb425b4c2d027d49f964368e94a52d3ba5e6aa31.tar.bz2 |
ompi fixes
-rw-r--r-- | kmicromail/accountview.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kmicromail/accountview.h b/kmicromail/accountview.h index e403cb8..33f3479 100644 --- a/kmicromail/accountview.h +++ b/kmicromail/accountview.h | |||
@@ -1,47 +1,48 @@ | |||
1 | #ifndef ACCOUNTVIEW_H | 1 | #ifndef ACCOUNTVIEW_H |
2 | #define ACCOUNTVIEW_H | 2 | #define ACCOUNTVIEW_H |
3 | 3 | ||
4 | #include <qlistview.h> | 4 | #include <qlistview.h> |
5 | #include <qlist.h> | 5 | #include <qlist.h> |
6 | #include <opie2/osmartpointer.h> | 6 | #include <opie2/osmartpointer.h> |
7 | #include <libmailwrapper/mailtypes.h> | 7 | #include <libmailwrapper/mailtypes.h> |
8 | 8 | ||
9 | class Selectstore; | 9 | class Selectstore; |
10 | class Folder; | 10 | class Folder; |
11 | class AbstractMail; | 11 | class AbstractMail; |
12 | class Account; | 12 | class Account; |
13 | class IMAPviewItem; | 13 | class IMAPviewItem; |
14 | class MHviewItem; | 14 | class MHviewItem; |
15 | 15 | ||
16 | class AccountView : public QListView | 16 | class AccountView : public QListView |
17 | { | 17 | { |
18 | Q_OBJECT | 18 | Q_OBJECT |
19 | 19 | ||
20 | public: | 20 | public: |
21 | AccountView( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); | 21 | AccountView( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); |
22 | virtual ~AccountView(); | 22 | virtual ~AccountView(); |
23 | virtual void populate( QList<Account> list ); | 23 | virtual void populate( QList<Account> list ); |
24 | virtual RecBodyP fetchBody(const Opie::Core::OSmartPointer<RecMail>&aMail); | 24 | virtual RecBodyP fetchBody(const Opie::Core::OSmartPointer<RecMail>&aMail); |
25 | virtual void downloadMails(const Opie::Core::OSmartPointer<Folder>&fromFolder,AbstractMail*fromWrapper); | 25 | virtual void downloadMails(const Opie::Core::OSmartPointer<Folder>&fromFolder,AbstractMail*fromWrapper); |
26 | virtual void downloadMailsInbox(const Opie::Core::OSmartPointer<Folder>&fromFolder,AbstractMail*fromWrapper); | 26 | virtual void downloadMailsInbox(const Opie::Core::OSmartPointer<Folder>&fromFolder,AbstractMail*fromWrapper); |
27 | virtual bool currentisDraft(); | 27 | virtual bool currentisDraft(); |
28 | QValueList<MHviewItem*> allAccounts() { return mhAccounts;} | 28 | QValueList<MHviewItem*> allAccounts() { return mhAccounts;} |
29 | public slots: | 29 | public slots: |
30 | virtual void refreshAll(); | 30 | virtual void refreshAll(); |
31 | virtual void refresh(QListViewItem *item); | 31 | virtual void refresh(QListViewItem *item); |
32 | virtual void refreshCurrent(); | 32 | virtual void refreshCurrent(); |
33 | virtual void refreshCurrentSelected(); | ||
33 | virtual void refreshOutgoing(); | 34 | virtual void refreshOutgoing(); |
34 | virtual void slotHold(int, QListViewItem *,const QPoint&,int); | 35 | virtual void slotHold(int, QListViewItem *,const QPoint&,int); |
35 | virtual void slotContextMenu(int id); | 36 | virtual void slotContextMenu(int id); |
36 | void setupFolderselect(Selectstore*sels); | 37 | void setupFolderselect(Selectstore*sels); |
37 | 38 | ||
38 | signals: | 39 | signals: |
39 | void refreshMailview(const QValueList<RecMailP>& ); | 40 | void refreshMailview(const QValueList<RecMailP>& ); |
40 | 41 | ||
41 | protected: | 42 | protected: |
42 | QListViewItem* m_currentItem; | 43 | QListViewItem* m_currentItem; |
43 | QValueList<IMAPviewItem*> imapAccounts; | 44 | QValueList<IMAPviewItem*> imapAccounts; |
44 | QValueList<MHviewItem*> mhAccounts; | 45 | QValueList<MHviewItem*> mhAccounts; |
45 | }; | 46 | }; |
46 | 47 | ||
47 | #endif | 48 | #endif |