KDEUI
KViewStateMaintainer Class Reference
#include <kviewstatemaintainer.h>
Inheritance diagram for KViewStateMaintainer:

Public Member Functions | |
| KViewStateMaintainer (KConfigGroup configGroup, QObject *parent=0) | |
| void | restoreState () |
| void | saveState () |
Detailed Description
Encapsulates the maintenance of state between resets of QAbstractItemModel.
m_collectionViewStateMaintainer = new KViewStateMaintainer<Akonadi::ETMViewStateSaver>(KGlobal::config()->group("collectionView")); m_collectionViewStateMaintainer->setView(m_collectionView); m_collectionCheckStateMaintainer = new KViewStateMaintainer<Akonadi::ETMViewStateSaver>(KGlobal::config()->group("collectionCheckState")); m_collectionCheckStateMaintainer->setSelectionModel(m_checkableProxy->selectionModel());
- See also:
- KViewStateSaver
Constructor & Destructor Documentation
| KViewStateMaintainer::KViewStateMaintainer | ( | KConfigGroup | configGroup, |
| QObject * | parent = 0 |
||
| ) | [inline] |
Definition at line 80 of file kviewstatemaintainer.h.
Member Function Documentation
| void KViewStateMaintainer::restoreState | ( | ) | [inline, virtual] |
Implements KViewStateMaintainerBase.
Definition at line 96 of file kviewstatemaintainer.h.
| void KViewStateMaintainer::saveState | ( | ) | [inline, virtual] |
Implements KViewStateMaintainerBase.
Definition at line 86 of file kviewstatemaintainer.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed Nov 28 2012 09:48:35 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed Nov 28 2012 09:48:35 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.