diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-06-27 13:32:30 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-06-28 13:27:46 +0000 |
commit | 0dc5d8e6c92546d83dc84619eb653c6e389edaf1 (patch) | |
tree | 37a745223b6b77482261f69945ea1cc0e77fc771 /src/corelib/tools | |
parent | be9a49b91649d970cdda271b79811b30ffd0a32c (diff) |
Fix some qdoc-warnings for Qt 5.8.
qtbase/src/corelib/tools/qstring.cpp:8341: warning: Unknown command '\length'
qtbase/src/corelib/tools/qstring.cpp:8354: warning: Unknown command '\length'
qtbase/src/corelib/tools/qstring.cpp:8366: warning: Unknown command '\length'
qtbase/src/corelib/doc/src/animation.qdoc:38: warning: Can't link to 'QAbstractAnimation::updateCurrentValue()'
qtbase/src/corelib/io/qdatastream.cpp:529: warning: Undocumented enum item 'Qt_5_8' in QDataStream::Version
qtbase/src/corelib/tools/qdatetime.cpp:4377: warning: No documentation for 'QDateTime::currentSecsSinceEpoch()'
qtbase/src/corelib/tools/qcommandlineoption.cpp:435: warning: Undocumented parameter 'flags' in QCommandLineOption::setFlags()
qtbase/src/network/ssl/qsslconfiguration.cpp:857: warning: Undocumented parameter 'dhparams' in QSslConfiguration::setDiffieHellmanParameters()
qtbase/src/network/ssl/qsslconfiguration.cpp:830: warning: Undocumented parameter 'hint' in QSslConfiguration::setPreSharedKeyIdentityHint()
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:225: warning: No such enum item 'ErrorUnsafeParameters' in QSslDiffieHellmanParameters::Error
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:225: warning: No such enum item 'ErrorInvalidInputData' in QSslDiffieHellmanParameters::Error
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:225: warning: Undocumented enum item 'UnsafeParametersError' in QSslDiffieHellmanParameters::Error
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:225: warning: Undocumented enum item 'NoError' in QSslDiffieHellmanParameters::Error
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:225: warning: Undocumented enum item 'InvalidInputDataError' in QSslDiffieHellmanParameters::Error
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:105: warning: Undocumented parameter 'encoding' in QSslDiffieHellmanParameters::QSslDiffieHellmanParameters()
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:129: warning: Undocumented parameter 'encoding' in QSslDiffieHellmanParameters::QSslDiffieHellmanParameters()
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:208: warning: Can't link to 'clear()'
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:277: warning: Undocumented parameter 'dhparam' in operator<<()
qtbase/src/network/ssl/qssldiffiehellmanparameters.cpp:277: warning: No such parameter 'dhparm' in operator<<()
qtbase/src/widgets/kernel/qapplication.cpp:999: warning: Cannot find 'QApplication::autoMaximizeThreshold' specified with '\property' in any header file
Change-Id: I4ac00f0fc0dbc4d421cf7c0273635d9681962645
Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r-- | src/corelib/tools/qcommandlineoption.cpp | 2 | ||||
-rw-r--r-- | src/corelib/tools/qdatetime.cpp | 10 | ||||
-rw-r--r-- | src/corelib/tools/qstring.cpp | 6 |
3 files changed, 14 insertions, 4 deletions
diff --git a/src/corelib/tools/qcommandlineoption.cpp b/src/corelib/tools/qcommandlineoption.cpp index 1f7f9cc33b..7482315909 100644 --- a/src/corelib/tools/qcommandlineoption.cpp +++ b/src/corelib/tools/qcommandlineoption.cpp @@ -433,7 +433,7 @@ QCommandLineOption::Flags QCommandLineOption::flags() const } /*! - Set the set of flags that affect this command-line option. + Set the set of flags that affect this command-line option to \a flags. \since 5.8 \sa flags(), QCommandLineOption::Flags diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index adb539c388..57de7a8f6e 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -4261,6 +4261,16 @@ bool QDateTime::operator<(const QDateTime &other) const \sa currentDateTime(), currentDateTimeUtc(), toTime_t(), toTimeSpec() */ +/*! + \fn qint64 QDateTime::currentSecsSinceEpoch() + \since 5.8 + + Returns the number of seconds since 1970-01-01T00:00:00 Universal + Coordinated Time. + + \sa currentMSecsSinceEpoch() +*/ + #if defined(Q_OS_WIN) static inline uint msecsFromDecomposed(int hour, int minute, int sec, int msec = 0) { diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 8cabb3c5d2..55390189b6 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -8338,7 +8338,7 @@ QString &QString::setRawData(const QChar *unicode, int size) \a start in this object. \note This function performs no error checking. - The behavior is undefined when \a start < 0, \length < 0, + The behavior is undefined when \a start < 0, \a length < 0, or \a start + \a length > size(). \sa left(), right() @@ -8351,7 +8351,7 @@ QString &QString::setRawData(const QChar *unicode, int size) 0 in this object. \note This function performs no error checking. - The behavior is undefined when \length < 0 or \a length > size(). + The behavior is undefined when \a length < 0 or \a length > size(). \sa mid(), right() */ @@ -8363,7 +8363,7 @@ QString &QString::setRawData(const QChar *unicode, int size) size() - \a length in this object. \note This function performs no error checking. - The behavior is undefined when \length < 0 or \a length > size(). + The behavior is undefined when \a length < 0 or \a length > size(). \sa mid(), left() */ |