Doc: Allow qdoc to link to functions mentioned
\c prevents qdoc from linking to the relevant function documentation. Change-Id: Ieaa38b1feba816e911b17445a9436f64c234522a Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 53fa325f4c4ae5721a4858eeec33ef79d19d1acf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
fd91d1a668
commit
5c3203d38d
@ -398,7 +398,7 @@ QCommandLineOption QCommandLineParser::addVersionOption()
|
||||
|
||||
These options are handled automatically by QCommandLineParser.
|
||||
|
||||
Remember to use \c setApplicationDescription() to set the application
|
||||
Remember to use setApplicationDescription() to set the application
|
||||
description, which will be displayed when this option is used.
|
||||
|
||||
Example:
|
||||
@ -786,7 +786,7 @@ bool QCommandLineParserPrivate::parse(const QStringList &args)
|
||||
Returns \c true if the option \a name was set, false otherwise.
|
||||
|
||||
The name provided can be any long or short name of any option that was
|
||||
added with \c addOption(). All the options names are treated as being
|
||||
added with addOption(). All the options names are treated as being
|
||||
equivalent. If the name is not recognized or that option was not present,
|
||||
false is returned.
|
||||
|
||||
@ -812,7 +812,7 @@ bool QCommandLineParser::isSet(const QString &name) const
|
||||
an empty string if not found.
|
||||
|
||||
The name provided can be any long or short name of any option that was
|
||||
added with \c addOption(). All the option names are treated as being
|
||||
added with addOption(). All the option names are treated as being
|
||||
equivalent. If the name is not recognized or that option was not present, an
|
||||
empty string is returned.
|
||||
|
||||
@ -841,7 +841,7 @@ QString QCommandLineParser::value(const QString &optionName) const
|
||||
optionName, or an empty list if not found.
|
||||
|
||||
The name provided can be any long or short name of any option that was
|
||||
added with \c addOption(). All the options names are treated as being
|
||||
added with addOption(). All the options names are treated as being
|
||||
equivalent. If the name is not recognized or that option was not present, an
|
||||
empty list is returned.
|
||||
|
||||
@ -949,8 +949,8 @@ QStringList QCommandLineParser::positionalArguments() const
|
||||
Names may appear more than once in this list if they were encountered
|
||||
more than once by the parser.
|
||||
|
||||
Any entry in the list can be used with \c value() or with
|
||||
\c values() to get any relevant option values.
|
||||
Any entry in the list can be used with value() or with
|
||||
values() to get any relevant option values.
|
||||
*/
|
||||
|
||||
QStringList QCommandLineParser::optionNames() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user