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