Minor documentation fixes in item views.
authorShawn Rutledge <shawn.rutledge@nokia.com>
Tue, 21 Aug 2012 09:05:33 +0000 (11:05 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 21 Aug 2012 11:41:01 +0000 (13:41 +0200)
Change-Id: I986662ba48840e0195f0cfd4264e4d5d8b186c51
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc
src/widgets/itemviews/qabstractitemdelegate.cpp
src/widgets/itemviews/qabstractitemview.cpp

index 41b256b..bc1eb76 100644 (file)
 
     \image designer-stylesheet-options.png
 
-    In Qt 4.2 and later, \l{Qt Designer}{Qt Designer} also includes a
+    In Qt 4.2 and later, \l{Qt Designer} also includes a
     style sheet syntax highlighter and validator. The validator indicates
     if the syntax is valid or invalid, at the bottom left of the \uicontrol{Edit
     Style Sheet} dialog.
index 6c02147..e943edf 100644 (file)
@@ -243,12 +243,12 @@ QWidget *QAbstractItemDelegate::createEditor(QWidget *,
 
 
 /*!
-    \since 5.0
-
-    A function called when the \a editor is no longer needed for \a index and should be
-    destroyed. The default behavior is a call to deleteLater on the editor.
-    It possible e.g. to avoid this delete by reimplementing this function.
+    Called when the \a editor is no longer needed for editing the data item
+    with the given \a index and should be destroyed. The default behavior is a
+    call to deleteLater on the editor. It is possible e.g. to avoid this delete by
+    reimplementing this function.
 
+    \since 5.0
     \sa createEditor()
 */
 void QAbstractItemDelegate::destroyEditor(QWidget *editor, const QModelIndex &index) const
index 3402b4f..37617ac 100644 (file)
@@ -3218,10 +3218,9 @@ void QAbstractItemView::update(const QModelIndex &index)
 }
 
 /*!
-    This slot is called when items are changed in the model. The
-    changed items are those from \a topLeft to \a bottomRight
-    inclusive. If just one item is changed \a topLeft == \a
-    bottomRight.
+    This slot is called when items with the given \a roles are changed in the
+    model. The changed items are those from \a topLeft to \a bottomRight
+    inclusive. If just one item is changed \a topLeft == \a bottomRight.
 
     The \a roles which have been changed can either be an empty container (meaning everything
     has changed), or a non-empty container with the subset of roles which have changed.