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
List of all members, including inherited members
Public Functions
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