┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-02-06 06:43:34 +0000
committerPeter Penz <[email protected]>2007-02-06 06:43:34 +0000
commitac62df5672f67393bd582edefaeccb0eb89537e8 (patch)
treef1e8466ca83edcdb551da6a86a353b10e9599e9d /src/dolphindetailsview.h
parent9eb1cac4b7661ff154c782c9d2933e5a060b2542 (diff)
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
Diffstat (limited to 'src/dolphindetailsview.h')
-rw-r--r--src/dolphindetailsview.h9
1 files changed, 8 insertions, 1 deletions
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