diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:31:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:31:43 -0600 |
commit | 24b85b785334e8436c975a4323fcbb75d61f6e72 (patch) | |
tree | 95703ced216baabc95ecb169839c6f302bbcc5af /qtruby/rubylib/qtruby/lib | |
parent | 5baaa6b5ff2b9d30279cf9e9658b9509fcdf884c (diff) | |
download | tdebindings-24b85b785334e8436c975a4323fcbb75d61f6e72.tar.gz tdebindings-24b85b785334e8436c975a4323fcbb75d61f6e72.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'qtruby/rubylib/qtruby/lib')
-rw-r--r-- | qtruby/rubylib/qtruby/lib/Qt/qtruby.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb b/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb index a8bb72a0..d0fd9783 100644 --- a/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb +++ b/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb @@ -1353,7 +1353,7 @@ module Qt now = classname.sub(/^Qext(?=[A-Z])/,'Qext::') elsif classname =~ /^Q/ now = classname.sub(/^Q(?=[A-Z])/,'TQt::') - elsif classname =~ /^(KConfigSkeleton|KWin)::/ + elsif classname =~ /^(TDEConfigSkeleton|KWin)::/ now = classname.sub(/^K?(?=[A-Z])/,'KDE::') elsif classname !~ /::/ now = classname.sub(/^K?(?=[A-Z])/,'KDE::') @@ -1511,7 +1511,7 @@ module Qt if method == "new" method = classname.dup - method.gsub!(/^(KParts|KIO|KNS|DOM|Kontact|Kate|KTextEditor|KConfigSkeleton::ItemEnum|KConfigSkeleton|KWin)::/,"") + method.gsub!(/^(KParts|KIO|KNS|DOM|Kontact|Kate|KTextEditor|TDEConfigSkeleton::ItemEnum|TDEConfigSkeleton|KWin)::/,"") end method = "operator" + method.sub("@","") if method !~ /[a-zA-Z]+/ # Change foobar= to setFoobar() |