Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.h') (more/less context) (ignore 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 | ||