src/hbplugins/devicedialogs/deviceprogressdialogplugin/hbdeviceprogressdialogwidget_p.h
equal
deleted
inserted
replaced
40 { |
40 { |
41 Q_OBJECT |
41 Q_OBJECT |
42 Q_PROPERTY(QString iconName READ iconName WRITE setIconName) |
42 Q_PROPERTY(QString iconName READ iconName WRITE setIconName) |
43 Q_PROPERTY(QString animationDefinition READ animationDefinition WRITE setAnimationDefinition) |
43 Q_PROPERTY(QString animationDefinition READ animationDefinition WRITE setAnimationDefinition) |
44 Q_PROPERTY(QString cancelAction READ cancelAction WRITE setCancelAction) |
44 Q_PROPERTY(QString cancelAction READ cancelAction WRITE setCancelAction) |
|
45 Q_PROPERTY(int showLevel READ showLevel WRITE setShowLevel) |
45 |
46 |
46 public: |
47 public: |
47 HbDeviceProgressDialogWidget(HbProgressDialog::ProgressDialogType progressDialogType, const QVariantMap ¶meters); |
48 HbDeviceProgressDialogWidget(HbProgressDialog::ProgressDialogType progressDialogType, const QVariantMap ¶meters); |
48 ~HbDeviceProgressDialogWidget(); |
49 ~HbDeviceProgressDialogWidget(); |
49 |
50 |
67 QString iconName() const; |
68 QString iconName() const; |
68 void setIconName(QString &iconName); |
69 void setIconName(QString &iconName); |
69 QString cancelAction() const; |
70 QString cancelAction() const; |
70 void setCancelAction(QString &actionData); |
71 void setCancelAction(QString &actionData); |
71 void hideEvent(QHideEvent *event); |
72 void hideEvent(QHideEvent *event); |
72 void showEvent(QShowEvent *event); |
73 void closeEvent(QCloseEvent *event); |
73 void setAnimationDefinition(QString &animationDefinition); |
74 void setAnimationDefinition(QString &animationDefinition); |
74 QString animationDefinition() const; |
75 QString animationDefinition() const; |
|
76 void setShowLevel(int level); |
|
77 int showLevel() const; |
75 |
78 |
76 QAction *action(ActionIndex index) const; |
79 QAction *action(ActionIndex index) const; |
77 static void parseActionData(QString &data); |
80 static void parseActionData(QString &data); |
78 signals: |
81 signals: |
79 void deviceDialogClosed(); |
82 void deviceDialogClosed(); |
84 |
87 |
85 int mLastError; |
88 int mLastError; |
86 QString mIconName; |
89 QString mIconName; |
87 HbAction *mAction; |
90 HbAction *mAction; |
88 HbProgressDialog::ProgressDialogType mProgressDialogType; |
91 HbProgressDialog::ProgressDialogType mProgressDialogType; |
89 bool mShowEventReceived; |
92 bool mCloseEventReceived; |
90 QString mAnimationDefinition; |
93 QString mAnimationDefinition; |
91 }; |
94 }; |
92 |
95 |
93 #endif // HBDEVICEPROGRESSDIALOGWIDGET_P_H |
96 #endif // HBDEVICEPROGRESSDIALOGWIDGET_P_H |