author | mickeyl <mickeyl> | 2003-04-09 10:36:30 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-09 10:36:30 (UTC) |
commit | 5cb59a3e8abdbb05fe4bbc9e549f264153168232 (patch) (unidiff) | |
tree | b19a1c6e59b3c75224447409a3cf1eab16626939 /libopie2/opienet/onetwork.cpp | |
parent | 16c67ebbe538493fd330f56b0db30343efe6f0ae (diff) | |
download | opie-5cb59a3e8abdbb05fe4bbc9e549f264153168232.zip opie-5cb59a3e8abdbb05fe4bbc9e549f264153168232.tar.gz opie-5cb59a3e8abdbb05fe4bbc9e549f264153168232.tar.bz2 |
add signal hopped(int) to OChannelHopper
Diffstat (limited to 'libopie2/opienet/onetwork.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opienet/onetwork.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libopie2/opienet/onetwork.cpp b/libopie2/opienet/onetwork.cpp index e916c44..73b543b 100644 --- a/libopie2/opienet/onetwork.cpp +++ b/libopie2/opienet/onetwork.cpp | |||
@@ -349,6 +349,7 @@ int OChannelHopper::channel() const | |||
349 | void OChannelHopper::timerEvent( QTimerEvent* ) | 349 | void OChannelHopper::timerEvent( QTimerEvent* ) |
350 | { | 350 | { |
351 | _iface->setChannel( *_channel ); | 351 | _iface->setChannel( *_channel ); |
352 | emit( hopped( *_channel ) ); | ||
352 | qDebug( "OChannelHopper::timerEvent(): set channel %d on interface '%s'", | 353 | qDebug( "OChannelHopper::timerEvent(): set channel %d on interface '%s'", |
353 | *_channel, (const char*) _iface->name() ); | 354 | *_channel, (const char*) _iface->name() ); |
354 | if ( ++_channel == _channels.end() ) _channel = _channels.begin(); | 355 | if ( ++_channel == _channels.end() ) _channel = _channels.begin(); |
@@ -593,6 +594,12 @@ int OWirelessNetworkInterface::channelHopping() const | |||
593 | } | 594 | } |
594 | 595 | ||
595 | 596 | ||
597 | OChannelHopper* OWirelessNetworkInterface::channelHopper() const | ||
598 | { | ||
599 | return _hopper; | ||
600 | } | ||
601 | |||
602 | |||
596 | void OWirelessNetworkInterface::setMonitorMode( bool b ) | 603 | void OWirelessNetworkInterface::setMonitorMode( bool b ) |
597 | { | 604 | { |
598 | if ( _mon ) | 605 | if ( _mon ) |