summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kcmodule
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kcmodule')
-rw-r--r--languages/cpp/app_templates/kcmodule/module.cpp4
-rw-r--r--languages/cpp/app_templates/kcmodule/module.h3
-rw-r--r--languages/cpp/app_templates/kcmodule/src-Makefile.am2
3 files changed, 5 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/kcmodule/module.cpp b/languages/cpp/app_templates/kcmodule/module.cpp
index bb15b923..4e9d3ca5 100644
--- a/languages/cpp/app_templates/kcmodule/module.cpp
+++ b/languages/cpp/app_templates/kcmodule/module.cpp
@@ -11,8 +11,8 @@
typedef KGenericFactory<%{APPNAME}, TQWidget> %{APPNAME}Factory;
K_EXPORT_COMPONENT_FACTORY( kcm_%{APPNAME}, %{APPNAME}Factory("kcm%{APPNAMELC}"))
-%{APPNAME}::%{APPNAME}(TQWidget *parent, const char *name, const TQStringList&)
- : KCModule(parent, name), myAboutData(0)
+%{APPNAME}::%{APPNAME}(TQWidget *tqparent, const char *name, const TQStringList&)
+ : KCModule(tqparent, name), myAboutData(0)
{
// place widgets here
load();
diff --git a/languages/cpp/app_templates/kcmodule/module.h b/languages/cpp/app_templates/kcmodule/module.h
index 7f539c60..57542aae 100644
--- a/languages/cpp/app_templates/kcmodule/module.h
+++ b/languages/cpp/app_templates/kcmodule/module.h
@@ -9,9 +9,10 @@
class %{APPNAME}: public KCModule
{
Q_OBJECT
+ TQ_OBJECT
public:
- %{APPNAME}( TQWidget *parent=0, const char *name=0, const TQStringList& = TQStringList() );
+ %{APPNAME}( TQWidget *tqparent=0, const char *name=0, const TQStringList& = TQStringList() );
~%{APPNAME}();
virtual void load();
diff --git a/languages/cpp/app_templates/kcmodule/src-Makefile.am b/languages/cpp/app_templates/kcmodule/src-Makefile.am
index e5d30776..6efe685a 100644
--- a/languages/cpp/app_templates/kcmodule/src-Makefile.am
+++ b/languages/cpp/app_templates/kcmodule/src-Makefile.am
@@ -13,5 +13,5 @@ xdg_apps_DATA = %{APPNAMELC}.desktop
messages: rc.cpp
- $(EXTRACTRC) `find -name \*.ui -o -name \*.rc` > rc.cpp
+ $(EXTRACTRC) `tqfind -name \*.ui -o -name \*.rc` > rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/kcm%{APPNAMELC}.pot