summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/tutorials/p3
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 11:29:06 +0900
committerMichele Calgaro <[email protected]>2024-01-13 11:45:40 +0900
commitfaf33629bb6562a6f43f930afafe4b22e9cdb60b (patch)
tree8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /korundum/rubylib/tutorials/p3
parent0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff)
downloadtdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz
tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'korundum/rubylib/tutorials/p3')
-rw-r--r--korundum/rubylib/tutorials/p3/p3.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/korundum/rubylib/tutorials/p3/p3.rb b/korundum/rubylib/tutorials/p3/p3.rb
index 67360399..94940d59 100644
--- a/korundum/rubylib/tutorials/p3/p3.rb
+++ b/korundum/rubylib/tutorials/p3/p3.rb
@@ -8,9 +8,9 @@ class MainWindow < KDE::MainWindow
setCaption("KDE Tutorial - p3")
filemenu = TQt::PopupMenu.new
- filemenu.insertItem( i18n( "&Open" ), self, SLOT('fileOpen()') )
- filemenu.insertItem( i18n( "&Save" ), self, SLOT('fileSave()') )
- filemenu.insertItem( i18n( "&Quit" ), $kapp, SLOT('quit()') )
+ filemenu.insertItem( i18n( "&Open" ), self, TQ_SLOT('fileOpen()') )
+ filemenu.insertItem( i18n( "&Save" ), self, TQ_SLOT('fileSave()') )
+ filemenu.insertItem( i18n( "&Quit" ), $kapp, TQ_SLOT('quit()') )
about =
i18n("p3 1.0\n\n" +