summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib
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/rubylib
parent620f8b9f5d43eb28d25ead69e9fa52626bd91cd8 (diff)
downloadtdebindings-3771a842be82c729e79a2728d2b39f901da2d865.tar.gz
tdebindings-3771a842be82c729e79a2728d2b39f901da2d865.zip
Additional k => tde renaming and fixes
Diffstat (limited to 'qtruby/rubylib')
-rw-r--r--qtruby/rubylib/qtruby/Qt.cpp2
-rw-r--r--qtruby/rubylib/qtruby/lib/Qt/qtruby.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/qtruby/rubylib/qtruby/Qt.cpp b/qtruby/rubylib/qtruby/Qt.cpp
index f6c8c7ec..715110f2 100644
--- a/qtruby/rubylib/qtruby/Qt.cpp
+++ b/qtruby/rubylib/qtruby/Qt.cpp
@@ -2839,7 +2839,7 @@ set_new_kde(VALUE (*new_kde) (int, VALUE *, VALUE))
rb_define_singleton_method(kns_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1);
rb_define_singleton_method(kns_module, "const_missing", (VALUE (*) (...)) kde_module_method_missing, -1);
- tdeio_module = rb_define_module("KIO");
+ tdeio_module = rb_define_module("TDEIO");
rb_define_singleton_method(tdeio_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1);
rb_define_singleton_method(tdeio_module, "const_missing", (VALUE (*) (...)) kde_module_method_missing, -1);
diff --git a/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb b/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb
index d0fd9783..a0866277 100644
--- a/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb
+++ b/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb
@@ -1511,7 +1511,7 @@ module Qt
if method == "new"
method = classname.dup
- method.gsub!(/^(KParts|KIO|KNS|DOM|Kontact|Kate|KTextEditor|TDEConfigSkeleton::ItemEnum|TDEConfigSkeleton|KWin)::/,"")
+ method.gsub!(/^(KParts|TDEIO|KNS|DOM|Kontact|Kate|KTextEditor|TDEConfigSkeleton::ItemEnum|TDEConfigSkeleton|KWin)::/,"")
end
method = "operator" + method.sub("@","") if method !~ /[a-zA-Z]+/
# Change foobar= to setFoobar()