diff --git a/doc/global/cpp-doc-macros.qdocconf b/doc/global/cpp-doc-macros.qdocconf index ce98d5cae4..5de60c20de 100644 --- a/doc/global/cpp-doc-macros.qdocconf +++ b/doc/global/cpp-doc-macros.qdocconf @@ -11,5 +11,5 @@ # The function's argument name must be \a other. macro.memberswap = \ "\n\n" \ - "Swaps \1 \\a{other} with this \1. This operation is very fast and never fails." \ + "Swaps this \1 with \\a{other}. This operation is very fast and never fails." \ "\n\n" diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index 93a90953a9..16d2aa5135 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -516,9 +516,7 @@ void QDebug::putUInt128([[maybe_unused]] const void *p) /*! \fn QDebug::swap(QDebug &other) \since 5.0 - - Swaps this debug stream instance with \a other. This function is - very fast and never fails. + \memberswap{debug stream instance} */ /*! diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index 4e0ef6d974..20377c0fd3 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -1880,9 +1880,7 @@ QDir &QDir::operator=(const QDir &dir) /*! \fn void QDir::swap(QDir &other) \since 5.0 - - Swaps this QDir instance with \a other. This function is very fast - and never fails. + \memberswap{QDir instance} */ /*! diff --git a/src/corelib/io/qfileinfo.cpp b/src/corelib/io/qfileinfo.cpp index f38c8f6761..a3e140f209 100644 --- a/src/corelib/io/qfileinfo.cpp +++ b/src/corelib/io/qfileinfo.cpp @@ -490,9 +490,7 @@ QFileInfo &QFileInfo::operator=(const QFileInfo &fileinfo) /*! \fn void QFileInfo::swap(QFileInfo &other) \since 5.0 - - Swaps this file info with \a other. This function is very fast and - never fails. + \memberswap{file info} */ /*! diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp index 108ee0b7c3..55271873fe 100644 --- a/src/corelib/io/qprocess.cpp +++ b/src/corelib/io/qprocess.cpp @@ -180,9 +180,7 @@ QProcessEnvironment &QProcessEnvironment::operator=(const QProcessEnvironment &o /*! \fn void QProcessEnvironment::swap(QProcessEnvironment &other) \since 5.0 - - Swaps this process environment instance with \a other. This - function is very fast and never fails. + \memberswap{process environment instance} */ /*! diff --git a/src/corelib/io/qstorageinfo.cpp b/src/corelib/io/qstorageinfo.cpp index ab2e22c1ff..72ee070edb 100644 --- a/src/corelib/io/qstorageinfo.cpp +++ b/src/corelib/io/qstorageinfo.cpp @@ -120,9 +120,7 @@ QStorageInfo &QStorageInfo::operator=(const QStorageInfo &other) /*! \fn void QStorageInfo::swap(QStorageInfo &other) - - Swaps this volume info with \a other. This function is very fast and - never fails. + \memberswap{volume info} */ /*! diff --git a/src/corelib/io/qurlquery.cpp b/src/corelib/io/qurlquery.cpp index 31f3ee1d90..1b44dbf7b8 100644 --- a/src/corelib/io/qurlquery.cpp +++ b/src/corelib/io/qurlquery.cpp @@ -387,9 +387,7 @@ QUrlQuery &QUrlQuery::operator =(const QUrlQuery &other) /*! \fn void QUrlQuery::swap(QUrlQuery &other) - - Swaps this URL query instance with \a other. This function is very - fast and never fails. + \memberswap{URL query instance} */ /*! diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index 3b929c8ec0..52e8157536 100644 --- a/src/corelib/itemmodels/qabstractitemmodel.cpp +++ b/src/corelib/itemmodels/qabstractitemmodel.cpp @@ -444,9 +444,7 @@ QPersistentModelIndex &QPersistentModelIndex::operator=(const QPersistentModelIn /*! \fn void QPersistentModelIndex::swap(QPersistentModelIndex &other) \since 5.0 - - Swaps this persistent modelindex with \a other. This function is - very fast and never fails. + \memberswap{persistent modelindex} */ /*! diff --git a/src/corelib/itemmodels/qitemselectionmodel.cpp b/src/corelib/itemmodels/qitemselectionmodel.cpp index 7175c0d3bb..567b05af5f 100644 --- a/src/corelib/itemmodels/qitemselectionmodel.cpp +++ b/src/corelib/itemmodels/qitemselectionmodel.cpp @@ -77,9 +77,7 @@ QT_IMPL_METATYPE_EXTERN(QItemSelection) /*! \fn QItemSelectionRange::swap(QItemSelectionRange &other) \since 5.6 - - Swaps this selection range's contents with \a other. - This function is very fast and never fails. + \memberswap{selection range's contents} */ /*! diff --git a/src/corelib/kernel/qjniarray.qdoc b/src/corelib/kernel/qjniarray.qdoc index 633586a1db..395e08f1fe 100644 --- a/src/corelib/kernel/qjniarray.qdoc +++ b/src/corelib/kernel/qjniarray.qdoc @@ -60,8 +60,7 @@ /*! \fn void QJniArrayBase::swap(QJniArrayBase &other) - - Swaps this array object with \a other. This function is very fast and never fails. + \memberswap{array object} */ /*! diff --git a/src/corelib/kernel/qjniobject.cpp b/src/corelib/kernel/qjniobject.cpp index 1a0cb07a54..2a3c365a0e 100644 --- a/src/corelib/kernel/qjniobject.cpp +++ b/src/corelib/kernel/qjniobject.cpp @@ -739,8 +739,7 @@ QJniObject::~QJniObject() /*! \fn void QJniObject::swap(QJniObject &other) \since 6.8 - - Swaps this object with \a other. This function is very fast and never fails. + \memberswap{object} */ diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp index f375a7b8a9..22c2babb1f 100644 --- a/src/corelib/kernel/qmetaobject.cpp +++ b/src/corelib/kernel/qmetaobject.cpp @@ -1787,9 +1787,7 @@ bool QMetaObject::invokeMethodImpl(QObject *object, QtPrivate::QSlotObjectBase * /*! \fn QMetaObject::Connection::swap(Connection &other) \since 5.15 - - Swaps this Connection instance with \a other. This operation is very fast - and never fails. + \memberswap{Connection instance} */ /*! diff --git a/src/corelib/text/qcollator.cpp b/src/corelib/text/qcollator.cpp index 1f7e7459e7..9ead847843 100644 --- a/src/corelib/text/qcollator.cpp +++ b/src/corelib/text/qcollator.cpp @@ -168,9 +168,7 @@ QCollator &QCollator::operator=(const QCollator &other) /*! \fn void QCollator::swap(QCollator &other) - - Swaps this collator with \a other. This function is very fast and - never fails. + \memberswap{collator} */ /*! @@ -470,8 +468,7 @@ QCollatorSortKey& QCollatorSortKey::operator=(const QCollatorSortKey &other) /*! \fn void QCollatorSortKey::swap(QCollatorSortKey & other) - - Swaps this collator key with \a other. + \memberswap{collator key} */ /*! diff --git a/src/corelib/time/qdatetime.cpp b/src/corelib/time/qdatetime.cpp index 80e8536791..1b727e1c22 100644 --- a/src/corelib/time/qdatetime.cpp +++ b/src/corelib/time/qdatetime.cpp @@ -4059,9 +4059,7 @@ QDateTime &QDateTime::operator=(const QDateTime &other) noexcept /*! \fn void QDateTime::swap(QDateTime &other) \since 5.0 - - Swaps this datetime with \a other. This operation is very fast - and never fails. + \memberswap{datetime} */ /*! diff --git a/src/corelib/time/qtimezone.cpp b/src/corelib/time/qtimezone.cpp index 0caf36e754..542fd50f82 100644 --- a/src/corelib/time/qtimezone.cpp +++ b/src/corelib/time/qtimezone.cpp @@ -709,9 +709,7 @@ QTimeZone::~QTimeZone() /*! \fn QTimeZone::swap(QTimeZone &other) noexcept - - Swaps this time zone instance with \a other. This function is very - fast and never fails. + \memberswap{time zone instance} */ /*! diff --git a/src/corelib/tools/qscopedpointer.cpp b/src/corelib/tools/qscopedpointer.cpp index 17d9264ba7..6416bce8dc 100644 --- a/src/corelib/tools/qscopedpointer.cpp +++ b/src/corelib/tools/qscopedpointer.cpp @@ -308,7 +308,7 @@ QT_BEGIN_NAMESPACE \deprecated [6.2] Use \c std::unique_ptr instead; this function may let a pointer escape its scope. - Swap this pointer with \a other. + \memberswap{pointer}. */ QT_END_NAMESPACE diff --git a/src/corelib/tools/qsharedpointer.cpp b/src/corelib/tools/qsharedpointer.cpp index 217a3a4ff4..a9b75c649c 100644 --- a/src/corelib/tools/qsharedpointer.cpp +++ b/src/corelib/tools/qsharedpointer.cpp @@ -521,9 +521,7 @@ /*! \fn template void QSharedPointer::swap(QSharedPointer &other); \since 5.3 - - Swaps this shared pointer instance with \a other. This function is - very fast and never fails. + \memberswap{shared pointer instance} */ /*! @@ -842,9 +840,7 @@ /*! \fn template void QWeakPointer::swap(QWeakPointer &other) \since 5.4 - - Swaps this weak pointer instance with \a other. This function is - very fast and never fails. + \memberswap{weak pointer instance} */ /*! diff --git a/src/dbus/qdbuspendingcall.cpp b/src/dbus/qdbuspendingcall.cpp index f9d414d1bd..225b05ed1e 100644 --- a/src/dbus/qdbuspendingcall.cpp +++ b/src/dbus/qdbuspendingcall.cpp @@ -278,9 +278,7 @@ QDBusPendingCall &QDBusPendingCall::operator=(const QDBusPendingCall &other) /*! \fn void QDBusPendingCall::swap(QDBusPendingCall &other) \since 5.0 - - Swaps this pending call instance with \a other. This function is - very fast and never fails. + \memberswap{pending call instance} */ /*! diff --git a/src/dbus/qdbusunixfiledescriptor.cpp b/src/dbus/qdbusunixfiledescriptor.cpp index 943c593acb..d79b9de0ef 100644 --- a/src/dbus/qdbusunixfiledescriptor.cpp +++ b/src/dbus/qdbusunixfiledescriptor.cpp @@ -161,9 +161,7 @@ QDBusUnixFileDescriptor::~QDBusUnixFileDescriptor() /*! \fn void QDBusUnixFileDescriptor::swap(QDBusUnixFileDescriptor &other) \since 5.0 - - Swaps this file descriptor instance with \a other. This function - is very fast and never fails. + \memberswap{file descriptor instance} */ /*! diff --git a/src/gui/kernel/qpalette.cpp b/src/gui/kernel/qpalette.cpp index e308b796ab..70b0e066b1 100644 --- a/src/gui/kernel/qpalette.cpp +++ b/src/gui/kernel/qpalette.cpp @@ -715,9 +715,7 @@ QPalette &QPalette::operator=(const QPalette &p) /*! \fn void QPalette::swap(QPalette &other) \since 5.0 - - Swaps this palette instance with \a other. This function is very - fast and never fails. + \memberswap{palette instance} */ /*! diff --git a/src/gui/painting/qpagelayout.cpp b/src/gui/painting/qpagelayout.cpp index e60f464d6e..7b526ccc2a 100644 --- a/src/gui/painting/qpagelayout.cpp +++ b/src/gui/painting/qpagelayout.cpp @@ -369,9 +369,7 @@ QPageLayout &QPageLayout::operator=(const QPageLayout &other) /*! \fn void QPageLayout::swap(QPageLayout &other) - - Swaps this page layout with \a other. This function is very fast and - never fails. + \memberswap{page layout} */ /*! diff --git a/src/gui/painting/qpagesize.cpp b/src/gui/painting/qpagesize.cpp index 37f66fe63d..3b6a21140d 100644 --- a/src/gui/painting/qpagesize.cpp +++ b/src/gui/painting/qpagesize.cpp @@ -1207,9 +1207,7 @@ QPageSize &QPageSize::operator=(const QPageSize &other) /*! \fn void QPageSize::swap(QPageSize &other) - - Swaps this QPageSize with \a other. This function is very fast and - never fails. + \memberswap{QPageSize} */ /*! diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp index c8881a9bf8..bbd53249fa 100644 --- a/src/gui/text/qfont.cpp +++ b/src/gui/text/qfont.cpp @@ -803,9 +803,7 @@ QFont &QFont::operator=(const QFont &font) /*! \fn void QFont::swap(QFont &other) \since 5.0 - - Swaps this font instance with \a other. This function is very fast - and never fails. + \memberswap{font instance} */ /*! @@ -3096,9 +3094,7 @@ QFontInfo &QFontInfo::operator=(const QFontInfo &fi) /*! \fn void QFontInfo::swap(QFontInfo &other) \since 5.0 - - Swaps this font info instance with \a other. This function is very - fast and never fails. + \memberswap{font info instance} */ /*! diff --git a/src/gui/text/qfontmetrics.cpp b/src/gui/text/qfontmetrics.cpp index f7e405f0b5..52a4d6995c 100644 --- a/src/gui/text/qfontmetrics.cpp +++ b/src/gui/text/qfontmetrics.cpp @@ -195,9 +195,7 @@ QFontMetrics &QFontMetrics::operator=(const QFontMetrics &fm) /*! \fn void QFontMetrics::swap(QFontMetrics &other) \since 5.0 - - Swaps this font metrics instance with \a other. This function is - very fast and never fails. + \memberswap{font metrics instance} */ /*! @@ -1038,9 +1036,7 @@ QFontMetricsF &QFontMetricsF::operator=(const QFontMetrics &other) /*! \fn void QFontMetricsF::swap(QFontMetricsF &other) \since 5.0 - - Swaps this font metrics instance with \a other. This function is - very fast and never fails. + \memberswap{font metrics instance} */ diff --git a/src/gui/text/qglyphrun.cpp b/src/gui/text/qglyphrun.cpp index 4252d9e7f1..8636bc8503 100644 --- a/src/gui/text/qglyphrun.cpp +++ b/src/gui/text/qglyphrun.cpp @@ -117,9 +117,7 @@ QGlyphRun &QGlyphRun::operator=(const QGlyphRun &other) /*! \fn void QGlyphRun::swap(QGlyphRun &other) \since 5.0 - - Swaps this glyph run instance with \a other. This function is very - fast and never fails. + \memberswap{glyph run instance} */ /*! diff --git a/src/gui/text/qrawfont.cpp b/src/gui/text/qrawfont.cpp index 54676b3560..14481e1055 100644 --- a/src/gui/text/qrawfont.cpp +++ b/src/gui/text/qrawfont.cpp @@ -171,9 +171,7 @@ QRawFont &QRawFont::operator=(const QRawFont &other) /*! \fn void QRawFont::swap(QRawFont &other) \since 5.0 - - Swaps this raw font with \a other. This function is very fast and - never fails. + \memberswap{raw font} */ /*! diff --git a/src/gui/text/qstatictext.cpp b/src/gui/text/qstatictext.cpp index eb7d19d64e..ac703aff7c 100644 --- a/src/gui/text/qstatictext.cpp +++ b/src/gui/text/qstatictext.cpp @@ -195,9 +195,7 @@ QStaticText &QStaticText::operator=(const QStaticText &other) /*! \fn void QStaticText::swap(QStaticText &other) \since 5.0 - - Swaps this static text instance with \a other. This function is - very fast and never fails. + \memberswap{static text instance} */ /*! diff --git a/src/gui/text/qtextcursor.cpp b/src/gui/text/qtextcursor.cpp index 5730f55e6a..406da0e91a 100644 --- a/src/gui/text/qtextcursor.cpp +++ b/src/gui/text/qtextcursor.cpp @@ -1083,9 +1083,7 @@ QTextCursor &QTextCursor::operator=(const QTextCursor &cursor) /*! \fn void QTextCursor::swap(QTextCursor &other) \since 5.0 - - Swaps this text cursor instance with \a other. This function is - very fast and never fails. + \memberswap{text cursor instance} */ /*! diff --git a/src/gui/text/qtextformat.cpp b/src/gui/text/qtextformat.cpp index dacef70812..48106ab31e 100644 --- a/src/gui/text/qtextformat.cpp +++ b/src/gui/text/qtextformat.cpp @@ -912,9 +912,7 @@ QTextFormat &QTextFormat::operator=(const QTextFormat &rhs) /*! \fn void QTextFormat::swap(QTextFormat &other) \since 5.0 - - Swaps this text format with \a other. This function is very fast - and never fails. + \memberswap{text format} */ /*! diff --git a/src/network/access/qabstractnetworkcache.cpp b/src/network/access/qabstractnetworkcache.cpp index 3cd55d46fa..531e94e7e0 100644 --- a/src/network/access/qabstractnetworkcache.cpp +++ b/src/network/access/qabstractnetworkcache.cpp @@ -117,9 +117,7 @@ QNetworkCacheMetaData &QNetworkCacheMetaData::operator=(const QNetworkCacheMetaD /*! \fn void QNetworkCacheMetaData::swap(QNetworkCacheMetaData &other) \since 5.0 - - Swaps this metadata instance with \a other. This function is very - fast and never fails. + \memberswap{metadata instance} */ /*! diff --git a/src/network/access/qhttp1configuration.cpp b/src/network/access/qhttp1configuration.cpp index cfa929bca5..1cf48e698c 100644 --- a/src/network/access/qhttp1configuration.cpp +++ b/src/network/access/qhttp1configuration.cpp @@ -107,9 +107,7 @@ qsizetype QHttp1Configuration::numberOfConnectionsPerHost() const /*! \fn void QHttp1Configuration::swap(QHttp1Configuration &other) - - Swaps this HTTP/1 configuration with \a other. This operation is very fast - and never fails. + \memberswap{HTTP/1 configuration} */ /*! diff --git a/src/network/access/qhttpheaders.cpp b/src/network/access/qhttpheaders.cpp index bfe6cb1419..b4f3fa9940 100644 --- a/src/network/access/qhttpheaders.cpp +++ b/src/network/access/qhttpheaders.cpp @@ -957,9 +957,7 @@ QHttpHeaders &QHttpHeaders::operator=(const QHttpHeaders &other) /*! \fn void QHttpHeaders::swap(QHttpHeaders &other) - - Swaps this QHttpHeaders with \a other. This function is very fast and - never fails. + \memberswap{QHttpHeaders} */ #ifndef QT_NO_DEBUG_STREAM diff --git a/src/network/access/qhttpmultipart.cpp b/src/network/access/qhttpmultipart.cpp index 711d89544c..2249dbc05c 100644 --- a/src/network/access/qhttpmultipart.cpp +++ b/src/network/access/qhttpmultipart.cpp @@ -90,9 +90,7 @@ QHttpPart &QHttpPart::operator=(const QHttpPart &other) /*! \fn void QHttpPart::swap(QHttpPart &other) \since 5.0 - - Swaps this HTTP part with \a other. This function is very fast and - never fails. + \memberswap{HTTP part} */ /*! diff --git a/src/network/access/qnetworkcookie.cpp b/src/network/access/qnetworkcookie.cpp index 8ea5fdbe57..914bdde2a2 100644 --- a/src/network/access/qnetworkcookie.cpp +++ b/src/network/access/qnetworkcookie.cpp @@ -117,9 +117,7 @@ QNetworkCookie &QNetworkCookie::operator=(const QNetworkCookie &other) /*! \fn void QNetworkCookie::swap(QNetworkCookie &other) \since 5.0 - - Swaps this cookie with \a other. This function is very fast and - never fails. + \memberswap{cookie} */ /*! diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp index 6a266f8651..5905f8ab4d 100644 --- a/src/network/access/qnetworkrequest.cpp +++ b/src/network/access/qnetworkrequest.cpp @@ -591,9 +591,7 @@ QNetworkRequest &QNetworkRequest::operator=(const QNetworkRequest &other) /*! \fn void QNetworkRequest::swap(QNetworkRequest &other) \since 5.0 - - Swaps this network request with \a other. This function is very - fast and never fails. + \memberswap{network request} */ /*! diff --git a/src/network/access/qnetworkrequestfactory.cpp b/src/network/access/qnetworkrequestfactory.cpp index 2a6938bb7f..dd05f5e11f 100644 --- a/src/network/access/qnetworkrequestfactory.cpp +++ b/src/network/access/qnetworkrequestfactory.cpp @@ -115,9 +115,7 @@ QNetworkRequestFactory &QNetworkRequestFactory::operator=(const QNetworkRequestF /*! \fn void QNetworkRequestFactory::swap(QNetworkRequestFactory &other) - - Swaps this factory with \a other. This operation is - very fast and never fails. + \memberswap{factory} */ /*! diff --git a/src/network/kernel/qdnslookup.cpp b/src/network/kernel/qdnslookup.cpp index d84374ab97..1b883ccb37 100644 --- a/src/network/kernel/qdnslookup.cpp +++ b/src/network/kernel/qdnslookup.cpp @@ -882,11 +882,10 @@ QDnsDomainNameRecord &QDnsDomainNameRecord::operator=(const QDnsDomainNameRecord d = other.d; return *this; } + /*! \fn void QDnsDomainNameRecord::swap(QDnsDomainNameRecord &other) - - Swaps this domain-name record instance with \a other. This - function is very fast and never fails. + \memberswap{domain-name record instance} */ /*! @@ -967,11 +966,10 @@ QDnsHostAddressRecord &QDnsHostAddressRecord::operator=(const QDnsHostAddressRec d = other.d; return *this; } + /*! \fn void QDnsHostAddressRecord::swap(QDnsHostAddressRecord &other) - - Swaps this host address record instance with \a other. This - function is very fast and never fails. + \memberswap{host address record instance} */ /*! @@ -1065,9 +1063,7 @@ QDnsMailExchangeRecord &QDnsMailExchangeRecord::operator=(const QDnsMailExchange } /*! \fn void QDnsMailExchangeRecord::swap(QDnsMailExchangeRecord &other) - - Swaps this mail exchange record with \a other. This function is - very fast and never fails. + \memberswap{mail exchange record} */ /*! @@ -1186,9 +1182,7 @@ QDnsServiceRecord &QDnsServiceRecord::operator=(const QDnsServiceRecord &other) } /*! \fn void QDnsServiceRecord::swap(QDnsServiceRecord &other) - - Swaps this service record instance with \a other. This function is - very fast and never fails. + \memberswap{service record instance} */ /*! @@ -1273,9 +1267,7 @@ QDnsTextRecord &QDnsTextRecord::operator=(const QDnsTextRecord &other) } /*! \fn void QDnsTextRecord::swap(QDnsTextRecord &other) - - Swaps this text record instance with \a other. This function is - very fast and never fails. + \memberswap{text record instance} */ /*! diff --git a/src/network/kernel/qhostaddress.cpp b/src/network/kernel/qhostaddress.cpp index d6e0b38462..a1b41c0d51 100644 --- a/src/network/kernel/qhostaddress.cpp +++ b/src/network/kernel/qhostaddress.cpp @@ -505,9 +505,7 @@ QHostAddress &QHostAddress::operator=(SpecialAddress address) /*! \fn void QHostAddress::swap(QHostAddress &other) \since 5.6 - - Swaps this host address with \a other. This operation is very fast - and never fails. + \memberswap{host address} */ /*! diff --git a/src/network/kernel/qnetworkinterface.cpp b/src/network/kernel/qnetworkinterface.cpp index f03e85c7f6..fea6d4451b 100644 --- a/src/network/kernel/qnetworkinterface.cpp +++ b/src/network/kernel/qnetworkinterface.cpp @@ -190,9 +190,7 @@ QNetworkAddressEntry &QNetworkAddressEntry::operator=(const QNetworkAddressEntry /*! \fn void QNetworkAddressEntry::swap(QNetworkAddressEntry &other) \since 5.0 - - Swaps this network address entry instance with \a other. This - function is very fast and never fails. + \memberswap{network address entry instance} */ /*! @@ -632,9 +630,7 @@ QNetworkInterface &QNetworkInterface::operator=(const QNetworkInterface &other) /*! \fn void QNetworkInterface::swap(QNetworkInterface &other) \since 5.0 - - Swaps this network interface instance with \a other. This function - is very fast and never fails. + \memberswap{network interface instance} */ /*! diff --git a/src/network/kernel/qnetworkproxy.cpp b/src/network/kernel/qnetworkproxy.cpp index 9b91b11d6b..6f6c0266bb 100644 --- a/src/network/kernel/qnetworkproxy.cpp +++ b/src/network/kernel/qnetworkproxy.cpp @@ -538,9 +538,7 @@ QNetworkProxy &QNetworkProxy::operator=(const QNetworkProxy &other) /*! \fn void QNetworkProxy::swap(QNetworkProxy &other) \since 5.0 - - Swaps this network proxy instance with \a other. This function is - very fast and never fails. + \memberswap{network proxy instance} */ /*! @@ -1161,9 +1159,7 @@ QNetworkProxyQuery &QNetworkProxyQuery::operator=(const QNetworkProxyQuery &othe /*! \fn void QNetworkProxyQuery::swap(QNetworkProxyQuery &other) \since 5.0 - - Swaps this network proxy query instance with \a other. This - function is very fast and never fails. + \memberswap{network proxy query instance} */ /*! diff --git a/src/network/ssl/qocspresponse.cpp b/src/network/ssl/qocspresponse.cpp index 74e2c814fd..ac450426e9 100644 --- a/src/network/ssl/qocspresponse.cpp +++ b/src/network/ssl/qocspresponse.cpp @@ -126,8 +126,7 @@ QOcspResponse &QOcspResponse::operator=(QOcspResponse &&) noexcept = default; /*! \fn void QOcspResponse::swap(QOcspResponse &other) \since 5.13 - - Swaps this response with \a other. + \memberswap{response} */ /*! diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp index eff6c3a142..285cd3bbbe 100644 --- a/src/network/ssl/qsslcertificate.cpp +++ b/src/network/ssl/qsslcertificate.cpp @@ -232,9 +232,7 @@ QSslCertificate &QSslCertificate::operator=(const QSslCertificate &other) /*! \fn void QSslCertificate::swap(QSslCertificate &other) \since 5.0 - - Swaps this certificate instance with \a other. This function is - very fast and never fails. + \memberswap{certificate instance} */ /*! diff --git a/src/network/ssl/qsslcertificateextension.cpp b/src/network/ssl/qsslcertificateextension.cpp index 3f583e2e2f..090ff8c512 100644 --- a/src/network/ssl/qsslcertificateextension.cpp +++ b/src/network/ssl/qsslcertificateextension.cpp @@ -130,9 +130,7 @@ QSslCertificateExtension &QSslCertificateExtension::operator=(const QSslCertific /*! \fn void QSslCertificateExtension::swap(QSslCertificateExtension &other) - - Swaps this certificate extension instance with \a other. This - function is very fast and never fails. + \memberswap{certificate extension instance} */ /*! diff --git a/src/network/ssl/qsslcipher.cpp b/src/network/ssl/qsslcipher.cpp index 2a4da7991a..4a1f411eed 100644 --- a/src/network/ssl/qsslcipher.cpp +++ b/src/network/ssl/qsslcipher.cpp @@ -117,9 +117,7 @@ QSslCipher &QSslCipher::operator=(const QSslCipher &other) /*! \fn void QSslCipher::swap(QSslCipher &other) \since 5.0 - - Swaps this cipher instance with \a other. This function is very - fast and never fails. + \memberswap{cipher instance} */ /*! diff --git a/src/network/ssl/qsslconfiguration.cpp b/src/network/ssl/qsslconfiguration.cpp index fd308d7037..8db753edb5 100644 --- a/src/network/ssl/qsslconfiguration.cpp +++ b/src/network/ssl/qsslconfiguration.cpp @@ -152,9 +152,7 @@ QSslConfiguration &QSslConfiguration::operator=(const QSslConfiguration &other) /*! \fn void QSslConfiguration::swap(QSslConfiguration &other) \since 5.0 - - Swaps this SSL configuration instance with \a other. This function - is very fast and never fails. + \memberswap{SSL configuration instance} */ /*! diff --git a/src/network/ssl/qssldiffiehellmanparameters.cpp b/src/network/ssl/qssldiffiehellmanparameters.cpp index 538984d0bd..b0a56936e2 100644 --- a/src/network/ssl/qssldiffiehellmanparameters.cpp +++ b/src/network/ssl/qssldiffiehellmanparameters.cpp @@ -171,9 +171,7 @@ QSslDiffieHellmanParameters &QSslDiffieHellmanParameters::operator=(const QSslDi /*! \fn void QSslDiffieHellmanParameters::swap(QSslDiffieHellmanParameters &other) - - Swaps this QSslDiffieHellmanParameters with \a other. This function is very fast and - never fails. + \memberswap{QSslDiffieHellmanParameters} */ /*! diff --git a/src/network/ssl/qsslerror.cpp b/src/network/ssl/qsslerror.cpp index 94666fd25d..1df893604a 100644 --- a/src/network/ssl/qsslerror.cpp +++ b/src/network/ssl/qsslerror.cpp @@ -158,9 +158,7 @@ QSslError &QSslError::operator=(const QSslError &other) /*! \fn void QSslError::swap(QSslError &other) \since 5.0 - - Swaps this error instance with \a other. This function is very - fast and never fails. + \memberswap{error instance} */ /*! diff --git a/src/network/ssl/qsslkey_p.cpp b/src/network/ssl/qsslkey_p.cpp index 55cb2b0436..508faf9173 100644 --- a/src/network/ssl/qsslkey_p.cpp +++ b/src/network/ssl/qsslkey_p.cpp @@ -214,9 +214,7 @@ QSslKey &QSslKey::operator=(const QSslKey &other) /*! \fn void QSslKey::swap(QSslKey &other) \since 5.0 - - Swaps this ssl key with \a other. This function is very fast and - never fails. + \memberswap{ssl key} */ /*! diff --git a/src/sql/kernel/qsqlfield.cpp b/src/sql/kernel/qsqlfield.cpp index 0bd0ca5161..b625891729 100644 --- a/src/sql/kernel/qsqlfield.cpp +++ b/src/sql/kernel/qsqlfield.cpp @@ -114,9 +114,7 @@ QT_DEFINE_QESDP_SPECIALIZATION_DTOR(QSqlFieldPrivate) /*! \fn void QSqlField::swap(QSqlField &other) \since 6.6 - - Swaps this field with \a other. This function is very fast and - never fails. + \memberswap{field} */ /*!