different than ListMode. Fix some comments.
svn path=/trunk/KDE/kdebase/apps/; revision=677668
virtual QString categoryForItem(const QModelIndex &index, int sortRole) = 0;
};
-#endif
+#endif // KITEMCATEGORIZER_H
void KListView::slotSortingRoleChanged()
{
- if ((viewMode() != KListView::ListMode) && d->proxyModel &&
+ if ((viewMode() == KListView::IconMode) && d->proxyModel &&
d->itemCategorizer)
{
// Force the view to update all elements
Private *d;
};
-#endif // __KLISTVIEW_H__
+#endif // KLISTVIEW_H
QModelIndex lastIndex;
};
-#endif // __KLISTVIEW_P_H__
+#endif // KLISTVIEW_P_H
Qt::SortOrder m_sortOrder;
};
-#endif
+#endif // KSORTFILTERPROXYMODEL_H