Pages
API Documentation
On this page

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

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.