Diffstat (limited to 'core/applets/cardmon/cardmon.h') (more/less context) (show 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 | |||
@@ -29,12 +29,18 @@ namespace Opie { | |||
29 | } | 29 | } |
30 | } | 30 | } |
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 ); |
39 | static int position(); | 45 | static int position(); |
40 | private slots: | 46 | private slots: |
@@ -44,13 +50,13 @@ private slots: | |||
44 | 50 | ||
45 | protected: | 51 | 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; |
55 | QString cardInPcmcia0Name; | 61 | QString cardInPcmcia0Name; |
56 | QString cardInPcmcia0Type; | 62 | QString cardInPcmcia0Type; |