summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/dcopservice/dcopservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/dcopservice/dcopservice.cpp')
-rw-r--r--languages/cpp/app_templates/dcopservice/dcopservice.cpp12
1 files changed, 6 insertions, 6 deletions
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);