Diffstat (limited to 'core/applets/cardmon/cardmon.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/cardmon/cardmon.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/applets/cardmon/cardmon.h b/core/applets/cardmon/cardmon.h index b02c8b1..400f5ae 100644 --- a/core/applets/cardmon/cardmon.h +++ b/core/applets/cardmon/cardmon.h | |||
@@ -31,8 +31,14 @@ namespace Opie { | |||
31 | 31 | ||
32 | class CardMonitor : public QWidget { | 32 | class CardMonitor : public QWidget { |
33 | Q_OBJECT | 33 | Q_OBJECT |
34 | public: | 34 | public: |
35 | enum { | ||
36 | PCMCIA_Socket1, | ||
37 | PCMCIA_Socket2, | ||
38 | MMC_Socket | ||
39 | }; | ||
40 | |||
35 | CardMonitor( QWidget *parent = 0 ); | 41 | CardMonitor( QWidget *parent = 0 ); |
36 | ~CardMonitor(); | 42 | ~CardMonitor(); |
37 | bool getStatusPcmcia( int showPopUp = FALSE ); | 43 | bool getStatusPcmcia( int showPopUp = FALSE ); |
38 | bool getStatusSd( int showPopUp = FALSE ); | 44 | bool getStatusSd( int showPopUp = FALSE ); |
@@ -46,9 +52,9 @@ protected: | |||
46 | void paintEvent( QPaintEvent* ); | 52 | void paintEvent( QPaintEvent* ); |
47 | void mousePressEvent( QMouseEvent * ); | 53 | void mousePressEvent( QMouseEvent * ); |
48 | 54 | ||
49 | private: | 55 | private: |
50 | void execCommand( const QString &command ); | 56 | void execCommand( const QStringList &command ); |
51 | int m_commandOrig; | 57 | int m_commandOrig; |
52 | QPixmap pm; | 58 | QPixmap pm; |
53 | // pcmcia socket 0 | 59 | // pcmcia socket 0 |
54 | bool cardInPcmcia0; | 60 | bool cardInPcmcia0; |