author | conber <conber> | 2002-06-15 09:46:14 (UTC) |
---|---|---|
committer | conber <conber> | 2002-06-15 09:46:14 (UTC) |
commit | 7f2eef29708380844922f34f59ba4e9beefbf7c3 (patch) (unidiff) | |
tree | f57125fbaabddecc35d6677f1b9e48a4594165d5 /noncore/unsupported/mail2/bend/bend.h | |
parent | 0acbdd392814589df303b6e50c79d9822e3db27a (diff) | |
download | opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.zip opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.tar.gz opie-7f2eef29708380844922f34f59ba4e9beefbf7c3.tar.bz2 |
initial checkin
Diffstat (limited to 'noncore/unsupported/mail2/bend/bend.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/bend/bend.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/bend/bend.h b/noncore/unsupported/mail2/bend/bend.h new file mode 100644 index 0000000..cf50bc5 --- a/dev/null +++ b/noncore/unsupported/mail2/bend/bend.h | |||
@@ -0,0 +1,38 @@ | |||
1 | #ifndef BEND_H | ||
2 | #define BEND_H | ||
3 | |||
4 | #include <qbutton.h> | ||
5 | |||
6 | class Config; | ||
7 | class QTimer; | ||
8 | class IMAPResponse; | ||
9 | |||
10 | class BenD : public QButton | ||
11 | { | ||
12 | Q_OBJECT | ||
13 | |||
14 | public: | ||
15 | BenD(QWidget *parent = 0, const char *name = 0, WFlags fl = 0); | ||
16 | |||
17 | protected: | ||
18 | void drawButton(QPainter *); | ||
19 | void drawButtonText(QPainter *); | ||
20 | void gotNewMail(); | ||
21 | QString rot13(const QString &input); | ||
22 | |||
23 | protected slots: | ||
24 | void slotCheck(); | ||
25 | void slotClicked(); | ||
26 | void slotSoundOff(); | ||
27 | void slotIMAPStatus(IMAPResponse &response); | ||
28 | |||
29 | private: | ||
30 | Config *_config; | ||
31 | QTimer *_intervalTimer; | ||
32 | int _intervalMs; | ||
33 | bool _ledOn; | ||
34 | |||
35 | }; | ||
36 | |||
37 | #endif | ||
38 | |||