summaryrefslogtreecommitdiffstats
path: root/framework/src/frameworkplugin.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-12-25 21:26:18 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-06-29 10:08:45 +0200
commit7ce196b5552b2acfa2d54e46809dd4248b63a156 (patch)
treed6084c4d475d7f7f1b5d773e0b8ab0deed105b43 /framework/src/frameworkplugin.cpp
parentd9025884b9c9d9c604f21d486ca318e312518cf2 (diff)
downloadkube-7ce196b5552b2acfa2d54e46809dd4248b63a156.tar.gz
kube-7ce196b5552b2acfa2d54e46809dd4248b63a156.zip
Load files from qml
Diffstat (limited to 'framework/src/frameworkplugin.cpp')
-rw-r--r--framework/src/frameworkplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/src/frameworkplugin.cpp b/framework/src/frameworkplugin.cpp
index bfedc752..b5635733 100644
--- a/framework/src/frameworkplugin.cpp
+++ b/framework/src/frameworkplugin.cpp
@@ -45,6 +45,7 @@
45#include "domainobjectcontroller.h" 45#include "domainobjectcontroller.h"
46#include "extensionmodel.h" 46#include "extensionmodel.h"
47#include "viewhighlighter.h" 47#include "viewhighlighter.h"
48#include "file.h"
48 49
49#include <QtQml> 50#include <QtQml>
50#include <QQuickImageProvider> 51#include <QQuickImageProvider>
@@ -181,6 +182,7 @@ void FrameworkPlugin::registerTypes (const char *uri)
181 qmlRegisterType<AccountFactory>(uri, 1, 0, "AccountFactory"); 182 qmlRegisterType<AccountFactory>(uri, 1, 0, "AccountFactory");
182 qmlRegisterType<AccountsModel>(uri, 1, 0, "AccountsModel"); 183 qmlRegisterType<AccountsModel>(uri, 1, 0, "AccountsModel");
183 qmlRegisterType<Kube::ExtensionModel>(uri, 1, 0, "ExtensionModel"); 184 qmlRegisterType<Kube::ExtensionModel>(uri, 1, 0, "ExtensionModel");
185 qmlRegisterType<Kube::File>(uri, 1, 0, "File");
184 186
185 qmlRegisterType<Kube::Settings>(uri, 1, 0, "Settings"); 187 qmlRegisterType<Kube::Settings>(uri, 1, 0, "Settings");
186 188