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.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/framework/mail/mailplugin.cpp b/framework/mail/mailplugin.cpp
deleted file mode 100644
index 2d19a437..00000000
--- a/framework/mail/mailplugin.cpp
+++ /dev/null
@@ -1,40 +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 "composer.h"
26#include "messageparser.h"
27#include "retriever.h"
28
29#include <QtQml>
30
31void MailPlugin::registerTypes (const char *uri)
32{
33 Q_ASSERT(uri == QLatin1String("org.kde.kube.mail"));
34
35 qmlRegisterType<FolderListModel>(uri, 1, 0, "FolderListModel");
36 qmlRegisterType<MailListModel>(uri, 1, 0, "MailListModel");
37 qmlRegisterType<Composer>(uri, 1, 0, "Composer");
38 qmlRegisterType<MessageParser>(uri, 1, 0, "MessageParser");
39 qmlRegisterType<Retriever>(uri, 1, 0, "Retriever");
40}