From 32459311b349db581cc5fb0d80739a95b3d998b4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:30:40 -0600 Subject: Rename additional global TQt functions --- korundum/ChangeLog | 4 ++-- korundum/rubylib/korundum/lib/KDE/korundum.rb | 18 +++++++++--------- korundum/rubylib/rbkconfig_compiler/example.rb | 4 ++-- korundum/rubylib/tutorials/p5/p5.rb | 2 +- korundum/rubylib/tutorials/p7/p7.rb | 2 +- korundum/rubylib/tutorials/p8/p8.rb | 2 +- korundum/rubylib/tutorials/p9/p9.rb | 2 +- 7 files changed, 17 insertions(+), 17 deletions(-) (limited to 'korundum') diff --git a/korundum/ChangeLog b/korundum/ChangeLog index 3401d5fb..292805ef 100644 --- a/korundum/ChangeLog +++ b/korundum/ChangeLog @@ -203,7 +203,7 @@ 2004-10-30 Richard Dale - * References to Qt.qWarning() changed to qWarning() + * References to Qt.qWarning() changed to tqWarning() 2004-10-24 Richard Dale @@ -363,7 +363,7 @@ CCMAIL: kde-bindings@kde.org 2004-07-27 Richard Dale - * DCOP error messages now go via qWarning() rather than puts() + * DCOP error messages now go via tqWarning() rather than puts() 2004-07-26 Richard Dale diff --git a/korundum/rubylib/korundum/lib/KDE/korundum.rb b/korundum/rubylib/korundum/lib/KDE/korundum.rb index 3e4d9a8c..1974c0d6 100644 --- a/korundum/rubylib/korundum/lib/KDE/korundum.rb +++ b/korundum/rubylib/korundum/lib/KDE/korundum.rb @@ -51,7 +51,7 @@ module KDE args = DCOPClient.normalizeFunctionSignature($3) @k_dcop_signals[$2] = DCOPMember.new($2, $2 + "(" + args + ")", args, $1) else - qWarning( "Invalid DCOP signal format: '#{signal}'" ) + tqWarning( "Invalid DCOP signal format: '#{signal}'" ) end end end @@ -62,7 +62,7 @@ module KDE args = DCOPClient.normalizeFunctionSignature($3) @k_dcop[$2] = DCOPMember.new($2, $1 + ' ' + $2 + "(" + args + ")", args, $1) else - qWarning( "Invalid DCOP slot format: '#{slot}'" ) + tqWarning( "Invalid DCOP slot format: '#{slot}'" ) end end end @@ -250,7 +250,7 @@ module KDE method = @functions[method] if method.nil? - qWarning( "DCOPRef: call #{k[0].id2name}() not found" ) + tqWarning( "DCOPRef: call #{k[0].id2name}() not found" ) return end @@ -289,7 +289,7 @@ module KDE def callExt(fun, *k) if isNull - qWarning( "DCOPRef: call #{fun} on null reference error" ) + tqWarning( "DCOPRef: call #{fun} on null reference error" ) return end sig = fun @@ -298,13 +298,13 @@ module KDE end dc = dcopClient() if !dc || !dc.isAttached - qWarning( "DCOPRef::call(): no DCOP client or client not attached error" ) + tqWarning( "DCOPRef::call(): no DCOP client or client not attached error" ) return end if sig =~ /([^\s]*)(\(.*\))/ full_name = $1+$2 else - qWarning( "DCOPRef: call #{fun} invalid format, expecting '()'" ) + tqWarning( "DCOPRef: call #{fun} invalid format, expecting '()'" ) return end return KDE::dcop_call( self, @@ -315,7 +315,7 @@ module KDE def send(fun, *k) if isNull - qWarning( "DCOPRef: send #{fun} on null reference error" ) + tqWarning( "DCOPRef: send #{fun} on null reference error" ) end sig = fun if fun.index('(') == nil @@ -323,11 +323,11 @@ module KDE end dc = dcopClient() if !dc || !dc.isAttached - qWarning( "DCOPRef::send(): no DCOP client or client not attached error" ) + tqWarning( "DCOPRef::send(): no DCOP client or client not attached error" ) return end if !sig =~ /^([^\s]*)(\(.*\))/ - qWarning( "DCOPRef: send #{sig} invalid format, expecting '()'" ) + tqWarning( "DCOPRef: send #{sig} invalid format, expecting '()'" ) return end return KDE::dcop_send( self, diff --git a/korundum/rubylib/rbkconfig_compiler/example.rb b/korundum/rubylib/rbkconfig_compiler/example.rb index d7ef38b1..9ed4d9c4 100644 --- a/korundum/rubylib/rbkconfig_compiler/example.rb +++ b/korundum/rubylib/rbkconfig_compiler/example.rb @@ -36,5 +36,5 @@ require 'exampleprefs_base.rb' prefs.setAnotherOption(17) - qWarning("Another Option = %d" % prefs.anotherOption()) - qWarning("Another Option2 = %d" % prefs.anotherOption2()) + tqWarning("Another Option = %d" % prefs.anotherOption()) + tqWarning("Another Option2 = %d" % prefs.anotherOption2()) diff --git a/korundum/rubylib/tutorials/p5/p5.rb b/korundum/rubylib/tutorials/p5/p5.rb index 25dd9190..40fb91a5 100644 --- a/korundum/rubylib/tutorials/p5/p5.rb +++ b/korundum/rubylib/tutorials/p5/p5.rb @@ -64,7 +64,7 @@ class MainWindow < KDE::MainWindow def bookLocation() dcopRef = KDE::DCOPRef.new("p6", "BookMarkList") if ! dcopRef.add(@location.text()) - qWarning("Error with DCOP\n") + tqWarning("Error with DCOP\n") end end end diff --git a/korundum/rubylib/tutorials/p7/p7.rb b/korundum/rubylib/tutorials/p7/p7.rb index 1dca0ddd..6c73c9c9 100644 --- a/korundum/rubylib/tutorials/p7/p7.rb +++ b/korundum/rubylib/tutorials/p7/p7.rb @@ -101,7 +101,7 @@ class Browser < KDE::MainWindow def bookLocation() dcopRef = KDE::DCOPRef.new("p8", "BookMarkList") if ! dcopRef.add(@location.text()) - qWarning("Error with DCOP\n") + tqWarning("Error with DCOP\n") end end diff --git a/korundum/rubylib/tutorials/p8/p8.rb b/korundum/rubylib/tutorials/p8/p8.rb index 0d0e5342..1839e697 100644 --- a/korundum/rubylib/tutorials/p8/p8.rb +++ b/korundum/rubylib/tutorials/p8/p8.rb @@ -20,7 +20,7 @@ class BookMarkList < KDE::ListView if item.nil? then return end dcopRef = KDE::DCOPRef.new("p7", "Browser") if ! dcopRef.setURL(item.text(0)) - qWarning("Error with DCOP\n") + tqWarning("Error with DCOP\n") end end end diff --git a/korundum/rubylib/tutorials/p9/p9.rb b/korundum/rubylib/tutorials/p9/p9.rb index 5ddfeae3..e395e19c 100644 --- a/korundum/rubylib/tutorials/p9/p9.rb +++ b/korundum/rubylib/tutorials/p9/p9.rb @@ -75,7 +75,7 @@ class Browser < KDE::MainWindow def bookLocation() dcopRef = KDE::DCOPRef.new("p8", "BookMarkList") if ! dcopRef.add(@location.text()) - qWarning("Error with DCOP\n") + tqWarning("Error with DCOP\n") end end -- cgit v1.2.1