[Kde-bindings] branches/KDE/3.5/kdebindings/korundum
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Sun Oct 22 19:09:09 UTC 2006
SVN commit 598176 by rdale:
* Special case QValueList<int> as a DCOPRef return type. Fixes problem
reported by Brian Bart.
CCMAIL: kde-bindings at kde.org
M +5 -0 ChangeLog
M +8 -0 rubylib/korundum/Korundum.cpp
--- branches/KDE/3.5/kdebindings/korundum/ChangeLog #598175:598176
@@ -1,3 +1,8 @@
+2006-10-22 Richard Dale <rdale at foton.es>
+
+ * Special case QValueList<int> as a DCOPRef return type. Fixes problem
+ reported by Brian Bart.
+
2006-08-18 Richard Dale <rdale at foton.es>
* Added a KActionPtrList marshaller. Fixes problem reported by
--- branches/KDE/3.5/kdebindings/korundum/rubylib/korundum/Korundum.cpp #598175:598176
@@ -518,6 +518,14 @@
for (QValueListIterator<QCString> it = propertyList.begin(); it != propertyList.end(); ++it) {
rb_ary_push(_result, rb_str_new2((const char *) *it));
}
+ } else if (replyType == "QValueList<int>") {
+ // And special case this type too
+ QValueList<int> propertyList;
+ ds >> propertyList;
+ _result = rb_ary_new();
+ for (QValueListIterator<int> it = propertyList.begin(); it != propertyList.end(); ++it) {
+ rb_ary_push(_result, INT2NUM(*it));
+ }
} else if (replyType == "QMap<QString,DCOPRef>") {
// And another..
QMap<QString,DCOPRef> actionMap;
More information about the Kde-bindings
mailing list