diff options
Diffstat (limited to 'languages/ruby/app_templates/qtruby4app')
-rw-r--r-- | languages/ruby/app_templates/qtruby4app/qtruby4app.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/ruby/app_templates/qtruby4app/qtruby4app.rb b/languages/ruby/app_templates/qtruby4app/qtruby4app.rb index 58dfa10a..c44e984a 100644 --- a/languages/ruby/app_templates/qtruby4app/qtruby4app.rb +++ b/languages/ruby/app_templates/qtruby4app/qtruby4app.rb @@ -1,7 +1,7 @@ class %{APPNAME} < Qt::MainWindow - slots :newFile, + Q_SLOTS :newFile, :open, :save, :saveAs, @@ -128,7 +128,7 @@ class %{APPNAME} < Qt::MainWindow @aboutQtAct = Qt::Action.new(tr("About &Qt"), self) @aboutQtAct.statusTip = tr("Show the Qt library's About box") - connect(@aboutQtAct, SIGNAL(:triggered), $qApp, SLOT(:aboutQt)) + connect(@aboutQtAct, SIGNAL(:triggered), $tqApp, SLOT(:aboutQt)) @cutAct.setEnabled(false) @copyAct.setEnabled(false) |