QList<QByteArray> and QList<QVariant> conversion & use cxx:operator== and qt:operator== in cxx:=
src/operator.lisp
Wed May 27 19:18:41 CEST 2009 Tobias Rautenkranz <tobias@rautenkranz.ch>
* QList<QByteArray> and QList<QVariant> conversion & use cxx:operator== and qt:operator== in cxx:=
--- old-qt.gui/src/operator.lisp 2014-10-30 07:49:04.000000000 +0100
+++ new-qt.gui/src/operator.lisp 2014-10-30 07:49:04.000000000 +0100
@@ -4,7 +4,11 @@
(if (null more-objects)
t
(every #'(lambda (o)
- (qt:operator== object o))
+ ;; Consider Class::operator== and operator==
+ ;; FIXME integrate this in the overload resolution
+ (handler-case (qt:operator== object o)
+ (smoke::no-applicable-cxx-method ()
+ (cxx:operator== object o))))
more-objects)))
(defun cxx:/= (object &rest more-objects)