summaryrefslogtreecommitdiff
path: root/libsowatch/testdeclarativewatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/testdeclarativewatchlet.cpp')
-rw-r--r--libsowatch/testdeclarativewatchlet.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libsowatch/testdeclarativewatchlet.cpp b/libsowatch/testdeclarativewatchlet.cpp
new file mode 100644
index 0000000..432d525
--- /dev/null
+++ b/libsowatch/testdeclarativewatchlet.cpp
@@ -0,0 +1,9 @@
+#include "testdeclarativewatchlet.h"
+
+using namespace sowatch;
+
+TestDeclarativeWatchlet::TestDeclarativeWatchlet(WatchServer* server) :
+ DeclarativeWatchlet(server, "com.javispedro.sowatch.testdeclarativewatchlet")
+{
+ setSource(QUrl("qrc:/testdeclarativewatchlet.qml"));
+}