From 8c986e22fd8fa34ea6c29ad2e88e08c2f9b34bf2 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 26 Mar 2012 22:18:54 +0200 Subject: Rename KItemListView::preferredColumnWidth() to preferredRoleColumnWidth() --- src/kitemviews/kitemlistview.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kitemviews/kitemlistview.h') 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 -- cgit v1.3.1