QS60MainApplication Class Reference

The QS60MainApplication class provides support for migration from S60.

  1. #include <QS60MainApplication>

This class was introduced in Qt 4.6.

Detailed Description

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.

Public Functions

Toggle details QS60MainApplication

QS60MainApplicationQS60MainApplication () ()

Contructs an instance of QS60MainApplication.

Look up this member in the source code.

Toggle details QS60MainApplication

~QS60MainApplication~QS60MainApplication () () [virtual]

Destroys the QS60MainApplication.

Look up this member in the source code.

Toggle details TUid QS60MainApplication

AppDllUidAppDllUid () ()const [virtual]

Returns the UID of the application.

Look up this member in the source code.

Toggle details CApaDocument * QS60MainApplication

CreateDocumentLCreateDocumentL () () [virtual protected]

Creates an instance of QS60MainDocument.

See also QS60MainDocument.

Look up this member in the source code.

Toggle details TFileName QS60MainApplication

ResourceFileNameResourceFileName () ()const [virtual]

Returns the resource file name.

Look up this member in the source code.

    Notes provided by the Qt Community

    No notes