KDE PIM support for the p≡p engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

31 lines
815 B

/*
SPDX-FileCopyrightText: 2015-2020 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "viewerpluginpep.h"
#include "viewerpluginpepinterface.h"
#include <KActionCollection>
#include <KPluginFactory>
using namespace MessageViewer;
K_PLUGIN_CLASS_WITH_JSON(ViewerPluginpEp, "messageviewer_pepplugin.json")
ViewerPluginpEp::ViewerPluginpEp(QObject *parent, const QList<QVariant> &)
: MessageViewer::ViewerPlugin(parent)
{
}
ViewerPluginInterface *ViewerPluginpEp::createView(QWidget *parent, KActionCollection *ac)
{
MessageViewer::ViewerPluginInterface *view = new MessageViewer::pEpViewerInterface(ac, parent);
return view;
}
QString ViewerPluginpEp::viewerPluginName() const
{
return QStringLiteral("pEp/Security");
}
#include "viewerpluginpep.moc"