From 5cb59a3e8abdbb05fe4bbc9e549f264153168232 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 09 Apr 2003 10:36:30 +0000 Subject: add signal hopped(int) to OChannelHopper --- (limited to 'libopie2/opienet/onetwork.cpp') 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 void OChannelHopper::timerEvent( QTimerEvent* ) { _iface->setChannel( *_channel ); + emit( hopped( *_channel ) ); qDebug( "OChannelHopper::timerEvent(): set channel %d on interface '%s'", *_channel, (const char*) _iface->name() ); if ( ++_channel == _channels.end() ) _channel = _channels.begin(); @@ -593,6 +594,12 @@ int OWirelessNetworkInterface::channelHopping() const } +OChannelHopper* OWirelessNetworkInterface::channelHopper() const +{ + return _hopper; +} + + void OWirelessNetworkInterface::setMonitorMode( bool b ) { if ( _mon ) -- cgit v0.9.0.2