Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.h b/noncore/net/wellenreiter/gui/configwindow.h index 2986320..80b4d2b 100644 --- a/noncore/net/wellenreiter/gui/configwindow.h +++ b/noncore/net/wellenreiter/gui/configwindow.h | |||
@@ -17,55 +17,55 @@ | |||
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> | 21 | #include <qcombobox.h> |
22 | #include <qstring.h> | 22 | #include <qstring.h> |
23 | 23 | ||
24 | const int DEVTYPE_SELECT = 0; | 24 | const int DEVTYPE_SELECT = 0; |
25 | const int DEVTYPE_CISCO = 1; | 25 | const int DEVTYPE_CISCO = 1; |
26 | const int DEVTYPE_WLAN_NG = 2; | 26 | const int DEVTYPE_WLAN_NG = 2; |
27 | const int DEVTYPE_HOSTAP = 3; | 27 | const int DEVTYPE_HOSTAP = 3; |
28 | const int DEVTYPE_ORINOCO = 4; | 28 | const int DEVTYPE_ORINOCO = 4; |
29 | const int DEVTYPE_MANUAL = 5; | 29 | const int DEVTYPE_MANUAL = 5; |
30 | const int DEVTYPE_FILE = 6; | 30 | const int DEVTYPE_FILE = 6; |
31 | 31 | ||
32 | class WellenreiterConfigWindow; | 32 | class WellenreiterConfigWindow; |
33 | 33 | ||
34 | class WellenreiterConfigWindow : public WellenreiterConfigBase | 34 | class WellenreiterConfigWindow : public WellenreiterConfigBase |
35 | { | 35 | { |
36 | Q_OBJECT | 36 | Q_OBJECT |
37 | 37 | ||
38 | public: | 38 | public: |
39 | WellenreiterConfigWindow( QWidget * parent = 0, const char * name = "WellenreiterConfigWindow", WFlags f = 0 ); | 39 | WellenreiterConfigWindow( QWidget * parent = 0, const char * name = "WellenreiterConfigWindow", WFlags f = 0 ); |
40 | ~WellenreiterConfigWindow(); | 40 | ~WellenreiterConfigWindow(); |
41 | 41 | ||
42 | int driverType() const; | 42 | int driverType() const; |
43 | const QString soundOnNetwork() const { return "";/*netSound->currentText();*/ }; | 43 | const QString soundOnNetwork() const { return "";/*netSound->currentText();*/ }; |
44 | const QString soundOnBeacon() const { return "";/*beaconSound->currentText();*/ }; | 44 | const QString soundOnBeacon() const { return "";/*beaconSound->currentText();*/ }; |
45 | static WellenreiterConfigWindow* instance() { return _instance; }; | 45 | static WellenreiterConfigWindow* instance() { return _instance; }; |
46 | 46 | ||
47 | int hoppingInterval() const; | 47 | int hoppingInterval() const; |
48 | bool usePrismHeader() const; | 48 | bool usePrismHeader() const; |
49 | bool isChannelChecked( int ) const; | 49 | bool isChannelChecked( int ) const; |
50 | 50 | ||
51 | bool useGPS() const; | 51 | bool useGPS() const; |
52 | const QString gpsHost() const; | 52 | const QString gpsHost() const; |
53 | int gpsPort() const; | 53 | int gpsPort() const; |
54 | 54 | ||
55 | void save(); | 55 | void save(); |
56 | bool load(); | 56 | void load(); |
57 | 57 | ||
58 | public slots: | 58 | public slots: |
59 | void changedDeviceType(int); | 59 | void changedDeviceType(int); |
60 | void getCaptureFileNameClicked(); | 60 | void getCaptureFileNameClicked(); |
61 | 61 | void performAutodetection(); | |
62 | void channelAllClicked(int); | 62 | void channelAllClicked(int); |
63 | 63 | ||
64 | protected: | 64 | protected: |
65 | QMap<QString, int> _devicetype; | 65 | QMap<QString, int> _devicetype; |
66 | static WellenreiterConfigWindow* _instance; | 66 | static WellenreiterConfigWindow* _instance; |
67 | int _guess; | 67 | int _guess; |
68 | 68 | ||
69 | }; | 69 | }; |
70 | 70 | ||
71 | #endif | 71 | #endif |