diff options
author | axis <qt-info@nokia.com> | 2009-09-22 11:48:38 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-09-23 14:06:36 (GMT) |
commit | 77166549a95056a9e0ac78a1e2248c78406630a4 (patch) | |
tree | c8bf18cd8bac9c0dcd8a686f902a728487e78c81 /doc | |
parent | 4a157ee126fc482cd1954b80f22f790ec544e241 (diff) | |
download | Qt-77166549a95056a9e0ac78a1e2248c78406630a4.zip Qt-77166549a95056a9e0ac78a1e2248c78406630a4.tar.gz Qt-77166549a95056a9e0ac78a1e2248c78406630a4.tar.bz2 |
Added support for using custom application objects on S60.
With this patch, the application developer can use his own
CEikApplication, CEikDocument and CEikAppUi classes with Qt, by
deriving from QS60MainApplication, QSMainDocument and QS60MainAppUi,
respectively. He can then register a factory function in the
QApplication constructor to have his own objects created during the
framework initialization.
This patch also fixes some Qt code style issues.
RevBy: Jason Barron
RevBy: mread
RevBy: Sami Merila
RevBy: Shane Kearns
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/snippets/code/src_corelib_global_qglobal.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/snippets/code/src_corelib_global_qglobal.cpp b/doc/src/snippets/code/src_corelib_global_qglobal.cpp index 3c61281..16b1073 100644 --- a/doc/src/snippets/code/src_corelib_global_qglobal.cpp +++ b/doc/src/snippets/code/src_corelib_global_qglobal.cpp @@ -529,3 +529,6 @@ class MyClass : public QObject qFuzzyCompare(1 + 0.0, 1 + 1.0e-200); // This will return true //! [46] +//! [47] +CApaApplication *myApplicationFactory(); +//! [47] |