blob: 797292906bd5f2987615a2de6fac5696cc5246c7 (
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
33
34
35
36
37
38
|
#ifndef BEND_H
#define BEND_H
#include <qbutton.h>
class Config;
class QTimer;
class IMAPResponse;
class BenD : public QButton
{
Q_OBJECT
public:
BenD(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
protected:
void drawButton(QPainter *);
void drawButtonText(QPainter *);
void gotNewMail();
QString rot13(const QString &input);
protected slots:
void slotCheck();
void slotClicked();
void slotSoundOff();
void slotIMAPStatus(IMAPResponse &response);
private:
Config *_config;
QTimer *_intervalTimer;
int _intervalMs;
bool _zaurus, _ledOn;
};
#endif
|