| 1022 | } |
| 1023 | |
| 1024 | void 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 | |
| 1037 | PageViewAnnotator::~PageViewAnnotator() |
| 1038 | { |