summaryrefslogtreecommitdiffstats
path: root/libemailfunctions/networkstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libemailfunctions/networkstatus.cpp')
-rw-r--r--libemailfunctions/networkstatus.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libemailfunctions/networkstatus.cpp b/libemailfunctions/networkstatus.cpp
index 5cdae0e98..f205a77dd 100644
--- a/libemailfunctions/networkstatus.cpp
+++ b/libemailfunctions/networkstatus.cpp
@@ -33,9 +33,9 @@ static KStaticDeleter<NetworktqStatus> networkStatusDeleter;
NetworktqStatus *NetworktqStatus::mSelf = 0;
NetworktqStatus::NetworktqStatus()
- : TQObject( 0, "NetworktqStatus" ), DCOPObject( "NetworktqStatus" )
+ : TQObject( 0, "NetworkStatus" ), DCOPObject( "NetworkStatus" )
{
- KConfigGroup group( KGlobal::config(), "NetworktqStatus" );
+ KConfigGroup group( KGlobal::config(), "NetworkStatus" );
if ( group.readBoolEntry( "Online", true ) == true )
mtqStatus = Online;
else
@@ -46,7 +46,7 @@ NetworktqStatus::NetworktqStatus()
NetworktqStatus::~NetworktqStatus()
{
- KConfigGroup group( KGlobal::config(), "NetworktqStatus" );
+ KConfigGroup group( KGlobal::config(), "NetworkStatus" );
group.writeEntry( "Online", mtqStatus == Online );
}
@@ -65,7 +65,7 @@ NetworktqStatus::tqStatus NetworktqStatus::status() const
void NetworktqStatus::onlineStatusChanged()
{
DCOPRef dcopCall( "kded", "networkstatus" );
- DCOPReply reply = dcopCall.call( "onlinetqStatus()", true );
+ DCOPReply reply = dcopCall.call( "onlineStatus()", true );
if ( reply.isValid() ) {
int status = reply;
if ( status == 3 )