summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kcmodule/module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kcmodule/module.cpp')
-rw-r--r--languages/cpp/app_templates/kcmodule/module.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/kcmodule/module.cpp b/languages/cpp/app_templates/kcmodule/module.cpp
index 69e87692..bb15b923 100644
--- a/languages/cpp/app_templates/kcmodule/module.cpp
+++ b/languages/cpp/app_templates/kcmodule/module.cpp
@@ -1,6 +1,6 @@
%{CPP_TEMPLATE}
-#include <qlayout.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kglobal.h>
@@ -8,10 +8,10 @@
#include "%{APPNAMELC}.h"
-typedef KGenericFactory<%{APPNAME}, QWidget> %{APPNAME}Factory;
+typedef KGenericFactory<%{APPNAME}, TQWidget> %{APPNAME}Factory;
K_EXPORT_COMPONENT_FACTORY( kcm_%{APPNAME}, %{APPNAME}Factory("kcm%{APPNAMELC}"))
-%{APPNAME}::%{APPNAME}(QWidget *parent, const char *name, const QStringList&)
+%{APPNAME}::%{APPNAME}(TQWidget *parent, const char *name, const TQStringList&)
: KCModule(parent, name), myAboutData(0)
{
// place widgets here
@@ -57,7 +57,7 @@ void %{APPNAME}::configChanged()
}
-QString %{APPNAME}::quickHelp() const
+TQString %{APPNAME}::quickHelp() const
{
return i18n("Helpful information about the %{APPNAMELC} module.");
}