src/hbplugins/devicedialogs/deviceprogressdialogplugin/hbdeviceprogressdialogwidget.cpp
equal
deleted
inserted
replaced
206 |
206 |
207 QString HbDeviceProgressDialogWidget::cancelAction() const |
207 QString HbDeviceProgressDialogWidget::cancelAction() const |
208 { |
208 { |
209 TRACE_ENTRY |
209 TRACE_ENTRY |
210 QAction *act = action(Cancel); |
210 QAction *act = action(Cancel); |
211 QString actionData; |
211 QString actionData; |
212 if (act) { |
212 if (act) { |
213 actionData.append(actionTextTag); |
213 actionData.append(actionTextTag); |
214 actionData.append(act->text()); |
214 actionData.append(act->text()); |
215 } |
215 } |
216 TRACE_EXIT |
216 TRACE_EXIT |
275 HbIconAnimationManager *manager = HbIconAnimationManager::global(); |
275 HbIconAnimationManager *manager = HbIconAnimationManager::global(); |
276 manager->addDefinitionFile(animationDefinition); |
276 manager->addDefinitionFile(animationDefinition); |
277 mAnimationDefinition = animationDefinition; |
277 mAnimationDefinition = animationDefinition; |
278 } |
278 } |
279 |
279 |
|
280 void HbDeviceProgressDialogWidget::setShowLevel(int level) |
|
281 { |
|
282 // Level can only be set on construction |
|
283 Q_UNUSED(level) |
|
284 } |
|
285 |
|
286 int HbDeviceProgressDialogWidget::showLevel() const |
|
287 { |
|
288 return 0; |
|
289 } |
|
290 |
280 // Widget is about to hide. Closing effect has ended. |
291 // Widget is about to hide. Closing effect has ended. |
281 void HbDeviceProgressDialogWidget::hideEvent(QHideEvent *event) |
292 void HbDeviceProgressDialogWidget::hideEvent(QHideEvent *event) |
282 { |
293 { |
283 HbProgressDialog::hideEvent(event); |
294 HbProgressDialog::hideEvent(event); |
284 emit deviceDialogClosed(); |
295 emit deviceDialogClosed(); |