summaryrefslogtreecommitdiffstats
path: root/qtruby/bin
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/bin')
-rwxr-xr-xqtruby/bin/rbqtapi4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtruby/bin/rbqtapi b/qtruby/bin/rbqtapi
index e4e2dc16..9598c9ba 100755
--- a/qtruby/bin/rbqtapi
+++ b/qtruby/bin/rbqtapi
@@ -26,7 +26,7 @@ if $OPT_m
while 1
line = STDIN.readline.chomp
line.gsub!(/^Q(?=[A-Z])/,'TQt::')
- line.gsub!(/^K/,'KDE::') unless line =~ /^(KDE)|(KIO)|(KParts)|(KNS)/
+ line.gsub!(/^K/,'KDE::') unless line =~ /^(KDE)|(TDEIO)|(KParts)|(KNS)/
classid = TQt::Internal::find_pclassid($_)
puts "__START__"
if classid
@@ -51,7 +51,7 @@ end
search_string = ARGV[0] ? ARGV[0].dup : nil
search_string.gsub!(/^Q(?=[A-Z])/,'TQt::') if search_string
# search_string.gsub!(/^K(?=[^D][^E])/,'KDE::') if search_string
-search_string.gsub!(/^K/,'KDE::') unless search_string.nil? or search_string =~ /^(KDE)|(KIO)|(KParts)|(KNS)/
+search_string.gsub!(/^K/,'KDE::') unless search_string.nil? or search_string =~ /^(KDE)|(TDEIO)|(KParts)|(KNS)/
classid = search_string ? TQt::Internal::find_pclassid(search_string) : 1
if classid == 0
puts "Class #{search_string} not found"