summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-19 18:22:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-19 18:22:11 +0000
commitbc9e97ed2394d6721cb200ffe0c3eb0aabadb2c4 (patch)
tree84e1cea0844fc8c4addd4a2f9b4df5f2f8da3abe
parentfea33ef237cf432e8f4b1a8336eecfccaf87edd1 (diff)
downloadtdelibs-bc9e97ed2394d6721cb200ffe0c3eb0aabadb2c4.tar.gz
tdelibs-bc9e97ed2394d6721cb200ffe0c3eb0aabadb2c4.zip
Attempt to fix Qt runtime signal/slot connection errors
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1177195 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--networkstatus/networkstatusindicator.cpp6
-rw-r--r--networkstatus/networkstatusindicator.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/networkstatus/networkstatusindicator.cpp b/networkstatus/networkstatusindicator.cpp
index 2fc62f0a7..957d6f739 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( TQString, NetworkStatus::EnumStatus ) ),
- TQT_SLOT( networkStatusChanged( TQString, NetworkStatus::EnumStatus) ) );
+ connect( ConnectionManager::self(), TQT_SIGNAL( statusChanged( const TQString &, NetworkStatus::EnumStatus ) ),
+ TQT_SLOT( networkStatusChanged( const TQString &, NetworkStatus::EnumStatus) ) );
}
@@ -52,7 +52,7 @@ StatusBarNetworkStatusIndicator::~StatusBarNetworkStatusIndicator()
{
}
-void StatusBarNetworkStatusIndicator::networkStatusChanged( TQString host, NetworkStatus::EnumStatus status )
+void StatusBarNetworkStatusIndicator::networkStatusChanged( const TQString & host, NetworkStatus::EnumStatus status )
{
networkStatusChanged(status);
}
diff --git a/networkstatus/networkstatusindicator.h b/networkstatus/networkstatusindicator.h
index 268e9c59e..f1cfa966a 100644
--- a/networkstatus/networkstatusindicator.h
+++ b/networkstatus/networkstatusindicator.h
@@ -35,7 +35,7 @@ public:
virtual ~StatusBarNetworkStatusIndicator();
void init();
protected slots:
- void networkStatusChanged( TQString host, NetworkStatus::EnumStatus status );
+ void networkStatusChanged( const TQString & host, NetworkStatus::EnumStatus status );
void networkStatusChanged( NetworkStatus::EnumStatus status );
};