diff options
Diffstat (limited to 'src/corelib/tools/qdatetime.cpp')
-rw-r--r-- | src/corelib/tools/qdatetime.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index 1343600369..b76f4e3493 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -2208,6 +2208,13 @@ QDateTime &QDateTime::operator=(const QDateTime &other) d = other.d; return *this; } +/*! + \fn void QDateTime::swap(QDateTime &other) + \since 5.0 + + Swaps this date-time with \a other. This operation is very fast + and never fails. +*/ /*! Returns true if both the date and the time are null; otherwise |