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