diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 11:29:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 11:45:40 +0900 |
commit | faf33629bb6562a6f43f930afafe4b22e9cdb60b (patch) | |
tree | 8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /korundum/rubylib/tutorials/p4/p4.rb | |
parent | 0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff) | |
download | tdebindings-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/p4/p4.rb')
-rw-r--r-- | korundum/rubylib/tutorials/p4/p4.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korundum/rubylib/tutorials/p4/p4.rb b/korundum/rubylib/tutorials/p4/p4.rb index 93306c86..8025a585 100644 --- a/korundum/rubylib/tutorials/p4/p4.rb +++ b/korundum/rubylib/tutorials/p4/p4.rb @@ -9,7 +9,7 @@ class MainWindow < KDE::MainWindow setCaption("KDE Tutorial - p4")
filemenu = TQt::PopupMenu.new
- filemenu.insertItem( i18n( "&Quit" ), $kapp, SLOT( 'quit()' ) )
+ filemenu.insertItem( i18n( "&Quit" ), $kapp, TQ_SLOT( 'quit()' ) )
about =
i18n("p4 1.0\n\n" +
"(C) 1999-2002 Antonio Larrosa Jimenez\n" +
@@ -34,12 +34,12 @@ class MainWindow < KDE::MainWindow @browser = KDE::HTMLPart.new( vbox )
@browser.openURL( KDE::URL.new(@location.text()) )
- connect( @location , SIGNAL( 'returnPressed()' ),
- self, SLOT( 'changeLocation()' ) )
+ connect( @location , TQ_SIGNAL( 'returnPressed()' ),
+ self, TQ_SLOT( 'changeLocation()' ) )
connect( @browser.browserExtension(),
- SIGNAL( 'openURLRequest( const KURL &, const KParts::URLArgs & )' ),
- self, SLOT( 'openURLRequest(const KURL &, const KParts::URLArgs & )' ) )
+ TQ_SIGNAL( 'openURLRequest( const KURL &, const KParts::URLArgs & )' ),
+ self, TQ_SLOT( 'openURLRequest(const KURL &, const KParts::URLArgs & )' ) )
setCentralWidget(vbox)
end
|