summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kapp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /languages/cpp/app_templates/kapp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates/kapp')
-rw-r--r--languages/cpp/app_templates/kapp/appview.cpp4
-rw-r--r--languages/cpp/app_templates/kapp/appview.h2
-rw-r--r--languages/cpp/app_templates/kapp/pref.cpp8
-rw-r--r--languages/cpp/app_templates/kapp/pref.h4
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_