From a4f6d04436ff02f0c8a5b6e6f2427e823a18f0d4 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Tue, 12 Sep 2017 09:44:39 +0200 Subject: cpoy over example texteditor code and expose it through the framewoks plugin --- framework/src/frameworkplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/src/frameworkplugin.cpp') diff --git a/framework/src/frameworkplugin.cpp b/framework/src/frameworkplugin.cpp index 8fd457fc..b8cad45d 100644 --- a/framework/src/frameworkplugin.cpp +++ b/framework/src/frameworkplugin.cpp @@ -29,6 +29,7 @@ #include "domain/mouseproxy.h" #include "domain/contactcontroller.h" #include "domain/peoplemodel.h" +#include "domain/documenthandler.h" #include "accounts/accountsmodel.h" #include "accounts/accountfactory.h" #include "settings/settings.h" @@ -65,6 +66,7 @@ void FrameworkPlugin::registerTypes (const char *uri) qmlRegisterType(uri, 1, 0, "MouseProxy"); qmlRegisterType(uri, 1, 0,"ContactController"); qmlRegisterType(uri, 1, 0,"PeopleModel"); + qmlRegisterType(uri, 1, 0, "DocumentHandler"); qmlRegisterType(uri, 1, 0, "AccountFactory"); qmlRegisterType(uri, 1, 0, "AccountsModel"); -- cgit v1.2.3