From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- korundum/rubylib/tutorials/p9/p9.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'korundum/rubylib/tutorials/p9') diff --git a/korundum/rubylib/tutorials/p9/p9.rb b/korundum/rubylib/tutorials/p9/p9.rb index 98bb9d0e..48a01fdc 100644 --- a/korundum/rubylib/tutorials/p9/p9.rb +++ b/korundum/rubylib/tutorials/p9/p9.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()', @@ -28,9 +28,9 @@ class Browser < KDE::MainWindow createGUI(Dir.getwd + "/p9ui.rc") - 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") -- cgit v1.2.1