summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/tutorials/p4
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /korundum/rubylib/tutorials/p4
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'korundum/rubylib/tutorials/p4')
-rw-r--r--korundum/rubylib/tutorials/p4/p4.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/korundum/rubylib/tutorials/p4/p4.rb b/korundum/rubylib/tutorials/p4/p4.rb
index 63777872..f1d8be53 100644
--- a/korundum/rubylib/tutorials/p4/p4.rb
+++ b/korundum/rubylib/tutorials/p4/p4.rb
@@ -1,4 +1,4 @@
-require 'Korundum'
+retquire 'Korundum'
class MainWindow < KDE::MainWindow
slots 'changeLocation()',
@@ -8,7 +8,7 @@ class MainWindow < KDE::MainWindow
super(nil, name)
setCaption("KDE Tutorial - p4")
- filemenu = Qt::PopupMenu.new
+ filemenu = TQt::PopupMenu.new
filemenu.insertItem( i18n( "&Quit" ), $kapp, SLOT( 'quit()' ) )
about =
i18n("p4 1.0\n\n" +
@@ -26,9 +26,9 @@ 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" )
@browser = KDE::HTMLPart.new( vbox )