summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/canvastest/canvastest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/examples/canvastest/canvastest.rb')
-rw-r--r--qtruby/rubylib/examples/canvastest/canvastest.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/qtruby/rubylib/examples/canvastest/canvastest.rb b/qtruby/rubylib/examples/canvastest/canvastest.rb
index b695505c..5c07875b 100644
--- a/qtruby/rubylib/examples/canvastest/canvastest.rb
+++ b/qtruby/rubylib/examples/canvastest/canvastest.rb
@@ -43,11 +43,11 @@ class MyWidget < TQt::MainWindow
fileMenu = TQt::PopupMenu.new(self)
actions = [
- RAction.new("&New", Icons::FILE_NEW, self, SLOT('new()'), [fileTools, fileMenu]),
- RAction.new("&Open...", Icons::FILE_OPEN, self, SLOT('open()'), [fileTools, fileMenu]),
- @save = RAction.new("Save &As...", Icons::FILE_SAVE_AS, self, SLOT('save_as()'), [fileTools, fileMenu]),
+ RAction.new("&New", Icons::FILE_NEW, self, TQ_SLOT('new()'), [fileTools, fileMenu]),
+ RAction.new("&Open...", Icons::FILE_OPEN, self, TQ_SLOT('open()'), [fileTools, fileMenu]),
+ @save = RAction.new("Save &As...", Icons::FILE_SAVE_AS, self, TQ_SLOT('save_as()'), [fileTools, fileMenu]),
RSeperator.new([fileMenu]),
- RAction.new("E&xit", Icons::EXIT, $qApp, SLOT('quit()'), [fileMenu])
+ RAction.new("E&xit", Icons::EXIT, $qApp, TQ_SLOT('quit()'), [fileMenu])
]
build_actions(actions)