diff options
author | Paul Wicking <paul.wicking@qt.io> | 2024-02-14 10:12:26 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2024-02-14 21:47:28 +0100 |
commit | f157422c58475b3b818b0dddc31289e7105967c2 (patch) | |
tree | 084c95e4a0028927f5abfaec0007f2b27cdf069b /examples/widgets | |
parent | 986f8b361ce9d6163f6ef691cad7b2955dcfe5cc (diff) |
Doc: Resolve qdoc link warnings
- Drop link to non-existing documentation.
- Reorder links such that the target becomes the text and vice versa.
- Use correct link target names.
- Add missing qttestlib doc project dependency to qtwidgets.
Pick-to: 6.7
Change-Id: Iaa0ea7b22326c82271b14b17c4b78c3a25a834f1
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'examples/widgets')
-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 22ff7b574e..15df678c87 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 10e79e2845..aa12a9585f 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: |