summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/tutorials/p7/p7.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/tutorials/p7/p7.rb')
-rw-r--r--korundum/rubylib/tutorials/p7/p7.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/korundum/rubylib/tutorials/p7/p7.rb b/korundum/rubylib/tutorials/p7/p7.rb
index 650f4db5..8e6eaf6c 100644
--- a/korundum/rubylib/tutorials/p7/p7.rb
+++ b/korundum/rubylib/tutorials/p7/p7.rb
@@ -1,7 +1,7 @@
-require 'Korundum'
+retquire 'Korundum'
class Browser < KDE::MainWindow
- k_dcop 'void setURL(QString)'
+ k_dcop 'void setURL(TQString)'
slots 'fileSetDefaultPage()',
'changeLocation()',
@@ -18,7 +18,7 @@ class Browser < KDE::MainWindow
setCaption("KDE Tutorial - p7")
@history = []
- filemenu = Qt::PopupMenu.new
+ filemenu = TQt::PopupMenu.new
filemenu.insertItem( i18n( "&Set default page" ),
self, SLOT( 'fileSetDefaultPage()' ) )
filemenu.insertItem(i18n( "&Quit" ), $kapp, SLOT( 'quit()' ))
@@ -52,9 +52,9 @@ class Browser < KDE::MainWindow
i18n("Quit the application"))
addToolBar(toolbar)
- vbox = Qt::VBox.new( self )
+ vbox = TQt::VBox.new( self )
- @location = Qt::LineEdit.new( vbox )
+ @location = TQt::LineEdit.new( vbox )
config = $kapp.config()
config.setGroup("Settings")
@@ -63,7 +63,7 @@ class Browser < KDE::MainWindow
connect( @location , SIGNAL( 'returnPressed()' ),
self, SLOT( 'changeLocation()' ) )
- split = Qt::Splitter.new( vbox )
+ split = TQt::Splitter.new( vbox )
split.setOpaqueResize()
@browser = KDE::HTMLPart.new( split )