┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/additionalinfodialog.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-03-11 19:02:45 +0100
committerPeter Penz <[email protected]>2012-03-11 19:05:56 +0100
commit2ba5c2cfc2cea534cccd860f94a7198530b83594 (patch)
tree787ee40d007b243a01ba581e778fc67aa179e361 /src/settings/additionalinfodialog.h
parentd28081338577bfe0104f42c20e167bb0ce70e094 (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/settings/additionalinfodialog.h')
-rw-r--r--src/settings/additionalinfodialog.h9
1 files changed, 4 insertions, 5 deletions
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 <views/dolphinview.h>
#include <KDialog>
#include <QList>
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<DolphinView::AdditionalInfo>& infoList);
+ AdditionalInfoDialog(QWidget* parent, const QList<QByteArray>& visibleRoles);
virtual ~AdditionalInfoDialog();
- QList<DolphinView::AdditionalInfo> informationList() const;
+ QList<QByteArray> visibleRoles() const;
private slots:
void slotOk();
private:
- QList<DolphinView::AdditionalInfo> m_infoList;
+ QList<QByteArray> m_visibleRoles;
QList<QCheckBox*> m_checkBoxes;
};