From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/app_templates/dcopservice/dcopservice.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'languages/cpp/app_templates/dcopservice/dcopservice.cpp') diff --git a/languages/cpp/app_templates/dcopservice/dcopservice.cpp b/languages/cpp/app_templates/dcopservice/dcopservice.cpp index a23da01b..32f32c65 100644 --- a/languages/cpp/app_templates/dcopservice/dcopservice.cpp +++ b/languages/cpp/app_templates/dcopservice/dcopservice.cpp @@ -7,7 +7,7 @@ %{APPNAME}::%{APPNAME}() : DCOPObject("serviceInterface") { kdDebug() << "Starting new service... " << endl; - m_List = QStringList(); + m_List = TQStringList(); } %{APPNAME}::~%{APPNAME}() @@ -15,25 +15,25 @@ kdDebug() << "Going away... " << endl; } -QString %{APPNAME}::string(int idx) +TQString %{APPNAME}::string(int idx) { return *m_List.at(idx); } -QStringList %{APPNAME}::list() +TQStringList %{APPNAME}::list() { return m_List; } -void %{APPNAME}::add(QString arg) +void %{APPNAME}::add(TQString arg) { kdDebug() << "Adding " << arg << " to the list" << endl; m_List << arg; } -bool %{APPNAME}::remove(QString arg) +bool %{APPNAME}::remove(TQString arg) { - QStringList::Iterator it = m_List.find(arg); + TQStringList::Iterator it = m_List.find(arg); if (it != m_List.end()) { m_List.remove(it); -- cgit v1.2.1