summaryrefslogtreecommitdiff
path: root/sowatchui/main.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-10 14:02:07 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-10 14:02:07 +0200
commitb9082fda48bb026fc4e6148efeba9aabf608373a (patch)
treef4f2c498adc8009d082aecc7df2458c2bcf99c15 /sowatchui/main.cpp
parent3ca0764c683f8c6498b80f8d8410eca96cc9a793 (diff)
downloadsowatch-b9082fda48bb026fc4e6148efeba9aabf608373a.tar.gz
sowatch-b9082fda48bb026fc4e6148efeba9aabf608373a.zip
NotificationProviders UI
Diffstat (limited to 'sowatchui/main.cpp')
-rw-r--r--sowatchui/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sowatchui/main.cpp b/sowatchui/main.cpp
index af2a0c0..5e116ac 100644
--- a/sowatchui/main.cpp
+++ b/sowatchui/main.cpp
@@ -6,6 +6,7 @@
#include "watchesmodel.h"
#include "watchscannermodel.h"
+#include "providersmodel.h"
static sowatch::Registry *registry;
static WatchesModel *watches;
@@ -24,6 +25,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
qmlRegisterType<sowatch::ConfigKey>();
qmlRegisterType<sowatch::GConfKey>("com.javispedro.sowatch", 1, 0, "GConfKey");
+ qmlRegisterType<ProvidersModel>("com.javispedro.sowatch", 1, 0, "ProvidersModel");
viewer->rootContext()->setContextProperty("watches", watches);
viewer->rootContext()->setContextProperty("watchScanner", watchScanner);