summaryrefslogtreecommitdiffstats
path: root/framework/mail/mailplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/mail/mailplugin.cpp')
-rw-r--r--framework/mail/mailplugin.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/framework/mail/mailplugin.cpp b/framework/mail/mailplugin.cpp
new file mode 100644
index 00000000..b9800541
--- /dev/null
+++ b/framework/mail/mailplugin.cpp
@@ -0,0 +1,13 @@
1#include "mailplugin.h"
2
3#include "maillistcontroller.h"
4#include "maillistmodel.h"
5
6#include <QtQml>
7
8void MailPlugin::registerTypes (const char *uri)
9{
10 Q_ASSERT(uri == QLatin1String("org.kde.akonadi2.mail"));
11 qmlRegisterType<MailListController>(uri, 1, 0, "MailList");
12 qmlRegisterType<MailListModel>(uri, 1, 0, "MailListModel");
13} \ No newline at end of file