[Kde-bindings] KDE/kdebindings/ruby/qtruby
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue Jan 13 17:13:00 UTC 2009
SVN commit 910574 by rdale:
* Special cased some constants whose names clashed with Ruby classes.
CCMAIL: kde-bindings at kde.org
M +1 -0 ChangeLog
M +19 -0 src/lib/Qt/qtruby4.rb
--- trunk/KDE/kdebindings/ruby/qtruby/ChangeLog #910573:910574
@@ -1,5 +1,6 @@
2009-01-13 Richard Dale <richard.j.dale at gmail.com>
* Upped the QtRuby version number to 2.0.0
+ * Special cased some constants whose names clashed with Ruby classes.
2008-12-19 Richard Dale <richard.j.dale at gmail.com>
* When the construct_copy() function was used to copy and instance, it
--- trunk/KDE/kdebindings/ruby/qtruby/src/lib/Qt/qtruby4.rb #910573:910574
@@ -662,6 +662,10 @@
end
end
+ class Dir < Qt::Base
+ Time = 1
+ end
+
class DomAttr < Qt::Base
def name(*args)
method_missing(:name, *args)
@@ -748,6 +752,8 @@
end
class FileIconProvider < Qt::Base
+ File = 6
+
def type(*args)
method_missing(:type, *args)
end
@@ -773,6 +779,10 @@
end
end
+ class FontDatabase < Qt::Base
+ Symbol = 30
+ end
+
class Ftp < Qt::Base
def abort(*args)
method_missing(:abort, *args)
@@ -1129,6 +1139,7 @@
class MetaMethod < Qt::Base
# Oops, name clash with the Signal module so hard code
# this value rather than get it from the Smoke runtime
+ Method = 0
Signal = 1
end
@@ -1257,6 +1268,8 @@
end
class MetaType < Qt::Base
+ Float = 135
+
def load(*args)
method_missing(:load, *args)
end
@@ -1586,6 +1599,8 @@
end
class SocketNotifier < Qt::Base
+ Exception = 2
+
def type(*args)
method_missing(:type, *args)
end
@@ -1923,6 +1938,10 @@
end
end
+ class Uuid < Qt::Base
+ Time = 1
+ end
+
class Variant < Qt::Base
String = 10
Date = 14
More information about the Kde-bindings
mailing list