From 63e1e3bc14b5538027471ee76b6e92d6425ecf0b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 20 Sep 2011 15:19:11 +0200 Subject: Change signature of setVisibleRoles() Simply use a QList instead of QHash. --- src/views/dolphinitemlistcontainer.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/views/dolphinitemlistcontainer.h') diff --git a/src/views/dolphinitemlistcontainer.h b/src/views/dolphinitemlistcontainer.h index 2b00380a9..9cf4bff3f 100644 --- a/src/views/dolphinitemlistcontainer.h +++ b/src/views/dolphinitemlistcontainer.h @@ -51,12 +51,8 @@ public: void setPreviewsShown(bool show); bool previewsShown() const; - /** - * Sets the visible roles to \p roles. The integer-value defines - * the order of the visible role: Smaller values are ordered first. - */ - void setVisibleRoles(const QHash& roles); - QHash visibleRoles() const; + void setVisibleRoles(const QList& roles); + QList visibleRoles() const; void setZoomLevel(int level); int zoomLevel() const; -- cgit v1.3.1