diff options
| author | Peter Penz <[email protected]> | 2012-03-11 19:02:45 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-03-11 19:05:56 +0100 |
| commit | 2ba5c2cfc2cea534cccd860f94a7198530b83594 (patch) | |
| tree | 787ee40d007b243a01ba581e778fc67aa179e361 /src/views/dolphinviewactionhandler.h | |
| parent | d28081338577bfe0104f42c20e167bb0ce70e094 (diff) | |
First step to introduce dynamic roles
Currently Dolphin is only capable of showing a fixed number of
roles (e.g. name, size, date, owner, ...). Dolphin 2.1 should
support also other roles like rating, tags, comments or other
meta-information of images or audio-files.
To support this the sorting-type and additional-type from
DolphinView has been replaced by a role-type represented as
QByteArray.
Diffstat (limited to 'src/views/dolphinviewactionhandler.h')
| -rw-r--r-- | src/views/dolphinviewactionhandler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/dolphinviewactionhandler.h b/src/views/dolphinviewactionhandler.h index 647c6390c..ff72d9530 100644 --- a/src/views/dolphinviewactionhandler.h +++ b/src/views/dolphinviewactionhandler.h @@ -151,7 +151,7 @@ private Q_SLOTS: /** * Updates the state of the 'Sort by' actions. */ - void slotSortingChanged(DolphinView::Sorting sorting); + void slotSortRoleChanged(const QByteArray& role); /** * Updates the state of the 'Zoom In' and 'Zoom Out' actions. @@ -172,8 +172,8 @@ private Q_SLOTS: /** * Updates the state of the 'Additional Information' actions. */ - void slotAdditionalInfoListChanged(const QList<DolphinView::AdditionalInfo>& current, - const QList<DolphinView::AdditionalInfo>& previous); + void slotVisibleRolesChanged(const QList<QByteArray>& current, + const QList<QByteArray>& previous); /** * Switches between sorting by groups or not. |
