7#include "pluginactiontype.h"
11PluginActionType::PluginActionType() =
default;
13PluginActionType::PluginActionType(
QAction *action, PluginActionType::Type type)
19QAction *PluginActionType::action()
const
24PluginActionType::Type PluginActionType::type()
const
29QString PluginActionType::actionXmlExtension(PluginActionType::Type type)
32 case MessageComposer::PluginActionType::Tools:
33 return QStringLiteral(
"_plugins_tools");
34 case MessageComposer::PluginActionType::Edit:
35 return QStringLiteral(
"_plugins_edit");
36 case MessageComposer::PluginActionType::File:
37 return QStringLiteral(
"_plugins_file");
38 case MessageComposer::PluginActionType::Action:
39 return QStringLiteral(
"_plugins_actions");
40 case MessageComposer::PluginActionType::PopupMenu:
41 return QStringLiteral(
"_popupmenu_actions");
42 case MessageComposer::PluginActionType::ToolBar:
43 return QStringLiteral(
"_toolbar_actions");
44 case MessageComposer::PluginActionType::Options:
45 return QStringLiteral(
"_plugins_options");
46 case MessageComposer::PluginActionType::Insert:
47 return QStringLiteral(
"_plugins_insert");
48 case MessageComposer::PluginActionType::View:
49 return QStringLiteral(
"_plugins_view");
50 case MessageComposer::PluginActionType::None:
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:05:10 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.