summaryrefslogtreecommitdiffstats
path: root/networkstatus/testservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'networkstatus/testservice.cpp')
-rw-r--r--networkstatus/testservice.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/networkstatus/testservice.cpp b/networkstatus/testservice.cpp
index a1552d27d..46b19109f 100644
--- a/networkstatus/testservice.cpp
+++ b/networkstatus/testservice.cpp
@@ -19,7 +19,7 @@
Boston, MA 02110-1301, USA.
*/
-#include <qtimer.h>
+#include <tqtimer.h>
#include <dcopclient.h>
#include <kapplication.h>
#include "provideriface.h"
@@ -27,7 +27,7 @@
#include "testservice.h"
#include "serviceiface_stub.h"
-TestService::TestService() : QObject(), DCOPObject("ProviderIface")
+TestService::TestService() : TQObject(), DCOPObject("ProviderIface")
{
kapp->dcopClient()->registerAs("testservice" );
m_service = new ServiceIface_stub( "kded", "networkstatus" );
@@ -46,29 +46,29 @@ TestService::~TestService()
delete m_service;
}
-int TestService::status( const QString & network )
+int TestService::status( const TQString & network )
{
Q_UNUSED( network );
return (int)m_status;
}
-int TestService::establish( const QString & network )
+int TestService::establish( const TQString & network )
{
Q_UNUSED( network );
m_status = NetworkStatus::Establishing;
m_service->setNetworkStatus( "test_net", (int)m_status );
m_nextStatus = NetworkStatus::Online;
- QTimer::singleShot( 5000, this, SLOT( slotStatusChange() ) );
+ TQTimer::singleShot( 5000, this, TQT_SLOT( slotStatusChange() ) );
return (int)NetworkStatus::RequestAccepted;
}
-int TestService::shutdown( const QString & network )
+int TestService::shutdown( const TQString & network )
{
Q_UNUSED( network );
m_status = NetworkStatus::ShuttingDown;
m_service->setNetworkStatus( "test_net", (int)m_status );
m_nextStatus = NetworkStatus::Offline;
- QTimer::singleShot( 5000, this, SLOT( slotStatusChange() ) );
+ TQTimer::singleShot( 5000, this, TQT_SLOT( slotStatusChange() ) );
return (int)NetworkStatus::RequestAccepted;
}