SETTINGS
| 1834 | //******************** SETTINGS ******************************* |
| 1835 | //************************************************************* |
| 1836 | void CartesianPlotDock::loadConfigFromTemplate(KConfig& config) { |
| 1837 | auto name = TemplateHandler::templateName(config); |
| 1838 | int size = m_plotList.size(); |
| 1839 | if (size > 1) |
| 1840 | m_plot->beginMacro(i18n("%1 cartesian plots: template \"%2\" loaded", size, name)); |
| 1841 | else |
| 1842 | m_plot->beginMacro(i18n("%1: template \"%2\" loaded", m_plot->name(), name)); |
| 1843 | |
| 1844 | this->loadConfig(config); |
| 1845 | |
| 1846 | m_plot->endMacro(); |
| 1847 | } |
| 1848 | |
| 1849 | void CartesianPlotDock::load() { |
| 1850 | // General-tab |
nothing calls this directly
no test coverage detected