src/hbplugins/devicedialogs/deviceprogressdialogplugin/hbdeviceprogressdialogwidget.cpp
changeset 23 e6ad4ef83b23
parent 2 06ff229162e9
--- a/src/hbplugins/devicedialogs/deviceprogressdialogplugin/hbdeviceprogressdialogwidget.cpp	Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbplugins/devicedialogs/deviceprogressdialogplugin/hbdeviceprogressdialogwidget.cpp	Thu Sep 02 20:44:51 2010 +0300
@@ -208,7 +208,7 @@
 {
     TRACE_ENTRY
     QAction *act = action(Cancel);
-	QString actionData;
+    QString actionData;
     if (act) {
         actionData.append(actionTextTag);
         actionData.append(act->text());
@@ -277,6 +277,17 @@
     mAnimationDefinition = animationDefinition;
 }
 
+void HbDeviceProgressDialogWidget::setShowLevel(int level)
+{
+    // Level can only be set on construction
+    Q_UNUSED(level)
+}
+
+int HbDeviceProgressDialogWidget::showLevel() const
+{
+    return 0;
+}
+
 // Widget is about to hide. Closing effect has ended.
 void HbDeviceProgressDialogWidget::hideEvent(QHideEvent *event)
 {