Diffstat (limited to 'noncore/net/mail/taskbarapplet/mailapplet.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/taskbarapplet/mailapplet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/taskbarapplet/mailapplet.h b/noncore/net/mail/taskbarapplet/mailapplet.h index f28f274..f46bf19 100644 --- a/noncore/net/mail/taskbarapplet/mailapplet.h +++ b/noncore/net/mail/taskbarapplet/mailapplet.h | |||
@@ -1,39 +1,39 @@ | |||
1 | #ifndef MAILAPPLET_H | 1 | #ifndef MAILAPPLET_H |
2 | #define MAILAPPLET_H | 2 | #define MAILAPPLET_H |
3 | 3 | ||
4 | #include <qbutton.h> | 4 | #include <qbutton.h> |
5 | #include <qlabel.h> | 5 | #include <qlabel.h> |
6 | 6 | ||
7 | #include <libmailwrapper/statusmail.h> | 7 | #include <libmailwrapper/statusmail.h> |
8 | 8 | ||
9 | class Config; | 9 | class Config; |
10 | class QTimer; | 10 | class QTimer; |
11 | 11 | ||
12 | class MailApplet : public QLabel { | 12 | class MailApplet : public QLabel { |
13 | 13 | ||
14 | Q_OBJECT | 14 | Q_OBJECT |
15 | 15 | ||
16 | public: | 16 | public: |
17 | MailApplet( QWidget *parent = 0 ); | 17 | MailApplet( QWidget *parent = 0 ); |
18 | ~MailApplet(); | 18 | ~MailApplet(); |
19 | 19 | ||
20 | protected: | 20 | protected: |
21 | void gotNewMail(); | 21 | void gotNewMail(); |
22 | void mouseReleaseEvent( QMouseEvent* ); | 22 | void mouseReleaseEvent( QMouseEvent* ); |
23 | void paintEvent( QPaintEvent* ); | 23 | void paintEvent( QPaintEvent* ); |
24 | static void ledOnOff(bool); | ||
24 | 25 | ||
25 | protected slots: | 26 | protected slots: |
26 | void startup(); | 27 | void startup(); |
27 | void slotCheck(); | 28 | void slotCheck(); |
28 | void slotClicked(); | 29 | void slotClicked(); |
29 | private: | 30 | private: |
30 | Config *m_config; | ||
31 | QTimer *m_intervalTimer; | 31 | QTimer *m_intervalTimer; |
32 | int m_intervalMs; | 32 | int m_intervalMs; |
33 | StatusMail* m_statusMail; | 33 | StatusMail* m_statusMail; |
34 | int m_newMails; | 34 | int m_newMails; |
35 | 35 | ||
36 | }; | 36 | }; |
37 | 37 | ||
38 | #endif | 38 | #endif |
39 | 39 | ||