diff options
Diffstat (limited to 'framework/mail/mailplugin.cpp')
-rw-r--r-- | framework/mail/mailplugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/mail/mailplugin.cpp b/framework/mail/mailplugin.cpp index ea8a5ec9..36c75e7f 100644 --- a/framework/mail/mailplugin.cpp +++ b/framework/mail/mailplugin.cpp | |||
@@ -2,8 +2,9 @@ | |||
2 | 2 | ||
3 | #include "maillistcontroller.h" | 3 | #include "maillistcontroller.h" |
4 | #include "maillistmodel.h" | 4 | #include "maillistmodel.h" |
5 | #include <QAbstractItemModel> | 5 | #include "singlemailcontroller.h" |
6 | 6 | ||
7 | #include <QAbstractItemModel> | ||
7 | #include <QtQml> | 8 | #include <QtQml> |
8 | 9 | ||
9 | void MailPlugin::registerTypes (const char *uri) | 10 | void MailPlugin::registerTypes (const char *uri) |
@@ -11,4 +12,5 @@ void MailPlugin::registerTypes (const char *uri) | |||
11 | Q_ASSERT(uri == QLatin1String("org.kde.akonadi2.mail")); | 12 | Q_ASSERT(uri == QLatin1String("org.kde.akonadi2.mail")); |
12 | qmlRegisterType<QAbstractItemModel>(); | 13 | qmlRegisterType<QAbstractItemModel>(); |
13 | qmlRegisterType<MailListController>(uri, 1, 0, "MailList"); | 14 | qmlRegisterType<MailListController>(uri, 1, 0, "MailList"); |
15 | qmlRegisterType<SingleMailController>(uri, 1, 0, "SingleMail"); | ||
14 | } | 16 | } |