summaryrefslogtreecommitdiffstats
path: root/networkstatus/networkstatusindicator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'networkstatus/networkstatusindicator.cpp')
-rw-r--r--networkstatus/networkstatusindicator.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/networkstatus/networkstatusindicator.cpp b/networkstatus/networkstatusindicator.cpp
index b422c5a97..2fc62f0a7 100644
--- a/networkstatus/networkstatusindicator.cpp
+++ b/networkstatus/networkstatusindicator.cpp
@@ -38,8 +38,8 @@ StatusBarNetworkStatusIndicator::StatusBarNetworkStatusIndicator(
label->setPixmap( SmallIcon("connect_no") );
TQToolTip::add( label, i18n( "The desktop is offline" ) );
- connect( ConnectionManager::self(), TQT_SIGNAL( statusChanged( NetworkStatus::EnumStatus ) ),
- TQT_SLOT( networkStatusChanged( NetworkStatus::EnumStatus) ) );
+ connect( ConnectionManager::self(), TQT_SIGNAL( statusChanged( TQString, NetworkStatus::EnumStatus ) ),
+ TQT_SLOT( networkStatusChanged( TQString, NetworkStatus::EnumStatus) ) );
}
@@ -52,6 +52,11 @@ StatusBarNetworkStatusIndicator::~StatusBarNetworkStatusIndicator()
{
}
+void StatusBarNetworkStatusIndicator::networkStatusChanged( TQString host, NetworkStatus::EnumStatus status )
+{
+ networkStatusChanged(status);
+}
+
void StatusBarNetworkStatusIndicator::networkStatusChanged( NetworkStatus::EnumStatus status )
{
if ( status == NetworkStatus::Online || status == NetworkStatus::NoNetworks ) {