diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:30:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:30:40 -0600 |
commit | 32459311b349db581cc5fb0d80739a95b3d998b4 (patch) | |
tree | fd6475e6f0e015fce495961d6a0c50027bb95faa /korundum/rubylib | |
parent | ef5a04df564ad5c27406c41fb55e32ad3aa39d25 (diff) | |
download | tdebindings-32459311b349db581cc5fb0d80739a95b3d998b4.tar.gz tdebindings-32459311b349db581cc5fb0d80739a95b3d998b4.zip |
Rename additional global TQt functions
Diffstat (limited to 'korundum/rubylib')
-rw-r--r-- | korundum/rubylib/korundum/lib/KDE/korundum.rb | 18 | ||||
-rw-r--r-- | korundum/rubylib/rbkconfig_compiler/example.rb | 4 | ||||
-rw-r--r-- | korundum/rubylib/tutorials/p5/p5.rb | 2 | ||||
-rw-r--r-- | korundum/rubylib/tutorials/p7/p7.rb | 2 | ||||
-rw-r--r-- | korundum/rubylib/tutorials/p8/p8.rb | 2 | ||||
-rw-r--r-- | korundum/rubylib/tutorials/p9/p9.rb | 2 |
6 files changed, 15 insertions, 15 deletions
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 '<function_name>(<args>)'" ) + tqWarning( "DCOPRef: call #{fun} invalid format, expecting '<function_name>(<args>)'" ) 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 '<function_name>(<args>)'" ) + tqWarning( "DCOPRef: send #{sig} invalid format, expecting '<function_name>(<args>)'" ) 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
|