From 2ba5c2cfc2cea534cccd860f94a7198530b83594 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 11 Mar 2012 19:02:45 +0100 Subject: 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. --- src/views/dolphinviewactionhandler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/views/dolphinviewactionhandler.h') 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& current, - const QList& previous); + void slotVisibleRolesChanged(const QList& current, + const QList& previous); /** * Switches between sorting by groups or not. -- cgit v1.3