MCPcopy Create free account
hub / github.com/KDE/okular / reparseQuickToolsConfig

Method reparseQuickToolsConfig

part/pageviewannotator.cpp:1024–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022}
1023
1024void PageViewAnnotator::reparseQuickToolsConfig()
1025{
1026 // Read tool list from configuration. It's a list of XML <tool></tool> elements
1027 if (!m_quickToolsDefinition) {
1028 m_quickToolsDefinition = new AnnotationTools();
1029 }
1030 m_quickToolsDefinition->setTools(Okular::Settings::quickAnnotationTools());
1031
1032 if (m_actionHandler) {
1033 m_actionHandler->reparseQuickToolsConfig();
1034 }
1035}
1036
1037PageViewAnnotator::~PageViewAnnotator()
1038{

Callers

nothing calls this directly

Calls 1

setToolsMethod · 0.45

Tested by

no test coverage detected