summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qitemdelegate.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2009-10-27 14:26:11 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-27 14:26:11 (GMT)
commitdf26c6e14287f1a02c636c4624c5085fd8271d11 (patch)
tree0ed0fc0e172826fc187a8593d2cf79095744b5fb /src/gui/itemviews/qitemdelegate.cpp
parentc79d83b6d661ea49d893b4590480a434d75b19bd (diff)
downloadQt-df26c6e14287f1a02c636c4624c5085fd8271d11.zip
Qt-df26c6e14287f1a02c636c4624c5085fd8271d11.tar.gz
Qt-df26c6e14287f1a02c636c4624c5085fd8271d11.tar.bz2
Fix incomplete documentation for Qt::DecorationRole
As noticed by Laurent Montel. Merge-request: 1812 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
Diffstat (limited to 'src/gui/itemviews/qitemdelegate.cpp')
-rw-r--r--src/gui/itemviews/qitemdelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qitemdelegate.cpp b/src/gui/itemviews/qitemdelegate.cpp
index 871a4b1..3b3036d 100644
--- a/src/gui/itemviews/qitemdelegate.cpp
+++ b/src/gui/itemviews/qitemdelegate.cpp
@@ -255,7 +255,7 @@ QSizeF QItemDelegatePrivate::doTextLayout(int lineWidth) const
\row \o \l Qt::BackgroundRole \o QBrush
\row \o \l Qt::BackgroundColorRole \o QColor (obsolete; use Qt::BackgroundRole instead)
\row \o \l Qt::CheckStateRole \o Qt::CheckState
- \row \o \l Qt::DecorationRole \o QIcon and QColor
+ \row \o \l Qt::DecorationRole \o QIcon, QPixmap and QColor
\row \o \l Qt::DisplayRole \o QString and types with a string representation
\row \o \l Qt::EditRole \o See QItemEditorFactory for details
\row \o \l Qt::FontRole \o QFont