diff options
Diffstat (limited to 'languages/cpp/app_templates/khello2')
-rw-r--r-- | languages/cpp/app_templates/khello2/widget.cpp | 4 | ||||
-rw-r--r-- | languages/cpp/app_templates/khello2/widget.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/khello2/widget.cpp b/languages/cpp/app_templates/khello2/widget.cpp index 40e2d2bb..266e894f 100644 --- a/languages/cpp/app_templates/khello2/widget.cpp +++ b/languages/cpp/app_templates/khello2/widget.cpp @@ -4,8 +4,8 @@ #include "%{APPNAMELC}widget.h" -%{APPNAME}Widget::%{APPNAME}Widget(TQWidget* tqparent, const char* name, WFlags fl) - : %{APPNAME}WidgetBase(tqparent,name,fl) +%{APPNAME}Widget::%{APPNAME}Widget(TQWidget* parent, const char* name, WFlags fl) + : %{APPNAME}WidgetBase(parent,name,fl) {} %{APPNAME}Widget::~%{APPNAME}Widget() diff --git a/languages/cpp/app_templates/khello2/widget.h b/languages/cpp/app_templates/khello2/widget.h index 3773456b..ed436a38 100644 --- a/languages/cpp/app_templates/khello2/widget.h +++ b/languages/cpp/app_templates/khello2/widget.h @@ -11,7 +11,7 @@ class %{APPNAME}Widget : public %{APPNAME}WidgetBase TQ_OBJECT public: - %{APPNAME}Widget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + %{APPNAME}Widget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~%{APPNAME}Widget(); /*$PUBLIC_FUNCTIONS$*/ |