diff options
| author | Peter Penz <[email protected]> | 2011-09-23 23:37:42 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-09-23 23:38:51 +0200 |
| commit | 9ea4d3c70c3765c1ef417642a392465caa31997c (patch) | |
| tree | 501200dfc615f61858fc96e7066b040db28123c1 /src/kitemviews/kfileitemlistview.h | |
| parent | 56852cff392f33ee731129fd9a755544d817e590 (diff) | |
Increase the width of the first column automatically
Additionally it is assured that on role-changes the size-hints
get updated if necessary.
Diffstat (limited to 'src/kitemviews/kfileitemlistview.h')
| -rw-r--r-- | src/kitemviews/kfileitemlistview.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<QByteArray>& 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); |
