diff options
author | Martin Smith <martin.smith@qt.io> | 2018-01-16 12:38:23 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-01-18 06:32:32 +0000 |
commit | 1c8f7082f70af934ddc46b9687a88e02233e1082 (patch) | |
tree | 1fc1d794839e8a74121eee25385bb5e65c6cb0ef /src/corelib/tools/qdatetime.cpp | |
parent | 8b9b3e2f29e06106ac6b3bc4cc60bc0a13ec0083 (diff) |
doc: Add missing return types to \fn commands, fix mis-specified ones
This update corrects several qdoc warnings about undocumented
parameters, which are actually caused when the return type is not
included in the \fn command, or when the return type is mis-specified
(includes static, or lacks needed template parameters).
Change-Id: Ic49139b88424e93609fbd01bc0836436d13a8f9a
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools/qdatetime.cpp')
-rw-r--r-- | src/corelib/tools/qdatetime.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index fccf1c4afa..df5e4e44e4 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -1272,7 +1272,7 @@ QDate QDate::fromString(const QString& string, Qt::DateFormat format) } /*! - \fn QDate::fromString(const QString &string, const QString &format) + \fn QDate QDate::fromString(const QString &string, const QString &format) Returns the QDate represented by the \a string, using the \a format given, or an invalid date if the string cannot be parsed. @@ -2000,7 +2000,7 @@ QTime QTime::fromString(const QString& string, Qt::DateFormat format) } /*! - \fn QTime::fromString(const QString &string, const QString &format) + \fn QTime QTime::fromString(const QString &string, const QString &format) Returns the QTime represented by the \a string, using the \a format given, or an invalid time if the string cannot be parsed. @@ -4944,7 +4944,7 @@ QDateTime QDateTime::fromString(const QString& string, Qt::DateFormat format) } /*! - \fn QDateTime::fromString(const QString &string, const QString &format) + \fn QDateTime QDateTime::fromString(const QString &string, const QString &format) Returns the QDateTime represented by the \a string, using the \a format given, or an invalid datetime if the string cannot be parsed. |