path: root/src/widgets/itemviews/qabstractitemdelegate.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/qabstractitemdelegate.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/qabstractitemdelegate.cpp')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/itemviews/qabstractitemdelegate.cpp b/src/widgets/itemviews/qabstractitemdelegate.cpp
index 7bc0ece4b3..6e46eefa38 100644
--- a/src/widgets/itemviews/qabstractitemdelegate.cpp
+++ b/src/widgets/itemviews/qabstractitemdelegate.cpp
@@ -88,7 +88,7 @@ QT_BEGIN_NAMESPACE
and is part of Qt's \l{Model/View Programming}{model/view framework}.
To render an item in a custom way, you must implement paint() and
- sizeHint(). The QItemDelegate class provides default implementations for
+ sizeHint(). The QStyledItemDelegate class provides default implementations for
these functions; if you do not need custom rendering, subclass that
class instead.
@@ -115,7 +115,7 @@ QT_BEGIN_NAMESPACE
The second approach is to handle user events directly by reimplementing
- \sa {model-view-programming}{Model/View Programming}, QItemDelegate,
+ \sa {model-view-programming}{Model/View Programming}, QStyledItemDelegate,
{Pixelator Example}, QStyledItemDelegate, QStyle