summaryrefslogtreecommitdiff
path: root/metawatchwatchlets/metawatchfacewatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'metawatchwatchlets/metawatchfacewatchlet.cpp')
-rw-r--r--metawatchwatchlets/metawatchfacewatchlet.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/metawatchwatchlets/metawatchfacewatchlet.cpp b/metawatchwatchlets/metawatchfacewatchlet.cpp
new file mode 100644
index 0000000..5b03e42
--- /dev/null
+++ b/metawatchwatchlets/metawatchfacewatchlet.cpp
@@ -0,0 +1,11 @@
+#include "metawatchfacewatchlet.h"
+
+using namespace sowatch;
+
+const QLatin1String MetaWatchFaceWatchlet::myId("com.javispedro.sowatch.metawatch.watchface");
+
+MetaWatchFaceWatchlet::MetaWatchFaceWatchlet(Watch *watch) :
+ DeclarativeWatchlet(watch, myId)
+{
+ setSource(QUrl(SOWATCH_QML_DIR "/metawatchwatchlets/" + watch->model() + "-watchface.qml"));
+}