Messagelib
7 #include "viewerplugininterface.h"
8 #include "utils/messageviewerutil_p.h"
10 using namespace MessageViewer;
12 class MessageViewer::ViewerPluginInterfacePrivate
15 ViewerPluginInterfacePrivate() =
default;
18 ViewerPluginInterface::ViewerPluginInterface(
QObject *parent)
20 , d(new MessageViewer::ViewerPluginInterfacePrivate)
24 ViewerPluginInterface::~ViewerPluginInterface() =
default;
26 void ViewerPluginInterface::execute()
31 void ViewerPluginInterface::setText(
const QString &text)
43 void ViewerPluginInterface::setUrl(
const QUrl &url)
55 void ViewerPluginInterface::setMessageItem(
const Akonadi::Item &item)
67 void ViewerPluginInterface::closePlugin()
72 void ViewerPluginInterface::showWidget()
77 void ViewerPluginInterface::updateAction(
const Akonadi::Item &item)
89 void ViewerPluginInterface::addHelpTextAction(
QAction *act,
const QString &text)
91 MessageViewer::Util::addHelpTextAction(act, text);
94 void ViewerPluginInterface::slotActivatePlugin()
96 Q_EMIT activatePlugin(
this);
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Mar 22 2023 04:07:16 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.