KConfigViewStateSaver Class
Base class for saving and restoring state in QTreeViews and QItemSelectionModels using KConfig as storage. More...
| Header: | #include <KConfigViewStateSaver> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS ConfigWidgets)target_link_libraries(mytarget PRIVATE KF6::ConfigWidgets) |
| Inherits: | KViewStateSerializer |
Public Functions
| void | restoreState(const KConfigGroup &configGroup) |
| void | saveState(KConfigGroup &configGroup) |
Detailed Description
Member Function Documentation
void KConfigViewStateSaver::restoreState(const KConfigGroup &configGroup)
Restores the state from the configGroup
void KConfigViewStateSaver::saveState(KConfigGroup &configGroup)
Saves the state to the configGroup