Diffstat (limited to 'noncore/applets/pcmcia/pcmcia.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/pcmcia/pcmcia.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/applets/pcmcia/pcmcia.h b/noncore/applets/pcmcia/pcmcia.h index 5c20433..ed86579 100644 --- a/noncore/applets/pcmcia/pcmcia.h +++ b/noncore/applets/pcmcia/pcmcia.h | |||
@@ -31,29 +31,33 @@ | |||
31 | #define PCMCIA_H | 31 | #define PCMCIA_H |
32 | 32 | ||
33 | #include <qwidget.h> | 33 | #include <qwidget.h> |
34 | #include <qpixmap.h> | 34 | #include <qpixmap.h> |
35 | #include <qpopupmenu.h> | 35 | #include <qpopupmenu.h> |
36 | 36 | ||
37 | namespace Opie { namespace Core { class OPcmciaSocket; } }; | ||
38 | |||
37 | class PcmciaManager : public QWidget | 39 | class PcmciaManager : public QWidget |
38 | { | 40 | { |
39 | Q_OBJECT | 41 | Q_OBJECT |
40 | public: | 42 | public: |
41 | PcmciaManager( QWidget *parent = 0 ); | 43 | PcmciaManager( QWidget *parent = 0 ); |
42 | ~PcmciaManager(); | 44 | ~PcmciaManager(); |
43 | static int position(); | 45 | static int position(); |
44 | 46 | ||
45 | private slots: | 47 | private slots: |
46 | void cardMessage( const QCString& msg, const QByteArray& ); | 48 | void cardMessage( const QCString& msg, const QByteArray& ); |
49 | void userCardAction( int action ); | ||
47 | void popupTimeout(); | 50 | void popupTimeout(); |
48 | 51 | ||
49 | protected: | 52 | protected: |
50 | void paintEvent( QPaintEvent* ); | 53 | void paintEvent( QPaintEvent* ); |
51 | void mousePressEvent( QMouseEvent * ); | 54 | void mousePressEvent( QMouseEvent * ); |
52 | 55 | ||
53 | private: | 56 | private: |
57 | void configure( Opie::Core::OPcmciaSocket* ); | ||
54 | void execCommand( const QStringList &command ); | 58 | void execCommand( const QStringList &command ); |
55 | void popUp(QString message, QString icon = QString::null ); | 59 | void popUp(QString message, QString icon = QString::null ); |
56 | 60 | ||
57 | private: | 61 | private: |
58 | int m_commandOrig; | 62 | int m_commandOrig; |
59 | QPixmap pm; | 63 | QPixmap pm; |