From ea5123cb6b30d5ab083ee3821269537b1d31b9f0 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 5 May 2013 00:21:21 +0200 Subject: reduce the number of qdeclarativeengine instances --- libsowatch/watchlet.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libsowatch/watchlet.h') diff --git a/libsowatch/watchlet.h b/libsowatch/watchlet.h index f442086..66ec874 100644 --- a/libsowatch/watchlet.h +++ b/libsowatch/watchlet.h @@ -14,11 +14,11 @@ class SOWATCH_EXPORT Watchlet : public QObject { Q_OBJECT Q_PROPERTY(QString id READ id CONSTANT) - Q_PROPERTY(bool isActive READ isActive NOTIFY activeChanged) + Q_PROPERTY(bool active READ isActive NOTIFY activeChanged) public: - explicit Watchlet(WatchServer *server, const QString& id); - virtual ~Watchlet(); + Watchlet(WatchServer *server, const QString& id); + ~Watchlet(); WatchServer* server(); Watch* watch(); @@ -26,7 +26,7 @@ public: const WatchServer* server() const; const Watch* watch() const; - Q_INVOKABLE QString id() const; + QString id() const; bool isActive() const; signals: -- cgit v1.2.3