summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/configwindow.h
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/configwindow.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.h b/noncore/net/wellenreiter/gui/configwindow.h
new file mode 100644
index 0000000..057bed6
--- a/dev/null
+++ b/noncore/net/wellenreiter/gui/configwindow.h
@@ -0,0 +1,61 @@
1/**********************************************************************
2** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved.
3**
4** This file is part of Opie Environment.
5**
6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file.
10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13**
14**********************************************************************/
15
16#ifndef WELLENREITERCONFIGWINDOW_H
17#define WELLENREITERCONFIGWINDOW_H
18
19#include "configbase.h"
20#include <qmap.h>
21#include <qcombobox.h>
22#include <qstring.h>
23
24const int DEVTYPE_SELECT = 0;
25const int DEVTYPE_CISCO = 1;
26const int DEVTYPE_WLAN_NG = 2;
27const int DEVTYPE_HOSTAP = 3;
28const int DEVTYPE_ORINOCO = 4;
29const int DEVTYPE_MANUAL = 5;
30const int DEVTYPE_FILE = 6;
31
32class WellenreiterConfigWindow;
33
34class WellenreiterConfigWindow : public WellenreiterConfigBase
35{
36 Q_OBJECT
37
38 public:
39 WellenreiterConfigWindow( QWidget * parent = 0, const char * name = "WellenreiterConfigWindow", WFlags f = 0 );
40 int driverType() const;
41 int hoppingInterval() const;
42 const QString soundOnNetwork() const { return "";/*netSound->currentText();*/ };
43 const QString soundOnBeacon() const { return "";/*beaconSound->currentText();*/ };
44 static WellenreiterConfigWindow* instance() { return _instance; };
45
46 bool usePrismHeader();
47
48 public slots:
49 void changedDeviceType(int);
50 void getCaptureFileNameClicked();
51
52 void channelAllClicked(int);
53
54 protected:
55 QMap<QString, int> _devicetype;
56 static WellenreiterConfigWindow* _instance;
57 int _guess;
58
59};
60
61#endif