From bc5b70046e84c6e5a33a19bd2e64e626fdf0579e Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Thu, 9 Aug 2012 18:50:23 +0200 Subject: first UI editable settings! --- libsowatch/declarativewatchlet.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libsowatch/declarativewatchlet.cpp') diff --git a/libsowatch/declarativewatchlet.cpp b/libsowatch/declarativewatchlet.cpp index 275af2a..68d6c28 100644 --- a/libsowatch/declarativewatchlet.cpp +++ b/libsowatch/declarativewatchlet.cpp @@ -1,6 +1,7 @@ #include #include #include "watchserver.h" +#include "gconfkey.h" #include "declarativewatchwrapper.h" #include "declarativewatchlet.h" @@ -20,6 +21,8 @@ DeclarativeWatchlet::DeclarativeWatchlet(WatchServer* server, const QString& id) if (!_registered) { qmlRegisterUncreatableType("com.javispedro.sowatch", 1, 0, "Watch", "Watch is only available via the 'watch' object"); + qmlRegisterType(); + qmlRegisterType("com.javispedro.sowatch", 1, 0, "GConfKey"); _registered = true; } -- cgit v1.2.3