From 32b67ac0690de411b26b1d5e715b188c27442248 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- languages/ruby/app_templates/kapp/appview.rb | 4 ++-- languages/ruby/app_templates/kapp/pref.rb | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'languages/ruby/app_templates/kapp') diff --git a/languages/ruby/app_templates/kapp/appview.rb b/languages/ruby/app_templates/kapp/appview.rb index 4c914786..6a49bdab 100644 --- a/languages/ruby/app_templates/kapp/appview.rb +++ b/languages/ruby/app_templates/kapp/appview.rb @@ -25,8 +25,8 @@ class %{APPNAMESC}View < Qt::Widget Q_SLOTS 'slotOnURL(const QString&)', 'slotSetTitle(const QString&)' - def initialize(tqparent) - super(tqparent) + def initialize(parent) + super(parent) # keep a reference to the DCOP Interface so it doesn't get gc'd @dcop = %{APPNAMESC}Iface.new(self) diff --git a/languages/ruby/app_templates/kapp/pref.rb b/languages/ruby/app_templates/kapp/pref.rb index fbdec495..f7f2e312 100644 --- a/languages/ruby/app_templates/kapp/pref.rb +++ b/languages/ruby/app_templates/kapp/pref.rb @@ -17,8 +17,8 @@ end class %{APPNAMESC}PrefPageOne < Qt::Frame - def initialize(tqparent) - super(tqparent) + def initialize(parent) + super(parent) tqlayout = Qt::HBoxLayout.new(self) tqlayout.setAutoAdd(true) @@ -28,8 +28,8 @@ end class %{APPNAMESC}PrefPageTwo < Qt::Frame - def initialize(tqparent) - super(tqparent) + def initialize(parent) + super(parent) tqlayout = Qt::HBoxLayout.new(self) tqlayout.setAutoAdd(true) -- cgit v1.2.1