From 7f2eef29708380844922f34f59ba4e9beefbf7c3 Mon Sep 17 00:00:00 2001 From: conber Date: Sat, 15 Jun 2002 09:46:14 +0000 Subject: initial checkin --- (limited to 'noncore/unsupported/mail2/bend/bend.h') 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 @@ +#ifndef BEND_H +#define BEND_H + +#include + +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 _ledOn; + +}; + +#endif + -- cgit v0.9.0.2