src/hbplugins/devicedialogs/devicenotificationdialogplugin/hbdevicenotificationdialogwidget_p.h
changeset 34 ed14f46c0e55
parent 0 16d8024aca5e
--- a/src/hbplugins/devicedialogs/devicenotificationdialogplugin/hbdevicenotificationdialogwidget_p.h	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbplugins/devicedialogs/devicenotificationdialogplugin/hbdevicenotificationdialogwidget_p.h	Mon Oct 18 18:23:13 2010 +0300
@@ -39,6 +39,7 @@
     Q_PROPERTY(QString iconName READ iconName WRITE setIconName)
     Q_PROPERTY(bool touchActivation READ isTouchActivating WRITE enableTouchActivation)
     Q_PROPERTY(QString animationDefinition READ animationDefinition WRITE setAnimationDefinition)
+    Q_PROPERTY(int showLevel READ showLevel WRITE setShowLevel)
 
 public:
     HbDeviceNotificationDialogWidget(const QVariantMap &parameters);
@@ -62,7 +63,10 @@
     void setIconName(QString iconName);
 
     void hideEvent(QHideEvent *event);
-    void showEvent(QShowEvent *event);
+    void closeEvent(QCloseEvent *event);
+
+    void setShowLevel(int level);
+    int showLevel() const;
 
     QString animationDefinition() const;
     void setAnimationDefinition(QString &animationDefinition);
@@ -76,7 +80,7 @@
 
     int mLastError;
     QString mIconFilename;
-    bool mShowEventReceived;
+    bool mCloseEventReceived;
     QString mAnimationDefinition;
 };