summaryrefslogtreecommitdiffstats
path: root/wifi/kwireless/linuxwirelesswidget.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/kwireless/linuxwirelesswidget.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/kwireless/linuxwirelesswidget.h')
-rw-r--r--wifi/kwireless/linuxwirelesswidget.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/wifi/kwireless/linuxwirelesswidget.h b/wifi/kwireless/linuxwirelesswidget.h
new file mode 100644
index 00000000..3bbd085c
--- /dev/null
+++ b/wifi/kwireless/linuxwirelesswidget.h
@@ -0,0 +1,36 @@
+/*
+ $ Author: Mirko Boehm $
+ $ License: This code is licensed under the LGPL $
+ $ Copyright: (C) 1996-2003, Mirko Boehm $
+ $ Contact: Mirko Boehm <mirko@kde.org>
+ http://www.kde.org
+ http://www.hackerbuero.org $
+*/
+
+#ifndef LINUXWIRELESSWIDGET_H
+#define LINUXWIRELESSWIDGET_H
+
+#include "kwirelesswidget.h"
+
+class LinuxWireLessWidget : public KWireLessWidget
+{
+ Q_OBJECT
+public:
+ LinuxWireLessWidget(QWidget *parent=0, const char* name=0);
+ ~LinuxWireLessWidget();
+protected:
+ /** poll() is supposed to read the information from
+ /proc/net/wireless (Linux) and put it into the data members. */
+ void poll();
+ static int socketFD; // the socket file descriptor to talk to the
+ // driver
+ static QStringList deviceNames;
+ static int devEnumHandler(int skfd,
+ char * ifname,
+ char * args[],
+ int count);
+ /** Store previously found number of wireless devices. */
+ int m_number;
+};
+
+#endif