Thu Jul 23 00:53:41 CEST 2009 Tobias Rautenkranz * phonon & :arg0 diff -rN -u old-doc/introduction.xml new-doc/introduction.xml --- old-doc/introduction.xml 2014-10-30 07:11:16.000000000 +0100 +++ new-doc/introduction.xml 2014-10-30 07:11:16.000000000 +0100 @@ -26,7 +26,7 @@ 10 seconds startup time - Using an image it is around 1 second. + Using a core image it is around 1 second. (see ) (for qt.examples) on a diff -rN -u old-doc/qt.xml new-doc/qt.xml --- old-doc/qt.xml 2014-10-30 07:11:16.000000000 +0100 +++ new-doc/qt.xml 2014-10-30 07:11:16.000000000 +0100 @@ -4,7 +4,7 @@ Qt -Besides the :qt there are these packages: with +Besides the :qt there are these modules: with :qt.uitools @@ -17,8 +17,16 @@ QtWebKit + :qt.phonon + + Phonon + -which provide bindings for their Qt module. +which provide bindings for their Qt module. The class names of this modules are in +the :qt package. (E.g. Phonon::VideoPlayer is 'qt:phonon.video-player +and QTest is 'qt:test) + + Additionally there is the :qt.tests system, containing the unit tests and :qt.examples for various examples. @@ -95,11 +103,12 @@ qt:object properties can be accessed with qt:property (setf-able). The name of the property can be either a string in C++ style or a symbol in Lisp style. +The predefined Qt properties can be accessed with symbols in the keyword package. (let ((object (make-instance 'qt:object))) - (setf (qt:property object 'object-name) "Foo") + (setf (qt:property object :object-name) "Foo") (assert (string= "Foo" (qt:property object "objectName")))) diff -rN -u old-doc/smoke.xml new-doc/smoke.xml --- old-doc/smoke.xml 2014-10-30 07:11:16.000000000 +0100 +++ new-doc/smoke.xml 2014-10-30 07:11:16.000000000 +0100 @@ -33,6 +33,13 @@ (make-instance 'qt:object :args (list parent))) +or use :arg0, :arg1 and :arg2. + + +(let ((parent (make-instance 'qt:object))) + (make-instance 'qt:object :arg0 parent)) + + To extend a C++ class you have to use cxx:class as metaclass: