KConfigWidgets
kconfigviewstatesaver.cpp
22 restoreScrollState(configGroup.readEntry(scrollStateVerticalKey, -1), configGroup.readEntry(scrollStateHorizontalKey, -1));
QString readEntry(const char *key, const char *aDefault=nullptr) const
void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags=Normal)
QStringList expansionKeys() const
QAbstractItemView * view() const
void restoreScrollState(int verticalScoll, int horizontalScroll)
QString currentIndexKey() const
QItemSelectionModel * selectionModel() const
void restoreExpanded(const QStringList &indexStrings)
void restoreSelection(const QStringList &indexStrings)
QPair< int, int > scrollState() const
QStringList selectionKeys() const
void restoreState(const KConfigGroup &configGroup)
Restores the state from the configGroup.
Definition: kconfigviewstatesaver.cpp:17
void saveState(KConfigGroup &configGroup)
Saves the state to the configGroup.
Definition: kconfigviewstatesaver.cpp:27
void restoreCurrentItem(const QString &indexString)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 03:48:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 03:48:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.