Diffstat (limited to 'noncore/applets/pcmcia/configdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/pcmcia/configdialog.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/applets/pcmcia/configdialog.h b/noncore/applets/pcmcia/configdialog.h index 321180d..169dadb 100644 --- a/noncore/applets/pcmcia/configdialog.h +++ b/noncore/applets/pcmcia/configdialog.h @@ -35,4 +35,6 @@ namespace Opie { namespace Core { class OPcmciaSocket; }; }; +typedef QMap<QString,QString> StringMap; + class ConfigDialog : public ConfigDialogBase { @@ -41,5 +43,8 @@ class ConfigDialog : public ConfigDialogBase ConfigDialog( const Opie::Core::OPcmciaSocket* card, QWidget* parent ); ~ConfigDialog(); - static QString preferredAction( const Opie::Core::OPcmciaSocket* card ); + static QString preferredAction( const Opie::Core::OPcmciaSocket* card, const QString& type ); + static QString readConfigEntry( const Opie::Core::OPcmciaSocket* card, const QString& key, const QString& defaultValue ); + static void writeConfigEntry( const Opie::Core::OPcmciaSocket* card, const QString& key, const QString& value ); + StringMap bindEntries; }; |