diff options
| author | Peter Penz <[email protected]> | 2011-09-20 15:19:11 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-09-20 15:20:16 +0200 |
| commit | 63e1e3bc14b5538027471ee76b6e92d6425ecf0b (patch) | |
| tree | 35bef15f917b5d53c6a399b06e7f40ee097597be /src/views/dolphinitemlistcontainer.h | |
| parent | 6a75a6167160cacbdbc9210d3ea2a0564f071960 (diff) | |
Change signature of setVisibleRoles()
Simply use a QList<QByteArray> instead of QHash<QByteArray, int>.
Diffstat (limited to 'src/views/dolphinitemlistcontainer.h')
| -rw-r--r-- | src/views/dolphinitemlistcontainer.h | 8 |
1 files changed, 2 insertions, 6 deletions
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<QByteArray, int>& roles); - QHash<QByteArray, int> visibleRoles() const; + void setVisibleRoles(const QList<QByteArray>& roles); + QList<QByteArray> visibleRoles() const; void setZoomLevel(int level); int zoomLevel() const; |
