equal
deleted
inserted
replaced
23 |
23 |
24 #include <QFileInfo> |
24 #include <QFileInfo> |
25 #include <QObject> |
25 #include <QObject> |
26 #include <QRectF> |
26 #include <QRectF> |
27 #include <QDate> |
27 #include <QDate> |
|
28 #include <hbmenu> |
28 |
29 |
29 class QGraphicsWidget; |
30 class QGraphicsWidget; |
30 |
31 |
31 /** |
32 /** |
32 * @ingroup group_ftuwizardmodel |
33 * @ingroup group_ftuwizardmodel |
33 * @brief Represents a wizard plugin visualization information. |
34 * @brief Represents a wizard plugin visualization information. |
34 * |
35 * |
35 * FtuWizardSetting struct contains the information needed to construct the GUI in |
36 * FtuWizardSetting struct contains the information needed to construct the GUI in |
106 * Called by the FTU fw during initialize cycle of the wizard, it is during |
107 * Called by the FTU fw during initialize cycle of the wizard, it is during |
107 * this phase the wizard widget |
108 * this phase the wizard widget |
108 * usually creates its initial view. |
109 * usually creates its initial view. |
109 * Once the initialization is done, wizardInitialized signal must be |
110 * Once the initialization is done, wizardInitialized signal must be |
110 * emitted. |
111 * emitted. |
111 * @since S60 ?S60_version. |
112 * @param cenrepOwnerId Id of the owner of Cenrep holding wizard completion Information. |
112 */ |
113 * @param wizardIdx Index of the Cenrep key for a wizard. |
113 virtual void initializeWizard() = 0; |
114 * If wizard is invoking another application, it should provide cenrepOwnerId and wizardIdx |
|
115 * to the application. Application should write 1 into the wizardIdx cenrep on completion. |
|
116 |
|
117 * @since S60 ?S60_version. |
|
118 */ |
|
119 virtual void initializeWizard(qint32 cenrepOwnerId, int wizardIdx) = 0; |
114 |
120 |
115 /** |
121 /** |
116 * Called by the FTU fw when the wizard becomes the current wizard. |
122 * Called by the FTU fw when the wizard becomes the current wizard. |
117 * @since S60 ?S60_version. |
123 * @since S60 ?S60_version. |
118 */ |
124 */ |
239 * Note that this signal does not need to be emitted if true is returned |
245 * Note that this signal does not need to be emitted if true is returned |
240 * from shutdownWizard. |
246 * from shutdownWizard. |
241 * @param caller The calling wizard plugin instance. |
247 * @param caller The calling wizard plugin instance. |
242 */ |
248 */ |
243 void shutdownCompleted(FtuWizard *caller); |
249 void shutdownCompleted(FtuWizard *caller); |
244 |
250 |
|
251 /** |
|
252 * Emit this signal to indicate that the wizard plugin wants a custom view menu to be shown. |
|
253 * from shutdownWizard. |
|
254 * @param caller The calling wizard plugin instance. |
|
255 * @param menu The HbMenu instance that needs to be shown on the view |
|
256 */ |
|
257 void updateMainMenu(FtuWizard *caller, HbMenu * menu); |
|
258 |
245 }; |
259 }; |
246 |
260 |
247 #endif // FTUWIZARD_H |
261 #endif // FTUWIZARD_H |
248 |
262 |