diff options
Diffstat (limited to 'src/widgets/doc/src')
-rw-r--r-- | src/widgets/doc/src/graphicsview.qdoc | 2 | ||||
-rw-r--r-- | src/widgets/doc/src/model-view-programming.qdoc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/doc/src/graphicsview.qdoc b/src/widgets/doc/src/graphicsview.qdoc index cc81d51a8f..148b4ea47d 100644 --- a/src/widgets/doc/src/graphicsview.qdoc +++ b/src/widgets/doc/src/graphicsview.qdoc @@ -222,7 +222,7 @@ transformations for you. This makes it very easy to implement custom items. For example, if you receive a mouse press or a drag enter event, the event position is given in item coordinates. The - QGraphicsItem::contains() virtual function, which returns true if a + QGraphicsItem::contains() virtual function, which returns \c true if a certain point is inside your item, and false otherwise, takes a point argument in item coordinates. Similarly, an item's bounding rect and shape are in item coordinates. diff --git a/src/widgets/doc/src/model-view-programming.qdoc b/src/widgets/doc/src/model-view-programming.qdoc index d0d925e74a..3d3b6da819 100644 --- a/src/widgets/doc/src/model-view-programming.qdoc +++ b/src/widgets/doc/src/model-view-programming.qdoc @@ -2279,7 +2279,7 @@ \section2 Performance optimization for large amounts of data The \l{QAbstractItemModel::}{canFetchMore()} function checks if the parent - has more data available and returns true or false accordingly. The + has more data available and returns \c true or false accordingly. The \l{QAbstractItemModel::}{fetchMore()} function fetches data based on the parent specified. Both these functions can be combined, for example, in a database query involving incremental data to populate a QAbstractItemModel. |