Give Stage- and KoPA-specific tools own service types

while being derived from KoToolBase, they expect certain subclasses for
passed objects like the canvas, so will crash if used with the wrong
applications

REVIEW: 120342

Thanks boud and zagge for review
parent 55482d44
......@@ -172,7 +172,7 @@ FlakePluginsDisabled=formulashape,divineproportionshape,kexirelationdesignshape,
ShapePluginsDisabled=musicshape,pictureshape,videoshape,chartshape,spreadsheetshape,pluginshape,treeshape,commentshape,stateshape,webshape
TextEditingPluginsDisabled=thesaurustool,changecase,autocorrect,spellcheck
TextInlinePluginsDisabled=textvariables,kprvariables
ToolPluginsDisabled=paragraphtool,kopabackgroundtool,calligrastagetoolanimation
ToolPluginsDisabled=paragraphtool
ToolsBlacklist=CreatePathTool,KoPencilTool,ConnectionTool,KarbonFilterEffectsTool,PanTool,KoZoomToolId,GuidesTool_ID
[favoriteList]
......
......@@ -164,7 +164,7 @@ FlakePluginsDisabled=formulashape,divineproportionshape,kexirelationdesignshape
ShapePluginsDisabled=musicshape,pictureshape,videoshape,chartshape,spreadsheetshape,pluginshape,treeshape,commentshape,stateshape,webshape
TextEditingPluginsDisabled=thesaurustool,changecase,autocorrect,spellcheck
TextInlinePluginsDisabled=textvariables,kprvariables
ToolPluginsDisabled=paragraphtool,kopabackgroundtool,calligrastagetoolanimation
ToolPluginsDisabled=paragraphtool
ToolsBlacklist=CreatePathTool,KoPencilTool,ConnectionTool,KarbonFilterEffectsTool,PanTool,KoZoomToolId,GuidesTool_ID
[favoriteList]
......
......@@ -21,7 +21,7 @@ FlakePluginsDisabled=formulashape,divineproportionshape,kexirelationdesignshape,
ShapePluginsDisabled=musicshape,pictureshape,videoshape,chartshape,spreadsheetshape,pluginshape,treeshape,commentshape,stateshape,webshape
TextEditingPluginsDisabled=thesaurustool,changecase,autocorrect,spellcheck
TextInlinePluginsDisabled=textvariables,kprvariables
ToolPluginsDisabled=paragraphtool,kopabackgroundtool,calligrastagetoolanimation,basicflakesplugin
ToolPluginsDisabled=paragraphtool,basicflakesplugin
ToolsBlacklist=CreatePathTool,KoPencilTool,ConnectionTool,KarbonFilterEffectsTool,PanTool,KoZoomToolId,GuidesTool_ID
[DockWidget DefaultToolArrangeWidget]
......
......@@ -157,7 +157,7 @@ FlakePluginsDisabled=formulashape,divineproportionshape,kexirelationdesignshape,
ShapePluginsDisabled=musicshape,pictureshape,videoshape,chartshape,spreadsheetshape,pluginshape,treeshape,commentshape,stateshape,webshape
TextEditingPluginsDisabled=thesaurustool,changecase,autocorrect,spellcheck
TextInlinePluginsDisabled=textvariables,kprvariables
ToolPluginsDisabled=paragraphtool,kopabackgroundtool,calligrastagetoolanimation
ToolPluginsDisabled=paragraphtool
ToolsBlacklist=CreatePathTool,ConnectionTool,KarbonFilterEffectsTool,PanTool,KoZoomToolId
[favoriteList]
......
add_subdirectory(backgroundTool)
install(
FILES
kopa_tool.desktop
DESTINATION
${SERVICETYPES_INSTALL_DIR}
)
......@@ -30,9 +30,8 @@ Name[wa]=Usteye pol fond di l' aplicåcion del pådje
Name[x-test]=xxPage Application Background Toolxx
Name[zh_CN]=页面应用程序背景工具
Name[zh_TW]=頁面應用程式背景工具
X-KDE-ServiceTypes=Calligra/Tool
X-KDE-ServiceTypes=CalligraPageApp/Tool
Type=Service
X-KDE-PluginInfo-Name=kopabackgroundtool
X-KDE-Library=kopabackgroundtool
X-Flake-MinVersion=28
X-Flake-PluginVersion=28
X-KoPageApp-Version=28
[Desktop Entry]
Type=ServiceType
X-KDE-ServiceType=CalligraPageApp/Tool
Comment=Tool for Calligra Page Applications
[PropertyDef::X-KoPageApp-Version]
Type=int
[PropertyDef::X-KDE-PluginInfo-Name]
Type=QString
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