diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-08-19 14:54:51 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-08-20 07:51:05 +0200 |
commit | 92d4d490fe808479e3fe8885e5e5cabd20f3d03f (patch) | |
tree | bed5c974344f0baac00265c48f4d674ad185e557 /src/corelib/kernel/qcoreapplication.cpp | |
parent | 1f1f0003274e446fc49e61255749f83c5826cd0b (diff) |
Fix a number of qdoc warnings
- Remove obsolete functions and enumeration values
- Remove QObject * parameter from QMetaProperty accessors
- Fix renamed enumerations in QSsl
- Fix list items to be \li
- Fix function signatures and variable names
Change-Id: I37c7e6bf2c8ff92bc7b82620bae0a27796f866ab
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication.cpp')
-rw-r--r-- | src/corelib/kernel/qcoreapplication.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp index 728ac6e7c1..303190ae69 100644 --- a/src/corelib/kernel/qcoreapplication.cpp +++ b/src/corelib/kernel/qcoreapplication.cpp @@ -1929,21 +1929,6 @@ bool QCoreApplication::event(QEvent *e) return QObject::event(e); } -/*! \enum QCoreApplication::Encoding - \obsolete - - This enum type used to define the 8-bit encoding of character string - arguments to translate(). This enum is now obsolete and UTF-8 will be - used in all cases. - - \value UnicodeUTF8 UTF-8. - \omitvalue Latin1 - \omitvalue DefaultCodec \omit UTF-8. \endomit - \omitvalue CodecForTr - - \sa QObject::tr(), QString::fromUtf8() -*/ - void QCoreApplicationPrivate::ref() { quitLockRef.ref(); @@ -2178,11 +2163,6 @@ QString QCoreApplication::translate(const char *context, const char *sourceText, return result; } -/*! \fn static QString QCoreApplication::translate(const char *context, const char *key, const char *disambiguation, Encoding encoding, int n = -1) - - \obsolete -*/ - // Declared in qglobal.h QString qtTrId(const char *id, int n) { |