summaryrefslogtreecommitdiff
path: root/libsowatch
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch')
-rw-r--r--libsowatch/graphicswatchlet.h5
-rw-r--r--libsowatch/notification.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/libsowatch/graphicswatchlet.h b/libsowatch/graphicswatchlet.h
index 61b68bf..6456a18 100644
--- a/libsowatch/graphicswatchlet.h
+++ b/libsowatch/graphicswatchlet.h
@@ -20,8 +20,8 @@ public:
QGraphicsScene* scene();
void setScene(QGraphicsScene* scene);
- static const int frameDelay = 20;
- static const int busyFrameDelay = 40;
+ static const int frameDelay = 25;
+ static const int busyFrameDelay = 50;
protected:
void activate();
@@ -35,7 +35,6 @@ private slots:
void frameTimeout();
private:
-
QRegion _damaged;
};
diff --git a/libsowatch/notification.h b/libsowatch/notification.h
index 3505c44..1af0264 100644
--- a/libsowatch/notification.h
+++ b/libsowatch/notification.h
@@ -13,6 +13,12 @@ class SOWATCH_EXPORT Notification : public QObject
{
Q_OBJECT
Q_ENUMS(Type)
+ Q_PROPERTY(Type type READ type)
+ Q_PROPERTY(uint count READ count)
+ Q_PROPERTY(QDateTime dateTime READ dateTime)
+ Q_PROPERTY(QString title READ title)
+ Q_PROPERTY(QString body READ body)
+ Q_PROPERTY(QImage image READ image)
public:
enum Type {