Sat Apr 3 21:12:53 CEST 2010 Tobias Rautenkranz * KDE is split up in kde.ui and kde.core. Sat Apr 3 21:12:32 CEST 2010 Tobias Rautenkranz * C++ member variable access diff -rN -u old-doc/introduction.xml new-doc/introduction.xml --- old-doc/introduction.xml 2014-10-30 08:23:01.000000000 +0100 +++ new-doc/introduction.xml 2014-10-30 08:23:01.000000000 +0100 @@ -103,6 +103,11 @@ darcs get "http://tobias.rautenkranz.ch/lisp/cl-smoke/$r" done + + + There are also the following repositories: qt.svg qt.dbus kde.core kde.ui kde.tests kde.examples + + Build and install the :smoke and :qt.core C wrapper libraries with: diff -rN -u old-doc/kde.xml new-doc/kde.xml --- old-doc/kde.xml 2014-10-30 08:23:01.000000000 +0100 +++ new-doc/kde.xml 2014-10-30 08:23:01.000000000 +0100 @@ -3,14 +3,12 @@ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> KDE - - The KDE bindings are not yet split up in kde.core - etc. and thus are currently not functional. +To use the KDE libraries use the :cl-smoke.kde.ui +(Depends on :cl-smoke.kde.core). - -Besides the :kde package there +Besides these packages there is :kde.tests for the unit tests and :kde.examples containing the examples. @@ -19,7 +17,7 @@ The examples can be run with: -(mb:load :kde.examples) +(asdf:oos 'asdf:load-op :cl-smoke.kde.examples) And then running the function of the example; e.g.: diff -rN -u old-doc/qt.xml new-doc/qt.xml --- old-doc/qt.xml 2014-10-30 08:23:01.000000000 +0100 +++ new-doc/qt.xml 2014-10-30 08:23:01.000000000 +0100 @@ -61,6 +61,11 @@ a qt:application instance exists. When there are, for example, qt:widget instances at the end of qt:with-app, they are deleted by the qt:application destructor. + +Custom cxx:paint-event methods can use qt:with-painter +to ensure that the qt:painter is deactivated at the end of the method. + +
Interactive Development The :cl-smoke.repl allows you to start a qt:application event loop in the background for diff -rN -u old-doc/smoke.xml new-doc/smoke.xml --- old-doc/smoke.xml 2014-10-30 08:23:01.000000000 +0100 +++ new-doc/smoke.xml 2014-10-30 08:23:01.000000000 +0100 @@ -212,6 +212,20 @@
+
Member variables + +C++ member variables of an instance can be accessed by using slot-value; e.g.: + +(slot-value (make-instance 'qt:object) :static-meta-object) + +or + +(slot-value (find-class 'qt:object) :static-meta-object) + +Usually they can also be accessed using methods from the :cxx package. + +
+
Garbage Collection You should be able to use C++ Class instances like normal Lisp object.