Sun Aug 30 16:26:13 CEST 2009 Tobias Rautenkranz * Multiple inheritance doc & expand tabs in programmlisting. diff -rN -u old-doc/qt.xml new-doc/qt.xml --- old-doc/qt.xml 2014-10-30 07:10:55.000000000 +0100 +++ new-doc/qt.xml 2014-10-30 07:10:55.000000000 +0100 @@ -6,21 +6,21 @@ Besides the :qt there are these modules: with - - :qt.uitools - - QtUiTools - :qt.test - - QtTest - :qt.webkit - - QtWebKit - - :qt.phonon - - Phonon - + + :qt.uitools + + QtUiTools + :qt.test + + QtTest + :qt.webkit + + QtWebKit + + :qt.phonon + + Phonon + 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 @@ -42,13 +42,13 @@ - + - + Subclasses of qt:paint-device (e.g. qt:widget) can only be used when @@ -108,8 +108,8 @@ (let ((object (make-instance 'qt:object))) - (setf (qt:property object :object-name) "Foo") - (assert (string= "Foo" (qt:property object "objectName")))) + (setf (qt:property object :object-name) "Foo") + (assert (string= "Foo" (qt:property object "objectName")))) @@ -132,7 +132,7 @@ - + @@ -140,14 +140,14 @@ - + <filename>hello-world_de.po</filename> - + @@ -178,13 +178,13 @@ - + - + @@ -196,13 +196,13 @@ - + - + @@ -244,7 +244,7 @@ - + CommonQt tutorial 14 diff -rN -u old-doc/smoke.xml new-doc/smoke.xml --- old-doc/smoke.xml 2014-10-30 07:10:55.000000000 +0100 +++ new-doc/smoke.xml 2014-10-30 07:10:55.000000000 +0100 @@ -30,14 +30,14 @@ (let ((parent (make-instance 'qt:object))) - (make-instance 'qt:object :args (list parent))) + (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)) + (make-instance 'qt:object :arg0 parent)) @@ -46,8 +46,20 @@ (defclass my-object (qt:object) - () - (:metaclass cxx:class)) + () + (:metaclass cxx:class)) + +(make-instance 'my-object) + + +The first superclass must be a Smoke class. When you define a class that has several Smoke superclasses, +they will be constructed with their default constructor. For the first Smoke superclass you can supply arguments +with the :args and :arg0 etc. keywords. + + +(defclass my-graphics-object (qt:object qt:graphics-item) + () + (:metaclass cxx:class)) @@ -109,12 +121,12 @@ (defclass the-object-does-nothing (qt:object) - () - (:metaclass cxx:class)) + () + (:metaclass cxx:class)) (defmethod cxx:timer-event ((object the-object-does-nothing) event) - (declare (ignore object event)) - (call-next-method)) + (declare (ignore object event)) + (call-next-method)) @@ -197,9 +209,9 @@
Constants - C++ Class enums available as constants. E.g.: - QColor::Rgb is qt:color.+rgb+. - See :cxx-support. + C++ Class enums available as constants. E.g.: + QColor::Rgb is qt:color.+rgb+. + See :cxx-support.
@@ -215,7 +227,7 @@
- Ownership transfer for non QObject instances is mostly unimplemented. + Ownership transfer for non QObject instances is mostly unimplemented.