diff options
author | Martin Smith <martin.smith@qt.io> | 2018-08-10 12:14:05 +0200 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-08-14 17:54:55 +0000 |
commit | 109af99261f3a3fd05954ba0f6e01b83c19dcf81 (patch) | |
tree | a4c36cf6eedfae81e6ffa9583ddfa9e4fa22a9e3 /src/corelib | |
parent | 30e26d258bc69018b7dd6517d816cf36d5606bd3 (diff) |
qdoc: Fix several minor errors to reduce qdoc warnings
This update corrects several minor documentation errors that
cause qdoc warnings. These include incorrect or missing \fn
commands, incorrect uses of \e and \a commands together,
incorrect spellings, etc.
Change-Id: Ib26edef541fa3440025490bcf79cc101623e7f7b
Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/doc/src/objectmodel/signalsandslots.qdoc | 4 | ||||
-rw-r--r-- | src/corelib/global/qglobal.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/doc/src/objectmodel/signalsandslots.qdoc b/src/corelib/doc/src/objectmodel/signalsandslots.qdoc index 213caa6c59..fcf091458a 100644 --- a/src/corelib/doc/src/objectmodel/signalsandslots.qdoc +++ b/src/corelib/doc/src/objectmodel/signalsandslots.qdoc @@ -321,8 +321,8 @@ callbacks, you'd have to find five different names and keep track of the types yourself. - \sa QLCDNumber, QObject::connect(), {Digital Clock Example}, and - {Tetrix Example}. + \sa QLCDNumber, QObject::connect(), {Digital Clock Example}, + {Tetrix Example} \section1 Signals And Slots With Default Arguments diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 9cbfda3c2c..d197688316 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -3814,14 +3814,14 @@ bool qunsetenv(const char *varName) Marks the UTF-8 encoded string literal \a sourceText for numerator dependent delayed translation in the given \a context with the given - \a disambiguation. + \a comment. The \a context is typically a class and also needs to be specified as a string literal. The string literal \a disambiguation should be a short semantic tag to tell apart otherwise identical strings. The macro tells lupdate to collect the string, and expands to an anonymous struct of the two string literals passed as \a sourceText - and \a disambiguation. + and \a comment. Example: |