Sun Apr 12 22:56:16 CEST 2009 Tobias Rautenkranz * operators & qt:variant diff -rN -u old-doc/qt.docbook new-doc/qt.docbook --- old-doc/qt.docbook 2014-10-30 07:13:50.000000000 +0100 +++ new-doc/qt.docbook 2014-10-30 07:13:50.000000000 +0100 @@ -86,6 +86,13 @@ +
Variant + +A qt:variant can be constructed with qt:make-variant +or to pass a Lisp object with qt:make-lisp-variant. +Its value is returned by qt:from-variant. + +
i18n diff -rN -u old-doc/smoke.docbook new-doc/smoke.docbook --- old-doc/smoke.docbook 2014-10-30 07:13:50.000000000 +0100 +++ new-doc/smoke.docbook 2014-10-30 07:13:50.000000000 +0100 @@ -54,6 +54,7 @@ (frob my-instance 1) +
defmethod You can extend the :cxx generic functions by adding methods. :around, :before, :after @@ -64,7 +65,7 @@ () (:metaclass cxx:class)) -(defmethod cxx:timer-event ((object the-object-does-nothing) event) +(defmethod cxx:timer-event ((object the-object-does-nothing) event) (declare (ignore object event)) (call-next-method)) @@ -78,6 +79,14 @@ not be called.
+
Operators + +Insted of using the various cxx:operator methods you can use their Lisp equivalent +in the :cxx package. +(e.g.: cxx:aref, cxx:incf) + +
+
Static Methods @@ -118,7 +127,7 @@ An instance may depend on an other one. It is a bad idea to do something like this: -(defvar *meta* (cxx:meta-object (make-instance 'qt:object))) +(defvar *meta* (cxx:meta-object (make-instance 'qt:object))) *meta* references a qt:meta-class that can become invalid at any time, since the qt:object instance can