From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/tests/highlight.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kate/tests/highlight.rb') diff --git a/kate/tests/highlight.rb b/kate/tests/highlight.rb index 96061c1d0..1330db9c7 100644 --- a/kate/tests/highlight.rb +++ b/kate/tests/highlight.rb @@ -105,7 +105,7 @@ end puts "Artist is #$1" end -case shape +case tqshape when Square, Rectangle # ... when Circle @@ -143,7 +143,7 @@ end for i in 1..3 print i, " " end -for i in File.open("ordinal").find_all { |l| l =~ /d$/} +for i in File.open("ordinal").tqfind_all { |l| l =~ /d$/} print i.chomp, " " end -- cgit v1.2.1