summaryrefslogtreecommitdiff
path: root/core/applets/cardmon/cardmon.h
authordavipt <davipt>2002-06-20 19:10:03 (UTC)
committer davipt <davipt>2002-06-20 19:10:03 (UTC)
commit8c55fec6394ca27aebf49692c643d71db32b7ebf (patch) (unidiff)
tree652f92eb31431ddae39fa6e7cb58e8f1e8b9d5af /core/applets/cardmon/cardmon.h
parente3b199e4b3ad71cb8d046e33e792402250a8faec (diff)
downloadopie-8c55fec6394ca27aebf49692c643d71db32b7ebf.zip
opie-8c55fec6394ca27aebf49692c643d71db32b7ebf.tar.gz
opie-8c55fec6394ca27aebf49692c643d71db32b7ebf.tar.bz2
Fix cardmon applet visibility (now visible is some card is plugged) and added
popup on succesfull ejection or insertion of a card.
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
@@ -24,14 +24,14 @@
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* );
@@ -42,11 +42,12 @@ private:
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