[Kde-bindings] branches/KDE/4.4/kdebindings/ruby/korundum/src/lib/KDE

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue Jan 26 13:11:24 UTC 2010


SVN commit 1080569 by rdale:

* Add the KTextEditor:: and KParts:: to the class names that shouldn't be 
renamed with a KDE:: module replacing the leading 'K'. This should fix the
problem with the KTextEditor classes that Stefano Crocco reported, and may 
also fix the problem with KParts classes that David Palacio found.

CCMAIL: kde-bindings at kde.org


 M  +1 -1      korundum4.rb  


--- branches/KDE/4.4/kdebindings/ruby/korundum/src/lib/KDE/korundum4.rb #1080568:1080569
@@ -571,7 +571,7 @@
 					now = classname.sub(/KCore/,'KDE::')
 				elsif classname =~ /^(KConfigSkeleton|KWin|KDateTime|KTimeZone|KSettings)::/
 					now = classname.sub(/^K?(?=[A-Z])/,'KDE::')
-                elsif classname =~ /^(KIO|KParts|KNS|KNS3|KWallet|KAuth|KSettings)::/
+                elsif classname =~ /^(KTextEditor|KParts|KIO|KParts|KNS|KNS3|KWallet|KAuth|KSettings)::/
                     now = classname
                 elsif classname =~ /^K/
 					now = classname.sub(/(^K)/, 'KDE::')



More information about the Kde-bindings mailing list