diff options
Diffstat (limited to 'examples/widgets/doc/src')
-rw-r--r-- | examples/widgets/doc/src/editabletreemodel.qdoc | 5 | ||||
-rw-r--r-- | examples/widgets/doc/src/simpletreemodel.qdoc | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/examples/widgets/doc/src/editabletreemodel.qdoc b/examples/widgets/doc/src/editabletreemodel.qdoc index 22ff7b574e3..15df678c878 100644 --- a/examples/widgets/doc/src/editabletreemodel.qdoc +++ b/examples/widgets/doc/src/editabletreemodel.qdoc @@ -422,8 +422,9 @@ \section1 Testing the model Correctly implementing an item model can be challenging. The class - \l QAbstractItemModelTester from the \l{Qt Test} module checks for model - consistency, like the model index creation and parent-child relationships. + \l [QtTest] QAbstractItemModelTester from the \l [QtTest]{Qt Test} module + checks for model consistency, like the model index creation and + parent-child relationships. You can test your model by just passing a model instance to the class constructor, for instance as part of a Qt unit test: diff --git a/examples/widgets/doc/src/simpletreemodel.qdoc b/examples/widgets/doc/src/simpletreemodel.qdoc index 10e79e28452..aa12a9585ff 100644 --- a/examples/widgets/doc/src/simpletreemodel.qdoc +++ b/examples/widgets/doc/src/simpletreemodel.qdoc @@ -323,8 +323,9 @@ \section1 Testing the model Correctly implementing an item model can be challenging. The class - \l QAbstractItemModelTester from the \l{Qt Test} module checks for model - consistency, like the model index creation and parent-child relationships. + \l [QtTest] QAbstractItemModelTester from the \l [QtTest] {Qt Test} module + checks for model consistency, like the model index creation and + parent-child relationships. You can test your model by just passing a model instance to the class constructor, for instance as part of a Qt unit test: |