diff --git a/examples/widgets/doc/src/editabletreemodel.qdoc b/examples/widgets/doc/src/editabletreemodel.qdoc index 15df678c87..20136a02f8 100644 --- a/examples/widgets/doc/src/editabletreemodel.qdoc +++ b/examples/widgets/doc/src/editabletreemodel.qdoc @@ -249,7 +249,7 @@ \snippet itemviews/editabletreemodel/treeitem.cpp 2 - The \c childNumber() function is used to determine the index of the child + The \c row() function is used to determine the index of the child in its parent's list of children. It accesses the parent's \c childItems member directly to obtain this information: