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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/applets/cardmon/cardmon.h b/core/applets/cardmon/cardmon.h
index 2a90c90..f9e3819 100644
--- a/core/applets/cardmon/cardmon.h
+++ b/core/applets/cardmon/cardmon.h
@@ -18,35 +18,36 @@
18 18
19#ifndef CARDMON_H 19#ifndef CARDMON_H
20#define CARDMON_H 20#define CARDMON_H
21 21
22#include <qwidget.h> 22#include <qwidget.h>
23#include <qpixmap.h> 23#include <qpixmap.h>
24 24
25class CardMonitor : public QWidget { 25class CardMonitor : public QWidget {
26 Q_OBJECT 26 Q_OBJECT
27public: 27public:
28 CardMonitor( QWidget *parent = 0 ); 28 CardMonitor( QWidget *parent = 0 );
29 ~CardMonitor(); 29 ~CardMonitor();
30 bool getStatusPcmcia( void ); 30 bool getStatusPcmcia( int showPopUp = FALSE );
31 bool getStatusSd( void ); 31 bool getStatusSd( int showPopUp = FALSE );
32 32
33private slots: 33private slots:
34 void cardMessage( const QCString &msg, const QByteArray & ); 34 void cardMessage( const QCString &msg, const QByteArray & );
35 35
36protected: 36protected:
37 void paintEvent( QPaintEvent* ); 37 void paintEvent( QPaintEvent* );
38 void mousePressEvent( QMouseEvent * ); 38 void mousePressEvent( QMouseEvent * );
39private: 39private:
40 QPixmap pm; 40 QPixmap pm;
41 // pcmcia socket 0 41 // pcmcia socket 0
42 bool cardInPcmcia0; 42 bool cardInPcmcia0;
43 QString cardInPcmcia0Name; 43 QString cardInPcmcia0Name;
44 // pcmcia socket 1 44 // pcmcia socket 1
45 bool cardInPcmcia1; 45 bool cardInPcmcia1;
46 QString cardInPcmcia1Name; 46 QString cardInPcmcia1Name;
47 bool cardInSd; 47 bool cardInSd;
48 void iconShow();
48 49
49}; 50};
50 51
51#endif 52#endif
52 53