Revision 1e16b68...
Go back to digest for 9th October 2011Features in KDE Base
Frank Reininghaus committed changes in [kde-baseapps] /src:
Add function KItemListSelectionManager::isSelected(int index)
This function is used in KItemListView::updateWidgetProperties()
to find out if an item is selected in a more efficient way.
The new function is tested in KItemListSelectionManagerTest.
I've factored out some code from
KItemListSelectionManagerTest::testChangeSelection() to a new
member to simplify the test.
File Changes
Modified 4 files
- /src
- dolphin/kitemviews/kitemlistselectionmanager.cpp
- dolphin/kitemviews/kitemlistselectionmanager.h
- dolphin/kitemviews/kitemlistview.cpp
- dolphin/tests/kitemlistselectionmanagertest.cpp
4 files changed in total