diff -r 7516d6d86cf5 -r ed14f46c0e55 src/hbplugins/devicedialogs/deviceprogressdialogplugin/hbdeviceprogressdialogwidget_p.h --- a/src/hbplugins/devicedialogs/deviceprogressdialogplugin/hbdeviceprogressdialogwidget_p.h Mon Oct 04 17:49:30 2010 +0300 +++ b/src/hbplugins/devicedialogs/deviceprogressdialogplugin/hbdeviceprogressdialogwidget_p.h Mon Oct 18 18:23:13 2010 +0300 @@ -42,6 +42,7 @@ Q_PROPERTY(QString iconName READ iconName WRITE setIconName) Q_PROPERTY(QString animationDefinition READ animationDefinition WRITE setAnimationDefinition) Q_PROPERTY(QString cancelAction READ cancelAction WRITE setCancelAction) + Q_PROPERTY(int showLevel READ showLevel WRITE setShowLevel) public: HbDeviceProgressDialogWidget(HbProgressDialog::ProgressDialogType progressDialogType, const QVariantMap ¶meters); @@ -69,9 +70,11 @@ QString cancelAction() const; void setCancelAction(QString &actionData); void hideEvent(QHideEvent *event); - void showEvent(QShowEvent *event); + void closeEvent(QCloseEvent *event); void setAnimationDefinition(QString &animationDefinition); QString animationDefinition() const; + void setShowLevel(int level); + int showLevel() const; QAction *action(ActionIndex index) const; static void parseActionData(QString &data); @@ -86,7 +89,7 @@ QString mIconName; HbAction *mAction; HbProgressDialog::ProgressDialogType mProgressDialogType; - bool mShowEventReceived; + bool mCloseEventReceived; QString mAnimationDefinition; };