summaryrefslogtreecommitdiffstats
path: root/framework/domain/mailplugin.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-10 21:50:08 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-10 21:50:48 +0100
commite52a02bb77c5292a016d2c14e0730d44d25d4000 (patch)
treebb67d615bd8d699ca0ff2c5996253acf46d5389a /framework/domain/mailplugin.cpp
parentca120180460c7eeefaec9b1f31e5ad8aee32df2d (diff)
downloadkube-e52a02bb77c5292a016d2c14e0730d44d25d4000.tar.gz
kube-e52a02bb77c5292a016d2c14e0730d44d25d4000.zip
Simple peoplemodel for addressbook
Currently just queries for a flat list of contacts. Read-only.
Diffstat (limited to 'framework/domain/mailplugin.cpp')
-rw-r--r--framework/domain/mailplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/domain/mailplugin.cpp b/framework/domain/mailplugin.cpp
index fba6c458..12b9a7ce 100644
--- a/framework/domain/mailplugin.cpp
+++ b/framework/domain/mailplugin.cpp
@@ -31,6 +31,7 @@
31#include "foldercontroller.h" 31#include "foldercontroller.h"
32#include "mouseproxy.h" 32#include "mouseproxy.h"
33#include "contactcontroller.h" 33#include "contactcontroller.h"
34#include "peoplemodel.h"
34 35
35#include <QtQml> 36#include <QtQml>
36 37
@@ -49,4 +50,5 @@ void MailPlugin::registerTypes (const char *uri)
49 qmlRegisterType<FolderController>(uri, 1, 0, "FolderController"); 50 qmlRegisterType<FolderController>(uri, 1, 0, "FolderController");
50 qmlRegisterType<MouseProxy>(uri, 1, 0, "MouseProxy"); 51 qmlRegisterType<MouseProxy>(uri, 1, 0, "MouseProxy");
51 qmlRegisterType<ContactController>(uri, 1, 0,"ContactController"); 52 qmlRegisterType<ContactController>(uri, 1, 0,"ContactController");
53 qmlRegisterType<PeopleModel>(uri, 1, 0,"PeopleModel");
52} 54}