Commit 9effd9e6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to install plugins in other menu entry

parent 11ff774a
Pipeline #52346 passed with stage
in 42 minutes and 19 seconds
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
set(PIM_VERSION "5.16.48")
set(PIM_VERSION "5.16.49")
if (POLICY CMP0053)
cmake_policy(SET CMP0053 NEW)
......
......@@ -45,6 +45,10 @@ QString PluginActionType::actionXmlExtension(PluginActionType::Type type)
return QStringLiteral("_toolbar_actions");
case MessageComposer::PluginActionType::Options:
return QStringLiteral("_plugins_options");
case MessageComposer::PluginActionType::Insert:
return QStringLiteral("_plugins_insert");
case MessageComposer::PluginActionType::View:
return QStringLiteral("_plugins_view");
case MessageComposer::PluginActionType::None:
return QString();
}
......
......@@ -20,7 +20,7 @@ namespace MessageComposer
class MESSAGECOMPOSER_EXPORT PluginActionType
{
public:
enum Type { Tools = 0, Edit = 1, File = 2, Action = 3, PopupMenu = 4, ToolBar = 5, Options = 6, None = 7 };
enum Type { Tools = 0, Edit = 1, File = 2, Action = 3, PopupMenu = 4, ToolBar = 5, Options = 6, None = 7, Insert = 8, View = 9 };
PluginActionType();
PluginActionType(QAction *action, Type type);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment