summaryrefslogtreecommitdiffstats
path: root/networkstatus
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-16 23:14:17 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-16 23:14:17 +0000
commitcdea3dcf5e1e9816f0958d29340e6ce7bb862d6d (patch)
tree49bf2ab2fffabc31d18941da64ff404a1af3aec2 /networkstatus
parenta1602e0cf6d615d5ce1c54b3bc006073eb74b05d (diff)
downloadtdelibs-cdea3dcf5e1e9816f0958d29340e6ce7bb862d6d.tar.gz
tdelibs-cdea3dcf5e1e9816f0958d29340e6ce7bb862d6d.zip
Repaired Qt connections
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1176202 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'networkstatus')
-rw-r--r--networkstatus/networkstatusindicator.cpp9
-rw-r--r--networkstatus/networkstatusindicator.h1
2 files changed, 8 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 ) {
diff --git a/networkstatus/networkstatusindicator.h b/networkstatus/networkstatusindicator.h
index 4385f4c3f..268e9c59e 100644
--- a/networkstatus/networkstatusindicator.h
+++ b/networkstatus/networkstatusindicator.h
@@ -35,6 +35,7 @@ public:
virtual ~StatusBarNetworkStatusIndicator();
void init();
protected slots:
+ void networkStatusChanged( TQString host, NetworkStatus::EnumStatus status );
void networkStatusChanged( NetworkStatus::EnumStatus status );
};