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
v3.5.13-sru
tpearson 14 years ago
parent fea33ef237
commit bc9e97ed23

@ -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);
}

@ -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 );
};

Loading…
Cancel
Save