blob: 1c48b29e017830f95abcd826700461a35d7f373b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
|