summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/configwindow.h
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/configwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.h b/noncore/net/wellenreiter/gui/configwindow.h
index 8f160b1..2986320 100644
--- a/noncore/net/wellenreiter/gui/configwindow.h
+++ b/noncore/net/wellenreiter/gui/configwindow.h
@@ -28,37 +28,42 @@ const int DEVTYPE_HOSTAP = 3;
28const int DEVTYPE_ORINOCO = 4; 28const int DEVTYPE_ORINOCO = 4;
29const int DEVTYPE_MANUAL = 5; 29const int DEVTYPE_MANUAL = 5;
30const int DEVTYPE_FILE = 6; 30const int DEVTYPE_FILE = 6;
31 31
32class WellenreiterConfigWindow; 32class WellenreiterConfigWindow;
33 33
34class WellenreiterConfigWindow : public WellenreiterConfigBase 34class 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();
41
40 int driverType() const; 42 int driverType() const;
41 const QString soundOnNetwork() const { return "";/*netSound->currentText();*/ }; 43 const QString soundOnNetwork() const { return "";/*netSound->currentText();*/ };
42 const QString soundOnBeacon() const { return "";/*beaconSound->currentText();*/ }; 44 const QString soundOnBeacon() const { return "";/*beaconSound->currentText();*/ };
43 static WellenreiterConfigWindow* instance() { return _instance; }; 45 static WellenreiterConfigWindow* instance() { return _instance; };
44 46
45 int hoppingInterval() const; 47 int hoppingInterval() const;
46 bool usePrismHeader() const; 48 bool usePrismHeader() const;
47 bool isChannelChecked( int ) const; 49 bool isChannelChecked( int ) const;
48 50
49 bool useGPS() const; 51 bool useGPS() const;
50 const QString gpsHost() const; 52 const QString gpsHost() const;
51 int gpsPort() const; 53 int gpsPort() const;
52 54
55 void save();
56 bool load();
57
53 public slots: 58 public slots:
54 void changedDeviceType(int); 59 void changedDeviceType(int);
55 void getCaptureFileNameClicked(); 60 void getCaptureFileNameClicked();
56 61
57 void channelAllClicked(int); 62 void channelAllClicked(int);
58 63
59 protected: 64 protected:
60 QMap<QString, int> _devicetype; 65 QMap<QString, int> _devicetype;
61 static WellenreiterConfigWindow* _instance; 66 static WellenreiterConfigWindow* _instance;
62 int _guess; 67 int _guess;
63 68
64}; 69};