diff options
Diffstat (limited to 'korundum/rubylib/tutorials/p5')
-rw-r--r-- | korundum/rubylib/tutorials/p5/p5.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/korundum/rubylib/tutorials/p5/p5.rb b/korundum/rubylib/tutorials/p5/p5.rb index 40fb91a5..0325aa37 100644 --- a/korundum/rubylib/tutorials/p5/p5.rb +++ b/korundum/rubylib/tutorials/p5/p5.rb @@ -10,7 +10,7 @@ class MainWindow < KDE::MainWindow setCaption("KDE Tutorial - p5")
filemenu = TQt::PopupMenu.new
- filemenu.insertItem( i18n( "&Quit" ), $kapp, SLOT( 'quit()' ) )
+ filemenu.insertItem( i18n( "&Quit" ), $kapp, TQ_SLOT( 'quit()' ) )
about =
i18n("p5 1.0\n\n" +
"(C) 1999-2002 Antonio Larrosa Jimenez\n" +
@@ -32,22 +32,22 @@ class MainWindow < KDE::MainWindow @location = TQt::LineEdit.new( vbox )
@location.setText( "http://localhost" )
- connect( @location , SIGNAL( 'returnPressed()' ),
- self, SLOT( 'changeLocation()' ) )
+ connect( @location , TQ_SIGNAL( 'returnPressed()' ),
+ self, TQ_SLOT( 'changeLocation()' ) )
split = TQt::Splitter.new( vbox )
split.setOpaqueResize()
bookmark = TQt::PushButton.new( i18n("Add to Bookmarks"), split );
- connect( bookmark, SIGNAL( 'clicked()' ), self, SLOT( 'bookLocation()' ) )
+ connect( bookmark, TQ_SIGNAL( 'clicked()' ), self, TQ_SLOT( 'bookLocation()' ) )
@browser = KDE::HTMLPart.new( split )
@browser.openURL( KDE::URL.new(@location.text()) )
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
|