[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: [Kde-bindings] branches/KDE/3.5/kdebindings/korundum
From: Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date: 2006-10-22 19:09:09
Message-ID: 1161544149.112486.17231.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 598176 by rdale:
* Special case QValueList<int> as a DCOPRef return type. Fixes problem
reported by Brian Bart.
CCMAIL: kde-bindings@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@foton.es>
+
+ * Special case QValueList<int> as a DCOPRef return type. Fixes problem
+ reported by Brian Bart.
+
2006-08-18 Richard Dale <rdale@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;
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic