From 2ebf36bb85cb9a38348286b31492adf65fa792e3 Mon Sep 17 00:00:00 2001 From: harlekin Date: Sun, 04 Jan 2004 12:14:32 +0000 Subject: beginning of the mail taskbar applet --- (limited to 'noncore/net/mail/taskbarapplet/mailapplet.h') 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 + +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 + -- cgit v0.9.0.2