diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-08 19:34:26 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-08 19:34:26 +0100 |
commit | 2d9944bd0b5cd1dd202d9dc6318d612e1aca4241 (patch) | |
tree | d9fbc3d48937f18c35cbb1000b4310a9d6162800 /framework/src/frameworkplugin.cpp | |
parent | d3e1aa3fa1d64360c9dc31edb17072f456ddfba4 (diff) | |
download | kube-2d9944bd0b5cd1dd202d9dc6318d612e1aca4241.tar.gz kube-2d9944bd0b5cd1dd202d9dc6318d612e1aca4241.zip |
Load extensions with a model
Diffstat (limited to 'framework/src/frameworkplugin.cpp')
-rw-r--r-- | framework/src/frameworkplugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/src/frameworkplugin.cpp b/framework/src/frameworkplugin.cpp index f768be1b..b0e2f9c9 100644 --- a/framework/src/frameworkplugin.cpp +++ b/framework/src/frameworkplugin.cpp | |||
@@ -41,6 +41,7 @@ | |||
41 | #include "keyring.h" | 41 | #include "keyring.h" |
42 | #include "controller.h" | 42 | #include "controller.h" |
43 | #include "domainobjectcontroller.h" | 43 | #include "domainobjectcontroller.h" |
44 | #include "extensionmodel.h" | ||
44 | 45 | ||
45 | #include <QtQml> | 46 | #include <QtQml> |
46 | #include <QQuickImageProvider> | 47 | #include <QQuickImageProvider> |
@@ -130,6 +131,7 @@ void FrameworkPlugin::registerTypes (const char *uri) | |||
130 | 131 | ||
131 | qmlRegisterType<AccountFactory>(uri, 1, 0, "AccountFactory"); | 132 | qmlRegisterType<AccountFactory>(uri, 1, 0, "AccountFactory"); |
132 | qmlRegisterType<AccountsModel>(uri, 1, 0, "AccountsModel"); | 133 | qmlRegisterType<AccountsModel>(uri, 1, 0, "AccountsModel"); |
134 | qmlRegisterType<Kube::ExtensionModel>(uri, 1, 0, "ExtensionModel"); | ||
133 | 135 | ||
134 | qmlRegisterType<Kube::Settings>(uri, 1, 0, "Settings"); | 136 | qmlRegisterType<Kube::Settings>(uri, 1, 0, "Settings"); |
135 | 137 | ||