src/hbplugins/devicedialogs/devicenotificationdialogplugin/hbdevicenotificationdialogwidget_p.h
--- 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 ¶meters);
@@ -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;
};