[Kde-bindings] KDE/kdebindings/ruby/korundum

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue Jan 13 16:44:43 UTC 2009


SVN commit 910569 by rdale:

* The enum KDE::File::File was conflicting with the Ruby class 'File' and
  not working properly. So special case it and make it a constant. Thanks
  to David Palacio for finding the problem.

CCMAIL: kde-bindings at kde.org


 M  +5 -0      ChangeLog  
 M  +4 -0      src/lib/KDE/korundum4.rb  


--- trunk/KDE/kdebindings/ruby/korundum/ChangeLog #910568:910569
@@ -1,3 +1,8 @@
+2009-01-13  Richard Dale  <richard.j.dale at gmail.com>
+	* The enum KDE::File::File was conflicting with the Ruby class 'File' and
+	  not working properly. So special case it and make it a constant. Thanks
+	  to David Palacio for finding the problem.
+
 2008-12-17  Richard Dale  <richard.j.dale at gmail.com>
 	* The KCmdLineArgs.count method was looping - thanks to Simon St James
 	  for reporting the bug.
--- trunk/KDE/kdebindings/ruby/korundum/src/lib/KDE/korundum4.rb #910568:910569
@@ -323,6 +323,10 @@
 		end
 	end
 
+	class File < Qt::Base
+		File = 1
+	end
+
 	class FileItem < Qt::Base
 		def name(*args)
 			method_missing(:name, *args)



More information about the Kde-bindings mailing list