Revamp Queued Custom Type Ex: Revisit the documentation

Remove "Example" from the title.
Add \examplecategory {Data Processing & I/O}.

Task-number: QTBUG-117147
Pick-to: 6.6 6.5
Change-Id: Ieaab75dedb60329dcdcbbcfe6e2ad360df4d98df
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Rym Bouabid 2023-09-21 11:59:28 +02:00
parent 74318643ce
commit 4aab2ef0ac
3 changed files with 6 additions and 7 deletions

View File

@ -3,8 +3,8 @@
/*!
\example threads/queuedcustomtype
\title Queued Custom Type Example
\brief Demonstrates multi-thread programming using Qt.
\examplecategory {Data Processing & I/O}
\title Queued Custom Type
\ingroup qtconcurrent-mtexamples
\brief The Queued Custom Type example shows how to send custom types between

View File

@ -104,7 +104,7 @@
To register a custom type for use with queued signals and slots, such as
those used in cross-thread communication, see the
\l{Queued Custom Type Example}.
\l{Queued Custom Type} example.
More information on using custom types with Qt can be found in the
\l{Creating Custom Qt Types} document.

View File

@ -77,7 +77,7 @@
available for queued signal-slot communication as long as you call it before you
make the first connection that uses the type.
The \l{Queued Custom Type Example} declares a \c Block class which is registered
The \l{Queued Custom Type} example declares a \c Block class which is registered
in the \c{main.cpp} file:
\snippet threads/queuedcustomtype/main.cpp main start
@ -131,9 +131,8 @@
The Q_DECLARE_METATYPE() macro and qRegisterMetaType() function documentation
contain more detailed information about their uses and limitations.
The \l{Custom Type Example}{Custom Type} and \l{Queued Custom Type Example}
{Queued Custom Type} examples show how to implement a custom type with the
features outlined in this document.
The \l{Custom Type Example}{Custom Type} and \l{Queued Custom Type} examples
show how to implement a custom type with the features outlined in this document.
The \l{Debugging Techniques} document provides an overview of the debugging
mechanisms discussed above.