diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-10 11:57:08 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-10 11:57:08 +0100 |
commit | 9bfadc71a4fb694ae3946711d04acdfe009264c0 (patch) | |
tree | 883c944c166e8b31862ba2a898ab6aed1944b0aa /framework/domain/mailplugin.cpp | |
parent | d0617d0ad6926c250e29d1a40db93733fa911e5d (diff) | |
download | kube-9bfadc71a4fb694ae3946711d04acdfe009264c0.tar.gz kube-9bfadc71a4fb694ae3946711d04acdfe009264c0.zip |
A factory to load account plugins.
Diffstat (limited to 'framework/domain/mailplugin.cpp')
-rw-r--r-- | framework/domain/mailplugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/domain/mailplugin.cpp b/framework/domain/mailplugin.cpp index c45666c1..dd438114 100644 --- a/framework/domain/mailplugin.cpp +++ b/framework/domain/mailplugin.cpp | |||
@@ -25,6 +25,7 @@ | |||
25 | #include "composercontroller.h" | 25 | #include "composercontroller.h" |
26 | #include "messageparser.h" | 26 | #include "messageparser.h" |
27 | #include "retriever.h" | 27 | #include "retriever.h" |
28 | #include "accountfactory.h" | ||
28 | 29 | ||
29 | #include <QtQml> | 30 | #include <QtQml> |
30 | 31 | ||
@@ -37,4 +38,5 @@ void MailPlugin::registerTypes (const char *uri) | |||
37 | qmlRegisterType<ComposerController>(uri, 1, 0, "ComposerController"); | 38 | qmlRegisterType<ComposerController>(uri, 1, 0, "ComposerController"); |
38 | qmlRegisterType<MessageParser>(uri, 1, 0, "MessageParser"); | 39 | qmlRegisterType<MessageParser>(uri, 1, 0, "MessageParser"); |
39 | qmlRegisterType<Retriever>(uri, 1, 0, "Retriever"); | 40 | qmlRegisterType<Retriever>(uri, 1, 0, "Retriever"); |
41 | qmlRegisterType<AccountFactory>(uri, 1, 0, "AccountFactory"); | ||
40 | } | 42 | } |