diff options
Diffstat (limited to 'framework/domain/mailplugin.cpp')
-rw-r--r-- | framework/domain/mailplugin.cpp | 52 |
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 | |||
38 | void 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 | } | ||