From ac62df5672f67393bd582edefaeccb0eb89537e8 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 6 Feb 2007 06:43:34 +0000 Subject: If the user changes the sorting by clicking on a header section, the resulting sorting state must be synchronized with the Dolphin menu. svn path=/trunk/playground/utils/dolphin/; revision=630740 --- src/dolphindetailsview.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/dolphindetailsview.h') diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index e035d3c12..6197376a8 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -61,8 +61,15 @@ private slots: */ void setSortIndicatorOrder(Qt::SortOrder sortOrder); + /** + * Synchronizes the sorting state of the Dolphin menu 'View -> Sort' + * with the current state of the details view. + * @param column Index of the current sorting column. + */ + void synchronizeSortingState(int column); + private: - DolphinView* m_parentView; + DolphinView* m_dolphinView; }; #endif -- cgit v1.3