diff options
Diffstat (limited to 'languages/ruby/app_templates')
-rw-r--r-- | languages/ruby/app_templates/kapp/appview.rb | 4 | ||||
-rw-r--r-- | languages/ruby/app_templates/kapp/pref.rb | 8 | ||||
-rw-r--r-- | languages/ruby/app_templates/kxt/appview.rb | 4 |
3 files changed, 8 insertions, 8 deletions
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) diff --git a/languages/ruby/app_templates/kxt/appview.rb b/languages/ruby/app_templates/kxt/appview.rb index 0b95fdf1..58327208 100644 --- a/languages/ruby/app_templates/kxt/appview.rb +++ b/languages/ruby/app_templates/kxt/appview.rb @@ -25,8 +25,8 @@ class %{APPNAMESC}View < %{APPNAMESC}view_base Q_SLOTS 'switchColors()', 'settingsChanged()' - def initialize(tqparent) - super(tqparent) + def initialize(parent) + super(parent) settingsChanged() end |