summaryrefslogtreecommitdiffstats
path: root/framework/domain/mailplugin.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-05 13:02:48 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-05 13:02:48 +0200
commit7c94d55f866794b2f1bb33b1f241552496b59b31 (patch)
tree675e547aeab1f9251934a96ff6c67a5e1980453c /framework/domain/mailplugin.cpp
parent5755ad47145d2985ba74354961b4127d82c516f6 (diff)
downloadkube-7c94d55f866794b2f1bb33b1f241552496b59b31.tar.gz
kube-7c94d55f866794b2f1bb33b1f241552496b59b31.zip
Removed old files
Diffstat (limited to 'framework/domain/mailplugin.cpp')
-rw-r--r--framework/domain/mailplugin.cpp52
1 files changed, 0 insertions, 52 deletions
diff --git a/framework/domain/mailplugin.cpp b/framework/domain/mailplugin.cpp
deleted file mode 100644
index b32832e0..00000000
--- a/framework/domain/mailplugin.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
1/*
2 Copyright (c) 2016 Michael Bohlender <michael.bohlender@kdemail.net>
3 Copyright (c) 2016 Christian Mollekopf <mollekopf@kolabsys.com>
4
5 This library is free software; you can redistribute it and/or modify it
6 under the terms of the GNU Library General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or (at your
8 option) any later version.
9
10 This library is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to the
17 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 02110-1301, USA.
19*/
20
21#include "mailplugin.h"
22
23#include "maillistmodel.h"
24#include "folderlistmodel.h"
25#include "composercontroller.h"
26#include "messageparser.h"
27#include "retriever.h"
28#include "outboxmodel.h"
29#include "outboxcontroller.h"
30#include "mailcontroller.h"
31#include "foldercontroller.h"
32#include "mouseproxy.h"
33#include "contactcontroller.h"
34#include "peoplemodel.h"
35
36#include <QtQml>
37
38void MailPlugin::registerTypes (const char *uri)
39{
40 qmlRegisterType<FolderListModel>(uri, 1, 0, "FolderListModel");
41 qmlRegisterType<MailListModel>(uri, 1, 0, "MailListModel");
42 qmlRegisterType<ComposerController>(uri, 1, 0, "ComposerController");
43 qmlRegisterType<MessageParser>(uri, 1, 0, "MessageParser");
44 qmlRegisterType<Retriever>(uri, 1, 0, "Retriever");
45 qmlRegisterType<OutboxController>(uri, 1, 0, "OutboxController");
46 qmlRegisterType<OutboxModel>(uri, 1, 0, "OutboxModel");
47 qmlRegisterType<MailController>(uri, 1, 0, "MailController");
48 qmlRegisterType<FolderController>(uri, 1, 0, "FolderController");
49 qmlRegisterType<MouseProxy>(uri, 1, 0, "MouseProxy");
50 qmlRegisterType<ContactController>(uri, 1, 0,"ContactController");
51 qmlRegisterType<PeopleModel>(uri, 1, 0,"PeopleModel");
52}