The QS60MainApplication class provides support for migration from S60. More...
#include <QS60MainApplication>
This class was introduced in Qt 4.6.
QS60MainApplication () | |
virtual | ~QS60MainApplication () |
virtual TUid | AppDllUid () const |
virtual TFileName | ResourceFileName () const |
virtual CApaDocument * | CreateDocumentL () |
The QS60MainApplication class provides support for migration from S60.
Warning: This class is provided only to get access to S60 specific functionality in the application framework classes. It is not portable. We strongly recommend against using it in new applications.
The QS60MainApplication provides a helper class for use in migrating from existing S60 based applications to Qt based applications. It is used in the exact same way as the CEikApplication class from Symbian, but internally provides extensions used by Qt.
When modifying old S60 applications that rely on implementing functions in CEikApplication, the class should be modified to inherit from this class instead of CEikApplication. Then the application can choose to override only certain functions. To make Qt use the custom application objects, pass a factory function to QApplication::QApplication(QApplication::QS60MainApplicationFactory, int &, char **).
For more information on CEikApplication, please see the S60 documentation.
Unlike other Qt classes, QS60MainApplication behaves like an S60 class, and can throw Symbian leaves.
See also QS60MainDocument, QS60MainAppUi, and QApplication::QS60MainApplicationFactory.
Contructs an instance of QS60MainApplication.
Destroys the QS60MainApplication.
Returns the UID of the application.
Creates an instance of QS60MainDocument.
See also QS60MainDocument.
Returns the resource file name.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.