diff options
Diffstat (limited to 'languages/cpp/app_templates/kapp')
-rw-r--r-- | languages/cpp/app_templates/kapp/appview.cpp | 4 | ||||
-rw-r--r-- | languages/cpp/app_templates/kapp/appview.h | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/kapp/pref.cpp | 8 | ||||
-rw-r--r-- | languages/cpp/app_templates/kapp/pref.h | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/languages/cpp/app_templates/kapp/appview.cpp b/languages/cpp/app_templates/kapp/appview.cpp index 5b42a36a..5f9d906a 100644 --- a/languages/cpp/app_templates/kapp/appview.cpp +++ b/languages/cpp/app_templates/kapp/appview.cpp @@ -13,8 +13,8 @@ #include <krun.h> #include <klocale.h> -%{APPNAME}View::%{APPNAME}View(TQWidget *tqparent) - : TQWidget(tqparent), +%{APPNAME}View::%{APPNAME}View(TQWidget *parent) + : TQWidget(parent), DCOPObject("%{APPNAME}Iface") { // setup our tqlayout manager to automatically add our widgets diff --git a/languages/cpp/app_templates/kapp/appview.h b/languages/cpp/app_templates/kapp/appview.h index 2eab2322..a32c35a0 100644 --- a/languages/cpp/app_templates/kapp/appview.h +++ b/languages/cpp/app_templates/kapp/appview.h @@ -29,7 +29,7 @@ public: /** * Default constructor */ - %{APPNAME}View(TQWidget *tqparent); + %{APPNAME}View(TQWidget *parent); /** * Destructor diff --git a/languages/cpp/app_templates/kapp/pref.cpp b/languages/cpp/app_templates/kapp/pref.cpp index 3d720a65..673df14e 100644 --- a/languages/cpp/app_templates/kapp/pref.cpp +++ b/languages/cpp/app_templates/kapp/pref.cpp @@ -22,8 +22,8 @@ m_pageTwo = new %{APPNAME}PrefPageTwo(frame); } -%{APPNAME}PrefPageOne::%{APPNAME}PrefPageOne(TQWidget *tqparent) - : TQFrame(tqparent) +%{APPNAME}PrefPageOne::%{APPNAME}PrefPageOne(TQWidget *parent) + : TQFrame(parent) { TQHBoxLayout *tqlayout = new TQHBoxLayout(this); tqlayout->setAutoAdd(true); @@ -31,8 +31,8 @@ new TQLabel(i18n("Add something here"), this); } -%{APPNAME}PrefPageTwo::%{APPNAME}PrefPageTwo(TQWidget *tqparent) - : TQFrame(tqparent) +%{APPNAME}PrefPageTwo::%{APPNAME}PrefPageTwo(TQWidget *parent) + : TQFrame(parent) { TQHBoxLayout *tqlayout = new TQHBoxLayout(this); tqlayout->setAutoAdd(true); diff --git a/languages/cpp/app_templates/kapp/pref.h b/languages/cpp/app_templates/kapp/pref.h index 23798000..b22ab262 100644 --- a/languages/cpp/app_templates/kapp/pref.h +++ b/languages/cpp/app_templates/kapp/pref.h @@ -26,7 +26,7 @@ class %{APPNAME}PrefPageOne : public TQFrame Q_OBJECT TQ_OBJECT public: - %{APPNAME}PrefPageOne(TQWidget *tqparent = 0); + %{APPNAME}PrefPageOne(TQWidget *parent = 0); }; class %{APPNAME}PrefPageTwo : public TQFrame @@ -34,7 +34,7 @@ class %{APPNAME}PrefPageTwo : public TQFrame Q_OBJECT TQ_OBJECT public: - %{APPNAME}PrefPageTwo(TQWidget *tqparent = 0); + %{APPNAME}PrefPageTwo(TQWidget *parent = 0); }; #endif // _%{APPNAMEUC}PREF_H_ |