diff options
Diffstat (limited to 'languages/ruby/app_templates/kapp/pref.rb')
-rw-r--r-- | languages/ruby/app_templates/kapp/pref.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/ruby/app_templates/kapp/pref.rb b/languages/ruby/app_templates/kapp/pref.rb index 98669ad2..fbdec495 100644 --- a/languages/ruby/app_templates/kapp/pref.rb +++ b/languages/ruby/app_templates/kapp/pref.rb @@ -17,10 +17,10 @@ end class %{APPNAMESC}PrefPageOne < Qt::Frame - def initialize(parent) - super(parent) - layout = Qt::HBoxLayout.new(self) - layout.setAutoAdd(true) + def initialize(tqparent) + super(tqparent) + tqlayout = Qt::HBoxLayout.new(self) + tqlayout.setAutoAdd(true) Qt::Label.new(i18n("Add something here"), self) end @@ -28,10 +28,10 @@ end class %{APPNAMESC}PrefPageTwo < Qt::Frame - def initialize(parent) - super(parent) - layout = Qt::HBoxLayout.new(self) - layout.setAutoAdd(true) + def initialize(tqparent) + super(tqparent) + tqlayout = Qt::HBoxLayout.new(self) + tqlayout.setAutoAdd(true) Qt::Label.new(i18n("Add something here"), self) end |