author | mickeyl <mickeyl> | 2005-06-21 14:11:55 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-06-21 14:11:55 (UTC) |
commit | ae85d18a1f8a63323ad47631724516f3aa355a75 (patch) (unidiff) | |
tree | 9238ab79beabca8f035714f3e339513c06685d2a /noncore/applets/pcmcia/pcmcia.h | |
parent | 65ea54f43ee7dcbd95ffb474c8dfbb8b076d43e5 (diff) | |
download | opie-ae85d18a1f8a63323ad47631724516f3aa355a75.zip opie-ae85d18a1f8a63323ad47631724516f3aa355a75.tar.gz opie-ae85d18a1f8a63323ad47631724516f3aa355a75.tar.bz2 |
- prepare methods to execute the preferred actions on insertion and suspend
- intercept QPE/System channel to listen for 'resumeFromSuspend()'
Diffstat (limited to 'noncore/applets/pcmcia/pcmcia.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/pcmcia/pcmcia.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/applets/pcmcia/pcmcia.h b/noncore/applets/pcmcia/pcmcia.h index 94203d3..6567cd7 100644 --- a/noncore/applets/pcmcia/pcmcia.h +++ b/noncore/applets/pcmcia/pcmcia.h | |||
@@ -45,7 +45,8 @@ class PcmciaManager : public QWidget | |||
45 | static int position(); | 45 | static int position(); |
46 | 46 | ||
47 | private slots: | 47 | private slots: |
48 | void cardMessage( const QCString& msg, const QByteArray& ); | 48 | void handleSystemChannel( const QCString&, const QByteArray& ); |
49 | void cardMessage( const QCString&, const QByteArray& ); | ||
49 | void userCardAction( int action ); | 50 | void userCardAction( int action ); |
50 | void popupTimeout(); | 51 | void popupTimeout(); |
51 | 52 | ||
@@ -56,6 +57,8 @@ class PcmciaManager : public QWidget | |||
56 | private: | 57 | private: |
57 | bool configure( Opie::Core::OPcmciaSocket*, QString&, QString&, QString&, QString& ); | 58 | bool configure( Opie::Core::OPcmciaSocket*, QString&, QString&, QString&, QString& ); |
58 | void execCommand( const QStringList &command ); | 59 | void execCommand( const QStringList &command ); |
60 | void executeInsertAction( Opie::Core::OPcmciaSocket* ); | ||
61 | void executeResumeAction( Opie::Core::OPcmciaSocket* ); | ||
59 | void popUp(QString message, QString icon = QString::null ); | 62 | void popUp(QString message, QString icon = QString::null ); |
60 | 63 | ||
61 | private: | 64 | private: |