[Kde-bindings] KDE/kdelibs/kdeui/itemviews
Stephen Kelly
steveire at gmail.com
Mon May 17 12:50:52 UTC 2010
SVN commit 1127719 by skelly:
Don't allow setting a scroll area state to save.
Nothing uses it yet and API-wise it's a bit excessive.
CCMAIL: kde-bindings at kde.org
M +0 -12 kviewstatesaver.cpp
M +0 -10 kviewstatesaver.h
--- trunk/KDE/kdelibs/kdeui/itemviews/kviewstatesaver.cpp #1127718:1127719
@@ -146,24 +146,12 @@
return d->m_selectionModel;
}
-QAbstractScrollArea* KViewStateSaver::scrollArea() const
-{
- Q_D(const KViewStateSaver);
- return d->m_scrollArea;
-}
-
void KViewStateSaver::setSelectionModel(QItemSelectionModel* selectionModel)
{
Q_D(KViewStateSaver);
d->m_selectionModel = selectionModel;
}
-void KViewStateSaver::setScrollArea(QAbstractScrollArea* scrollArea)
-{
- Q_D(KViewStateSaver);
- d->m_scrollArea = scrollArea;
-}
-
void KViewStateSaverPrivate::listenToPendingChanges()
{
Q_Q(KViewStateSaver);
--- trunk/KDE/kdelibs/kdeui/itemviews/kviewstatesaver.h #1127718:1127719
@@ -201,16 +201,6 @@
void setSelectionModel( QItemSelectionModel *selectionModel );
/**
- The QAbstractScrollArea whose state is persisted.
- */
- QAbstractScrollArea* scrollArea() const;
-
- /**
- Sets the QAbstractScrollArea whose state is persisted.
- */
- void setScrollArea( QAbstractScrollArea *scrollArea );
-
- /**
Saves the state to the @p configGroup
*/
void saveState(KConfigGroup &configGroup);
More information about the Kde-bindings
mailing list