summaryrefslogtreecommitdiff
path: root/core/applets/cardmon/cardmon.h
Unidiff
Diffstat (limited to 'core/applets/cardmon/cardmon.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/cardmon/cardmon.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/applets/cardmon/cardmon.h b/core/applets/cardmon/cardmon.h
index f9e3819..34b8d95 100644
--- a/core/applets/cardmon/cardmon.h
+++ b/core/applets/cardmon/cardmon.h
@@ -21,6 +21,8 @@
21 21
22#include <qwidget.h> 22#include <qwidget.h>
23#include <qpixmap.h> 23#include <qpixmap.h>
24#include <qpopupmenu.h>
25#include <qtimer.h>
24 26
25class CardMonitor : public QWidget { 27class CardMonitor : public QWidget {
26 Q_OBJECT 28 Q_OBJECT
@@ -32,12 +34,15 @@ public:
32 34
33private slots: 35private slots:
34 void cardMessage( const QCString &msg, const QByteArray & ); 36 void cardMessage( const QCString &msg, const QByteArray & );
37 void popUpTimeout();
35 38
36protected: 39protected:
37 void paintEvent( QPaintEvent* ); 40 void paintEvent( QPaintEvent* );
38 void mousePressEvent( QMouseEvent * ); 41 void mousePressEvent( QMouseEvent * );
39private: 42private:
40 QPixmap pm; 43 QPixmap pm;
44 QPopupMenu *popUpMenu;
45 QTimer *popUpMenuTimer;
41 // pcmcia socket 0 46 // pcmcia socket 0
42 bool cardInPcmcia0; 47 bool cardInPcmcia0;
43 QString cardInPcmcia0Name; 48 QString cardInPcmcia0Name;
@@ -46,7 +51,7 @@ private:
46 QString cardInPcmcia1Name; 51 QString cardInPcmcia1Name;
47 bool cardInSd; 52 bool cardInSd;
48 void iconShow(); 53 void iconShow();
49 54 void popUp(QString message);
50}; 55};
51 56
52#endif 57#endif