summaryrefslogtreecommitdiffstats
path: root/wifi/networkscanning.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitbcb704366cb5e333a626c18c308c7e0448a8e69f (patch)
treef0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /wifi/networkscanning.h
downloadtdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz
tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wifi/networkscanning.h')
-rw-r--r--wifi/networkscanning.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/wifi/networkscanning.h b/wifi/networkscanning.h
new file mode 100644
index 00000000..5964db3a
--- /dev/null
+++ b/wifi/networkscanning.h
@@ -0,0 +1,52 @@
+
+/***************************************************************************
+ networkscanning.h - header for the NetworkScanning class
+ -------------------
+ begin : Sam Apr 24 11:44:20 CEST 2005
+ copyright : (C) 2005 by Stefan Winter
+ email : swinter@kde.org
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef NETWORKSCANNING_H
+#define NETWORKSCANNING_H
+
+#include <qwidget.h>
+
+class QTable;
+class QPushButton;
+class Interface_wireless;
+
+enum WEP_KEY { NONE, VALID_HEX, VALID_STRING, INVALID };
+
+class NetworkScanning : public QWidget
+
+{
+
+ Q_OBJECT
+
+ public:
+ NetworkScanning (Interface_wireless * dev, QWidget * parent = 0, const char * name = 0 );
+
+ protected:
+ void networkScan ();
+ QTable* networks;
+ Interface_wireless * device;
+ QPushButton* switchNet;
+
+ protected slots:
+ void checkSettings(int row, int);
+ WEP_KEY checkWEP();
+ void switchToNetwork();
+
+};
+
+#endif /* NETWORKSCANNING_H */