69 functionality in the application framework classes. It is not |
69 functionality in the application framework classes. It is not |
70 portable. We strongly recommend against using it in new applications. |
70 portable. We strongly recommend against using it in new applications. |
71 |
71 |
72 The QS60MainApplication provides a helper class for use in migrating |
72 The QS60MainApplication provides a helper class for use in migrating |
73 from existing S60 based applications to Qt based applications. It is |
73 from existing S60 based applications to Qt based applications. It is |
74 used in the exact same way as the \c CAknApplication class from |
74 used in the exact same way as the \c CEikApplication class from |
75 Symbian, but internally provides extensions used by Qt. |
75 Symbian, but internally provides extensions used by Qt. |
76 |
76 |
77 When modifying old S60 applications that rely on implementing |
77 When modifying old S60 applications that rely on implementing |
78 functions in \c CAknApplication, the class should be modified to |
78 functions in \c CEikApplication, the class should be modified to |
79 inherit from this class instead of \c CAknApplication. Then the |
79 inherit from this class instead of \c CEikApplication. Then the |
80 application can choose to override only certain functions. To make |
80 application can choose to override only certain functions. To make |
81 Qt use the custom application objects, pass a factory function to |
81 Qt use the custom application objects, pass a factory function to |
82 \c{QApplication::QApplication(QApplication::QS60MainApplicationFactory, int &, char **)}. |
82 \c{QApplication::QApplication(QApplication::QS60MainApplicationFactory, int &, char **)}. |
83 |
83 |
84 For more information on \c CAknApplication, please see the S60 documentation. |
84 For more information on \c CEikApplication, please see the S60 documentation. |
85 |
85 |
86 Unlike other Qt classes, QS60MainApplication behaves like an S60 class, and can throw Symbian |
86 Unlike other Qt classes, QS60MainApplication behaves like an S60 class, and can throw Symbian |
87 leaves. |
87 leaves. |
88 |
88 |
89 \sa QS60MainDocument, QS60MainAppUi, QApplication::QS60MainApplicationFactory |
89 \sa QS60MainDocument, QS60MainAppUi, QApplication::QS60MainApplicationFactory |