diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-09 18:50:23 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-09 18:50:23 +0200 |
commit | bc5b70046e84c6e5a33a19bd2e64e626fdf0579e (patch) | |
tree | 49452d6add3626d527b19298acd1587de167350b /metawatch/metawatchplugin.cpp | |
parent | c7c6a2c596637fd4942c7fb80341ca2ef7b47808 (diff) | |
download | sowatch-bc5b70046e84c6e5a33a19bd2e64e626fdf0579e.tar.gz sowatch-bc5b70046e84c6e5a33a19bd2e64e626fdf0579e.zip |
first UI editable settings!
Diffstat (limited to 'metawatch/metawatchplugin.cpp')
-rw-r--r-- | metawatch/metawatchplugin.cpp | 9 |
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") { |