Diffstat (limited to 'noncore/unsupported/mailit/emailclient.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/mailit/emailclient.h | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/noncore/unsupported/mailit/emailclient.h b/noncore/unsupported/mailit/emailclient.h index 80457f9..0890dcf 100644 --- a/noncore/unsupported/mailit/emailclient.h +++ b/noncore/unsupported/mailit/emailclient.h @@ -34,2 +34,3 @@ #include <qtooltip.h> +#include <qtoolbutton.h> #include <qimage.h> @@ -42,2 +43,3 @@ #include <opie/otabwidget.h> +#include <qtimer.h> @@ -71,2 +73,5 @@ public: +protected: + void timerEvent(QTimerEvent*); + signals: @@ -76,2 +81,9 @@ signals: void newCaption(const QString &); + void replyRequested(Email&, bool&); + void forwardRequested(Email&); + void removeItem(EmailListItem*, bool&); + /*void reply(Email&); + void replyAll(Email&); + void remove(Email&); + void forward(Email&);*/ @@ -84,2 +96,3 @@ public slots: void mailSent(); + void deleteItem(); void getNewMail(); @@ -90,2 +103,4 @@ public slots: void outboxItemSelected(); + void inboxItemPressed(); + void inboxItemReleased(); void mailArrived(const Email &mail, bool fromDisk); @@ -102,2 +117,6 @@ public slots: void moveMailFront(Email *mailPtr); +/* void reply(); + void replyAll(); + void forward(); + void remove();*/ @@ -109,4 +128,4 @@ private: void saveSettings(); - -private: + Email* getCurrentMail(); + int timerID; Config *mailconf; @@ -130,3 +149,3 @@ private: QLabel *status1Label, *status2Label; - QAction *getMailButton; + QToolButton *getMailButton; QAction *sendMailButton; @@ -134,2 +153,4 @@ private: QAction *cancelButton; + QAction *deleteButton; + //QToolButton *setAccountButton; @@ -139,2 +160,3 @@ private: QPopupMenu *deleteAccountMenu; + QPopupMenu *setAccountMenu; |