diff options
Diffstat (limited to 'languages/ruby/app_templates')
-rw-r--r-- | languages/ruby/app_templates/kapp/appview.rb | 2 | ||||
-rw-r--r-- | languages/ruby/app_templates/kapp/pref.rb | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/languages/ruby/app_templates/kapp/appview.rb b/languages/ruby/app_templates/kapp/appview.rb index 6a49bdab..e7aabe3c 100644 --- a/languages/ruby/app_templates/kapp/appview.rb +++ b/languages/ruby/app_templates/kapp/appview.rb @@ -31,7 +31,7 @@ class %{APPNAMESC}View < Qt::Widget # keep a reference to the DCOP Interface so it doesn't get gc'd @dcop = %{APPNAMESC}Iface.new(self) - # setup our tqlayout manager to automatically add our widgets + # setup our layout manager to automatically add our widgets top_layout = Qt::HBoxLayout.new(self) top_layout.setAutoAdd(true) diff --git a/languages/ruby/app_templates/kapp/pref.rb b/languages/ruby/app_templates/kapp/pref.rb index f7f2e312..98669ad2 100644 --- a/languages/ruby/app_templates/kapp/pref.rb +++ b/languages/ruby/app_templates/kapp/pref.rb @@ -19,8 +19,8 @@ class %{APPNAMESC}PrefPageOne < Qt::Frame def initialize(parent) super(parent) - tqlayout = Qt::HBoxLayout.new(self) - tqlayout.setAutoAdd(true) + layout = Qt::HBoxLayout.new(self) + layout.setAutoAdd(true) Qt::Label.new(i18n("Add something here"), self) end @@ -30,8 +30,8 @@ class %{APPNAMESC}PrefPageTwo < Qt::Frame def initialize(parent) super(parent) - tqlayout = Qt::HBoxLayout.new(self) - tqlayout.setAutoAdd(true) + layout = Qt::HBoxLayout.new(self) + layout.setAutoAdd(true) Qt::Label.new(i18n("Add something here"), self) end |