From 9eb1cac4b7661ff154c782c9d2933e5a060b2542 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 5 Feb 2007 23:18:22 +0000 Subject: update the header indicators corresponding to the current sort column and sort order svn path=/trunk/playground/utils/dolphin/; revision=630675 --- src/dolphindetailsview.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/dolphindetailsview.h') diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index b438b3a33..e035d3c12 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -21,10 +21,9 @@ #ifndef DOLPHINDETAILSVIEW_H #define DOLPHINDETAILSVIEW_H +#include #include -class DolphinView; - /** * @brief Represents the details view which shows the name, size, * date, permissions, owner and group of an item. @@ -49,6 +48,19 @@ protected: virtual void dragEnterEvent(QDragEnterEvent* event); virtual void dropEvent(QDropEvent* event); +private slots: + /** + * Sets the sort indicator section of the header view + * corresponding to \a sorting. + */ + void setSortIndicatorSection(DolphinView::Sorting sorting); + + /** + * Sets the sort indicator order of the header view + * corresponding to \a sortOrder. + */ + void setSortIndicatorOrder(Qt::SortOrder sortOrder); + private: DolphinView* m_parentView; }; -- cgit v1.3.1