diff options
| author | Peter Penz <[email protected]> | 2007-02-05 23:18:22 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-02-05 23:18:22 +0000 |
| commit | 9eb1cac4b7661ff154c782c9d2933e5a060b2542 (patch) | |
| tree | 5d3e072ac06d1d7799e848636c4ee3d481c6d477 /src/dolphindetailsview.h | |
| parent | fe1cb386e4234fcc22efcbbce1c792de24273875 (diff) | |
update the header indicators corresponding to the current sort column and sort order
svn path=/trunk/playground/utils/dolphin/; revision=630675
Diffstat (limited to 'src/dolphindetailsview.h')
| -rw-r--r-- | src/dolphindetailsview.h | 16 |
1 files changed, 14 insertions, 2 deletions
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 <dolphinview.h> #include <QTreeView> -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; }; |
