svn path=/trunk/KDE/kdebase/apps/; revision=634392
m_controller, SLOT(indicateSelectionChange()));
}
-int DolphinView::columnIndex(Sorting sorting) const
-{
- int index = 0;
- switch (sorting) {
- case SortByName: index = KDirModel::Name; break;
- case SortBySize: index = KDirModel::Size; break;
- case SortByDate: index = KDirModel::ModifiedTime; break;
- default: assert(false);
- }
- return index;
-}
-
void DolphinView::selectAll(QItemSelectionModel::SelectionFlags flags)
{
QItemSelectionModel* selectionModel = itemView()->selectionModel();
*/
void createView();
- /**
- * Returns the column index used in the KDirModel depending on \a sorting.
- */
- int columnIndex(Sorting sorting) const;
-
/**
* Selects all items by using the selection flags \a flags. This is a helper
* method for the slots DolphinView::selectAll() and DolphinView::invertSelection().