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/settings/additionalinfodialog.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/settings/additionalinfodialog.h') diff --git a/src/settings/additionalinfodialog.h b/src/settings/additionalinfodialog.h index 6f38f617c..9048489cc 100644 --- a/src/settings/additionalinfodialog.h +++ b/src/settings/additionalinfodialog.h @@ -20,29 +20,28 @@ #ifndef ADDITIONALINFODIALOG_H #define ADDITIONALINFODIALOG_H -#include #include #include class QCheckBox; /** - * @brief Dialog for changing the additional information properties of a directory. + * @brief Dialog for changing the additional information shown in the view. */ class AdditionalInfoDialog : public KDialog { Q_OBJECT public: - AdditionalInfoDialog(QWidget* parent, const QList& infoList); + AdditionalInfoDialog(QWidget* parent, const QList& visibleRoles); virtual ~AdditionalInfoDialog(); - QList informationList() const; + QList visibleRoles() const; private slots: void slotOk(); private: - QList m_infoList; + QList m_visibleRoles; QList m_checkBoxes; }; -- cgit v1.3