From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- networkstatus/testservice.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'networkstatus/testservice.cpp') diff --git a/networkstatus/testservice.cpp b/networkstatus/testservice.cpp index a1552d27..46b19109 100644 --- a/networkstatus/testservice.cpp +++ b/networkstatus/testservice.cpp @@ -19,7 +19,7 @@ Boston, MA 02110-1301, USA. */ -#include +#include #include #include #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; } -- cgit v1.2.3