summaryrefslogtreecommitdiff
path: root/metawatch/metawatchplugin.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-09 18:50:23 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-09 18:50:23 +0200
commitbc5b70046e84c6e5a33a19bd2e64e626fdf0579e (patch)
tree49452d6add3626d527b19298acd1587de167350b /metawatch/metawatchplugin.cpp
parentc7c6a2c596637fd4942c7fb80341ca2ef7b47808 (diff)
downloadsowatch-bc5b70046e84c6e5a33a19bd2e64e626fdf0579e.tar.gz
sowatch-bc5b70046e84c6e5a33a19bd2e64e626fdf0579e.zip
first UI editable settings!
Diffstat (limited to 'metawatch/metawatchplugin.cpp')
-rw-r--r--metawatch/metawatchplugin.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/metawatch/metawatchplugin.cpp b/metawatch/metawatchplugin.cpp
index 72713ec..f73c127 100644
--- a/metawatch/metawatchplugin.cpp
+++ b/metawatch/metawatchplugin.cpp
@@ -39,6 +39,15 @@ WatchScanner* MetaWatchPlugin::getScanner(QObject *parent)
return new MetaWatchScanner(parent);
}
+QUrl MetaWatchPlugin::getConfigQmlUrl(const QString &driver)
+{
+ if (driver == "metawatch-digital") {
+ return QUrl::fromLocalFile(SOWATCH_QML_DIR "/metawatch-digital-config.qml");
+ } else {
+ return QUrl();
+ }
+}
+
Watch* MetaWatchPlugin::getWatch(const QString& driver, ConfigKey* settings, QObject *parent)
{
if (driver == "metawatch-digital") {