summaryrefslogtreecommitdiffstats
path: root/qtruby/bin/rbqtapi
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-03 20:02:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-03 20:59:03 +0200
commit3771a842be82c729e79a2728d2b39f901da2d865 (patch)
tree1745d38238389a00651e5bbfefde3662dcb50c54 /qtruby/bin/rbqtapi
parent620f8b9f5d43eb28d25ead69e9fa52626bd91cd8 (diff)
downloadtdebindings-3771a842be82c729e79a2728d2b39f901da2d865.tar.gz
tdebindings-3771a842be82c729e79a2728d2b39f901da2d865.zip
Additional k => tde renaming and fixes
Diffstat (limited to 'qtruby/bin/rbqtapi')
-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"