| 318 | } |
| 319 | |
| 320 | void read(ValueMap* config) override |
| 321 | { |
| 322 | if(m_pVarStr != nullptr) |
| 323 | setText(config->readEntry(m_saveName, currentText())); |
| 324 | else |
| 325 | *m_pVarNum = config->readEntry(m_saveName, *m_pVarNum); |
| 326 | } |
| 327 | |
| 328 | void preserveImp() override |
| 329 | { |