┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-03-26 22:18:54 +0200
committerPeter Penz <[email protected]>2012-03-26 22:19:38 +0200
commit8c986e22fd8fa34ea6c29ad2e88e08c2f9b34bf2 (patch)
tree6e53ae2131e7bfdf3638d6097937707bc6c4f567 /src/kitemviews/kitemlistview.h
parent829e5070ef3302a3e962a17e057a2ea1b9b49816 (diff)
Rename KItemListView::preferredColumnWidth() to preferredRoleColumnWidth()
Diffstat (limited to 'src/kitemviews/kitemlistview.h')
-rw-r--r--src/kitemviews/kitemlistview.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h
index 402692585..9c42a6f3e 100644
--- a/src/kitemviews/kitemlistview.h
+++ b/src/kitemviews/kitemlistview.h
@@ -193,10 +193,10 @@ public:
virtual QSizeF itemSizeHint(int index) const;
/**
- * @return The preferred column-width of the item with the index \a index
- * for the given \a role that is shown in the column.
+ * @return The preferred column-width of the given \a role for the item
+ * with the index \a index.
*/
- virtual qreal preferredColumnWidth(int index, const QByteArray& role) const;
+ virtual qreal preferredRoleColumnWidth(const QByteArray& role, int index) const;
/**
* If set to true, items having child-items can be expanded to show the child-items as