author | mickeyl <mickeyl> | 2003-03-31 14:30:17 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-31 14:30:17 (UTC) |
commit | 13e8e8cbaede72948d3901a1a903eba43854d770 (patch) (unidiff) | |
tree | 672679ac87efdfecd4755f712cfd11c2d2abad43 /noncore/net/wellenreiter/gui/scanlist.h | |
parent | e609b9726786efe7cd5be0cd6d8d9f4d91703da5 (diff) | |
download | opie-13e8e8cbaede72948d3901a1a903eba43854d770.zip opie-13e8e8cbaede72948d3901a1a903eba43854d770.tar.gz opie-13e8e8cbaede72948d3901a1a903eba43854d770.tar.bz2 |
- initial attempt to autodetect driver
- add possibility to play sounds when receiving beacon and/or found a new network
Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlist.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlist.h b/noncore/net/wellenreiter/gui/scanlist.h index da9369f..01db172 100644 --- a/noncore/net/wellenreiter/gui/scanlist.h +++ b/noncore/net/wellenreiter/gui/scanlist.h | |||
@@ -82,24 +82,27 @@ class MScanListItem: public OListViewItem | |||
82 | int signal() { return _signal; }; | 82 | int signal() { return _signal; }; |
83 | int beacons() { return _beacons; }; | 83 | int beacons() { return _beacons; }; |
84 | 84 | ||
85 | void setSignal( int signal ) { /* TODO */ }; | 85 | void setSignal( int signal ) { /* TODO */ }; |
86 | void receivedBeacon(); | 86 | void receivedBeacon(); |
87 | 87 | ||
88 | void setManufacturer( const QString& manufacturer ); | 88 | void setManufacturer( const QString& manufacturer ); |
89 | 89 | ||
90 | virtual OListViewItem* childFactory(); | 90 | virtual OListViewItem* childFactory(); |
91 | virtual void serializeTo( QDataStream& s ) const; | 91 | virtual void serializeTo( QDataStream& s ) const; |
92 | virtual void serializeFrom( QDataStream& s ); | 92 | virtual void serializeFrom( QDataStream& s ); |
93 | 93 | ||
94 | protected: | ||
95 | void playSound( const QString& ) const; | ||
96 | |||
94 | private: | 97 | private: |
95 | QString _type; | 98 | QString _type; |
96 | QString _essid; | 99 | QString _essid; |
97 | QString _macaddr; | 100 | QString _macaddr; |
98 | bool _wep; | 101 | bool _wep; |
99 | int _channel; | 102 | int _channel; |
100 | int _signal; | 103 | int _signal; |
101 | int _beacons; | 104 | int _beacons; |
102 | 105 | ||
103 | }; | 106 | }; |
104 | 107 | ||
105 | //****************************** MScanListViewFactory **************************************************************** | 108 | //****************************** MScanListViewFactory **************************************************************** |