path: root/src/widgets/itemviews/qlistwidget.cpp
diff options
authorChristian Ehrlicher <>2018-12-06 18:13:47 +0100
committerChristian Ehrlicher <>2019-01-06 17:07:45 +0000
commit283008e123e5eacb83869682528b2024186634f8 (patch)
tree9fc78ac3b04fd404db120a2d6f931c2acdd7fc8f /src/widgets/itemviews/qlistwidget.cpp
parent3456d516504c70226934826393284b1eb6d9c35d (diff)
Doc: replace QItemDelegate with QStyledItemDelegate
Since QStyledItemDelegate should be preferred over QItemDelegate the documentation should point to QStyledItemDelegate instead. Also mark some internal classes which derive from QItemDelegate so they will not be forgotten during Qt6 porting. Change-Id: I2dd17feedf8593afac5ca16d2546e1f0bc0250ae Reviewed-by: Paul Wicking <> Reviewed-by: Konstantin Shegunov <> Reviewed-by: Richard Moe Gustavsen <>
Diffstat (limited to 'src/widgets/itemviews/qlistwidget.cpp')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qlistwidget.cpp b/src/widgets/itemviews/qlistwidget.cpp
index ea92c5605b..3b3a72cd4f 100644
--- a/src/widgets/itemviews/qlistwidget.cpp
+++ b/src/widgets/itemviews/qlistwidget.cpp
@@ -1757,7 +1757,7 @@ QWidget *QListWidget::itemWidget(QListWidgetItem *item) const
This function should only be used to display static content in the place of
a list widget item. If you want to display custom dynamic content or
- implement a custom editor widget, use QListView and subclass QItemDelegate
+ implement a custom editor widget, use QListView and subclass QStyledItemDelegate
\sa itemWidget(), removeItemWidget(), {Delegate Classes}