summaryrefslogtreecommitdiffstats
path: root/networkstatus/networkstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'networkstatus/networkstatus.cpp')
-rw-r--r--networkstatus/networkstatus.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/networkstatus/networkstatus.cpp b/networkstatus/networkstatus.cpp
index 7937a52d6..8f8e1969c 100644
--- a/networkstatus/networkstatus.cpp
+++ b/networkstatus/networkstatus.cpp
@@ -63,8 +63,8 @@ NetworkStatusModule::NetworkStatusModule( const TQCString & obj ) : KDEDModule(
d = new Private;
/* d->clientIface = new ClientIfaceImpl( this );
d->serviceIface = new ServiceIfaceImpl( this );*/
- connect( kapp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString& ) ) , this, TQ_SLOT( unregisteredFromDCOP( const TQCString& ) ) );
- connect( kapp->dcopClient(), TQ_SIGNAL( applicationRegistered( const TQCString& ) ) , this, TQ_SLOT( registeredToDCOP( const TQCString& ) ) );
+ connect( tdeApp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString& ) ) , this, TQ_SLOT( unregisteredFromDCOP( const TQCString& ) ) );
+ connect( tdeApp->dcopClient(), TQ_SIGNAL( applicationRegistered( const TQCString& ) ) , this, TQ_SLOT( registeredToDCOP( const TQCString& ) ) );
}
NetworkStatusModule::~NetworkStatusModule()
@@ -112,7 +112,7 @@ int NetworkStatusModule::request( const TQString & host, bool userInitiated )
return NetworkStatus::Unavailable;
NetworkStatus::EnumStatus status = p->status();
- TQCString appId = kapp->dcopClient()->senderId();
+ TQCString appId = tdeApp->dcopClient()->senderId();
if ( status == NetworkStatus::Online )
{
p->registerUsage( appId, host );
@@ -161,7 +161,7 @@ int NetworkStatusModule::request( const TQString & host, bool userInitiated )
void NetworkStatusModule::relinquish( const TQString & host )
{
- TQCString appId = kapp->dcopClient()->senderId();
+ TQCString appId = tdeApp->dcopClient()->senderId();
// find network currently used by app for host...
NetworkList::iterator end = d->networks.end();
NetworkList::iterator it = d->networks.begin();