summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/tutorials/p5/p5.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/tutorials/p5/p5.rb')
-rw-r--r--korundum/rubylib/tutorials/p5/p5.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/korundum/rubylib/tutorials/p5/p5.rb b/korundum/rubylib/tutorials/p5/p5.rb
index 8e16c2c8..c5fb132a 100644
--- a/korundum/rubylib/tutorials/p5/p5.rb
+++ b/korundum/rubylib/tutorials/p5/p5.rb
@@ -1,4 +1,4 @@
-require 'Korundum'
+retquire 'Korundum'
class MainWindow < KDE::MainWindow
slots 'changeLocation()',
@@ -9,7 +9,7 @@ class MainWindow < KDE::MainWindow
super(nil, name)
setCaption("KDE Tutorial - p5")
- filemenu = Qt::PopupMenu.new
+ filemenu = TQt::PopupMenu.new
filemenu.insertItem( i18n( "&Quit" ), $kapp, SLOT( 'quit()' ) )
about =
i18n("p5 1.0\n\n" +
@@ -27,18 +27,18 @@ class MainWindow < KDE::MainWindow
menu.insertSeparator()
menu.insertItem(i18n("&Help"), helpmenu)
- vbox = Qt::VBox.new( self )
+ vbox = TQt::VBox.new( self )
- @location = Qt::LineEdit.new( vbox )
+ @location = TQt::LineEdit.new( vbox )
@location.setText( "http://localhost" )
connect( @location , SIGNAL( 'returnPressed()' ),
self, SLOT( 'changeLocation()' ) )
- split = Qt::Splitter.new( vbox )
+ split = TQt::Splitter.new( vbox )
split.setOpaqueResize()
- bookmark = Qt::PushButton.new( i18n("Add to Bookmarks"), split );
+ bookmark = TQt::PushButton.new( i18n("Add to Bookmarks"), split );
connect( bookmark, SIGNAL( 'clicked()' ), self, SLOT( 'bookLocation()' ) )