diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-05-05 00:21:21 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-05-05 00:21:21 +0200 |
commit | ea5123cb6b30d5ab083ee3821269537b1d31b9f0 (patch) | |
tree | 7f4fc9053b59788a0cfa75a0294b4d7dbfb03aa9 /libsowatch/watchlet.h | |
parent | 7a284b847a98575f069b0f2d79fa8c905c7a3c23 (diff) | |
download | sowatch-ea5123cb6b30d5ab083ee3821269537b1d31b9f0.tar.gz sowatch-ea5123cb6b30d5ab083ee3821269537b1d31b9f0.zip |
reduce the number of qdeclarativeengine instances
Diffstat (limited to 'libsowatch/watchlet.h')
-rw-r--r-- | libsowatch/watchlet.h | 8 |
1 files changed, 4 insertions, 4 deletions
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: |