author | mickeyl <mickeyl> | 2003-03-31 14:30:17 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-31 14:30:17 (UTC) |
commit | 13e8e8cbaede72948d3901a1a903eba43854d770 (patch) (unidiff) | |
tree | 672679ac87efdfecd4755f712cfd11c2d2abad43 /noncore/net/wellenreiter/gui/configwindow.h | |
parent | e609b9726786efe7cd5be0cd6d8d9f4d91703da5 (diff) | |
download | opie-13e8e8cbaede72948d3901a1a903eba43854d770.zip opie-13e8e8cbaede72948d3901a1a903eba43854d770.tar.gz opie-13e8e8cbaede72948d3901a1a903eba43854d770.tar.bz2 |
- initial attempt to autodetect driver
- add possibility to play sounds when receiving beacon and/or found a new network
Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.h b/noncore/net/wellenreiter/gui/configwindow.h index c627901..5fd0327 100644 --- a/noncore/net/wellenreiter/gui/configwindow.h +++ b/noncore/net/wellenreiter/gui/configwindow.h | |||
@@ -15,22 +15,30 @@ | |||
15 | 15 | ||
16 | #ifndef WELLENREITERCONFIGWINDOW_H | 16 | #ifndef WELLENREITERCONFIGWINDOW_H |
17 | #define WELLENREITERCONFIGWINDOW_H | 17 | #define WELLENREITERCONFIGWINDOW_H |
18 | 18 | ||
19 | #include "configbase.h" | 19 | #include "configbase.h" |
20 | #include <qmap.h> | 20 | #include <qmap.h> |
21 | #include <qcombobox.h> | ||
22 | #include <qstring.h> | ||
23 | |||
24 | class WellenreiterConfigWindow; | ||
21 | 25 | ||
22 | class WellenreiterConfigWindow : public WellenreiterConfigBase | 26 | class WellenreiterConfigWindow : public WellenreiterConfigBase |
23 | { | 27 | { |
24 | 28 | ||
25 | public: | 29 | public: |
26 | WellenreiterConfigWindow( QWidget * parent = 0, const char * name = "WellenreiterConfigWindow", WFlags f = 0 ); | 30 | WellenreiterConfigWindow( QWidget * parent = 0, const char * name = "WellenreiterConfigWindow", WFlags f = 0 ); |
27 | int daemonDeviceType(); | 31 | int daemonDeviceType(); |
28 | int daemonHopInterval(); | 32 | int daemonHopInterval(); |
33 | const QString soundOnNetwork() const { return netSound->currentText(); }; | ||
34 | const QString soundOnBeacon() const { return beaconSound->currentText(); }; | ||
35 | static WellenreiterConfigWindow* instance() { return _instance; }; | ||
29 | 36 | ||
30 | protected: | 37 | protected: |
31 | QMap<QString, int> _devicetype; | 38 | QMap<QString, int> _devicetype; |
39 | static WellenreiterConfigWindow* _instance; | ||
32 | 40 | ||
33 | }; | 41 | }; |
34 | 42 | ||
35 | #endif | 43 | #endif |
36 | 44 | ||