summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/tutorials/p9/p9.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/tutorials/p9/p9.rb')
-rw-r--r--korundum/rubylib/tutorials/p9/p9.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/korundum/rubylib/tutorials/p9/p9.rb b/korundum/rubylib/tutorials/p9/p9.rb
index e395e19c..0f54394c 100644
--- a/korundum/rubylib/tutorials/p9/p9.rb
+++ b/korundum/rubylib/tutorials/p9/p9.rb
@@ -13,16 +13,16 @@ class Browser < KDE::MainWindow
super(nil, name)
@history = []
- KDE::StdAction.quit(self, SLOT('close()'), actionCollection())
+ KDE::StdAction.quit(self, TQ_SLOT('close()'), actionCollection())
KDE::Action.new(i18n("&Set default page"), "gohome", KDE::Shortcut.new(0), self,
- SLOT('fileSetDefaultPage()'), actionCollection(), "set_default_page")
+ TQ_SLOT('fileSetDefaultPage()'), actionCollection(), "set_default_page")
KDE::Action.new(i18n("Add to Bookmarks"), "reload", KDE::Shortcut.new(0), self,
- SLOT('bookLocation()'), actionCollection(), "add_to_bookmarks")
+ TQ_SLOT('bookLocation()'), actionCollection(), "add_to_bookmarks")
KDE::Action.new(i18n("Back to previous page"), "back", KDE::Shortcut.new(0), self,
- SLOT('gotoPreviousPage()'), actionCollection(), "back")
+ TQ_SLOT('gotoPreviousPage()'), actionCollection(), "back")
actionCollection().action("back").setEnabled(false)
@@ -36,15 +36,15 @@ class Browser < KDE::MainWindow
config.setGroup("Settings")
@location.text = config.readEntry( "defaultPage", "http://localhost")
- connect( @location , SIGNAL( 'returnPressed()' ),
- self, SLOT( 'changeLocation()' ) )
+ connect( @location , TQ_SIGNAL( 'returnPressed()' ),
+ self, TQ_SLOT( 'changeLocation()' ) )
@browser = KDE::HTMLPart.new( vbox )
@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