Repaired Qt connections

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1176202 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent a1602e0cf6
commit cdea3dcf5e

@ -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 ) {

@ -35,6 +35,7 @@ public:
virtual ~StatusBarNetworkStatusIndicator();
void init();
protected slots:
void networkStatusChanged( TQString host, NetworkStatus::EnumStatus status );
void networkStatusChanged( NetworkStatus::EnumStatus status );
};

Loading…
Cancel
Save