summaryrefslogtreecommitdiff
path: root/noncore/net/mail/taskbarapplet/mailapplet.h
authorharlekin <harlekin>2004-01-04 12:14:32 (UTC)
committer harlekin <harlekin>2004-01-04 12:14:32 (UTC)
commit2ebf36bb85cb9a38348286b31492adf65fa792e3 (patch) (side-by-side diff)
tree5b3e9b1a60721ffbe8a7f05326c6a4090d481b30 /noncore/net/mail/taskbarapplet/mailapplet.h
parent4b272adb6de68199b63f002d9e8e778d09742b72 (diff)
downloadopie-2ebf36bb85cb9a38348286b31492adf65fa792e3.zip
opie-2ebf36bb85cb9a38348286b31492adf65fa792e3.tar.gz
opie-2ebf36bb85cb9a38348286b31492adf65fa792e3.tar.bz2
beginning of the mail taskbar applet
Diffstat (limited to 'noncore/net/mail/taskbarapplet/mailapplet.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/taskbarapplet/mailapplet.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/noncore/net/mail/taskbarapplet/mailapplet.h b/noncore/net/mail/taskbarapplet/mailapplet.h
new file mode 100644
index 0000000..1c48b29
--- a/dev/null
+++ b/noncore/net/mail/taskbarapplet/mailapplet.h
@@ -0,0 +1,32 @@
+#ifndef MAILAPPLET_H
+#define MAILAPPLET_H
+
+#include <qbutton.h>
+
+class Config;
+class QTimer;
+
+class MailApplet : public QButton {
+
+ Q_OBJECT
+
+public:
+ MailApplet(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
+
+protected:
+ void drawButton(QPainter *);
+ void drawButtonText(QPainter *);
+ void gotNewMail();
+
+protected slots:
+ void slotCheck();
+ void slotClicked();
+private:
+ Config *m_config;
+ QTimer *m_intervalTimer;
+ int m_intervalMs;
+
+};
+
+#endif
+