From 9ea4d3c70c3765c1ef417642a392465caa31997c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 23 Sep 2011 23:37:42 +0200 Subject: Increase the width of the first column automatically Additionally it is assured that on role-changes the size-hints get updated if necessary. --- src/kitemviews/kfileitemlistview.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kitemviews/kfileitemlistview.h') diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h index 0f0c5e85a..77bfa21ed 100644 --- a/src/kitemviews/kfileitemlistview.h +++ b/src/kitemviews/kfileitemlistview.h @@ -68,6 +68,7 @@ public: protected: virtual void initializeItemListWidget(KItemListWidget* item); + virtual bool itemSizeHintUpdateRequired(const QSet& changedRoles) const; virtual void onModelChanged(KItemModelBase* current, KItemModelBase* previous); virtual void onScrollOrientationChanged(Qt::Orientation current, Qt::Orientation previous); virtual void onItemSizeChanged(const QSizeF& current, const QSizeF& previous); -- cgit v1.3.1