author | mickeyl <mickeyl> | 2002-12-28 18:57:11 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-12-28 18:57:11 (UTC) |
commit | f70916f3ab05917a3d0dda64beb8db5ac16448ab (patch) (unidiff) | |
tree | bd138c1a901de7ea49b012b32e48d3f4b8b073f8 /noncore/net/wellenreiter/gui/wellenreiter.h | |
parent | 1362726346f1ab497ad5822db1a9b284f5bdaa1a (diff) | |
download | opie-f70916f3ab05917a3d0dda64beb8db5ac16448ab.zip opie-f70916f3ab05917a3d0dda64beb8db5ac16448ab.tar.gz opie-f70916f3ab05917a3d0dda64beb8db5ac16448ab.tar.bz2 |
- refactored a number of classes
- removed dumb polling ==> QSocketNotifier rocks
- switched to parsing the daemon stuff in the gui,
since libwellenreiter still has problems.
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.h b/noncore/net/wellenreiter/gui/wellenreiter.h index 052a242..2296892 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.h +++ b/noncore/net/wellenreiter/gui/wellenreiter.h | |||
@@ -18,7 +18,13 @@ | |||
18 | 18 | ||
19 | #include "wellenreiterbase.h" | 19 | #include "wellenreiterbase.h" |
20 | 20 | ||
21 | #ifdef QWS | ||
22 | #include <opie/odevice.h> | ||
23 | using namespace Opie; | ||
24 | #endif | ||
25 | |||
21 | class QTimerEvent; | 26 | class QTimerEvent; |
27 | class QPixmap; | ||
22 | 28 | ||
23 | class Wellenreiter : public WellenreiterBase { | 29 | class Wellenreiter : public WellenreiterBase { |
24 | Q_OBJECT | 30 | Q_OBJECT |
@@ -29,20 +35,20 @@ public: | |||
29 | ~Wellenreiter(); | 35 | ~Wellenreiter(); |
30 | 36 | ||
31 | protected: | 37 | protected: |
32 | virtual void timerEvent( QTimerEvent* ); | ||
33 | 38 | ||
34 | bool daemonRunning; | 39 | bool daemonRunning; |
35 | 40 | ||
36 | public slots: | 41 | public slots: |
37 | void buttonClicked(); | 42 | void buttonClicked(); |
38 | void addNewItem( QString type, QString essid, QString ap, bool wep, int channel, int signal ); | 43 | void dataReceived(); |
39 | 44 | ||
40 | private: | 45 | private: |
41 | int daemon_fd; // socket filedescriptor for udp communication socket | 46 | int daemon_fd; // socket filedescriptor for udp communication socket |
42 | 47 | #ifdef QWS | |
43 | bool hasMessage(); | 48 | OSystem _system; // Opie Operating System identifier |
49 | #endif | ||
44 | void handleMessage(); | 50 | void handleMessage(); |
45 | 51 | ||
46 | //void readConfig(); | 52 | //void readConfig(); |
47 | //void writeConfig(); | 53 | //void writeConfig(); |
48 | }; | 54 | }; |