summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcommandlineparser.cpp
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2023-05-24 08:53:56 +0200
committerKai Köhne <kai.koehne@qt.io>2023-06-09 08:05:00 +0000
commit53fa325f4c4ae5721a4858eeec33ef79d19d1acf (patch)
tree947b76e3a3a53c034955ef270c0a4326292a9bd4 /src/corelib/tools/qcommandlineparser.cpp
parentef7e65e19a0ddf74a0cd72e59a83b9543426322b (diff)
Doc: Allow qdoc to link to functions mentioned
\c prevents qdoc from linking to the relevant function documentation. Pick-to: 6.5 6.6 Change-Id: Ieaa38b1feba816e911b17445a9436f64c234522a Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
-rw-r--r--src/corelib/tools/qcommandlineparser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/corelib/tools/qcommandlineparser.cpp b/src/corelib/tools/qcommandlineparser.cpp
index 633ae7562cc..c0b7c81fd6e 100644
--- a/src/corelib/tools/qcommandlineparser.cpp
+++ b/src/corelib/tools/qcommandlineparser.cpp
@@ -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