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.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/kcmodule/module.cpp b/languages/cpp/app_templates/kcmodule/module.cpp
index 4e9d3ca5..bb15b923 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 *tqparent, const char *name, const TQStringList&)
- : KCModule(tqparent, name), myAboutData(0)
+%{APPNAME}::%{APPNAME}(TQWidget *parent, const char *name, const TQStringList&)
+ : KCModule(parent, 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 57542aae..8be473a9 100644
--- a/languages/cpp/app_templates/kcmodule/module.h
+++ b/languages/cpp/app_templates/kcmodule/module.h
@@ -12,7 +12,7 @@ class %{APPNAME}: public KCModule
TQ_OBJECT
public:
- %{APPNAME}( TQWidget *tqparent=0, const char *name=0, const TQStringList& = TQStringList() );
+ %{APPNAME}( TQWidget *parent=0, const char *name=0, const TQStringList& = TQStringList() );
~%{APPNAME}();
virtual void load();