Commit 62715a9e authored by Laurent Montel's avatar Laurent Montel 😁

Add two other actions type

parent bef8fcb6
cmake_minimum_required(VERSION 3.0)
set(PIM_VERSION "5.7.41")
set(PIM_VERSION "5.7.42")
project(pimcommon VERSION ${PIM_VERSION})
......
......@@ -33,7 +33,9 @@ public:
File = 2,
Action = 3,
PopupMenu = 4,
ToolBar = 5
ToolBar = 5,
Message = 6,
Folder = 7
};
ActionType()
{
......
......@@ -119,6 +119,10 @@ QString PluginInterface::actionXmlExtension(ActionType::Type type)
return QStringLiteral("_popupmenu_actions");
case PimCommon::ActionType::ToolBar:
return QStringLiteral("_toolbar_actions");
case PimCommon::ActionType::Message:
return QStringLiteral("_message_actions");
case PimCommon::ActionType::Folder:
return QStringLiteral("_folder_actions");
}
return {};
}
......
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