diff options
author | Wolf-Michael Bolle <wolf-michael.bolle@nokia.com> | 2011-12-11 18:11:35 +0100 |
---|---|---|
committer | Wolf-Michael Bolle <wolf-michael.bolle@nokia.com> | 2011-12-11 18:11:35 +0100 |
commit | aacb6ef91cca071e6b9fb8ae81a0b4f050edf1b7 (patch) | |
tree | 70f4c49c4aa372e391174fed1834d206759ad50e | |
parent | 172435a98c9dfe425377a8df4dd7bfa8be4f2600 (diff) |
Documentation
-rw-r--r-- | src/mimetypes/qmimetype.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mimetypes/qmimetype.cpp b/src/mimetypes/qmimetype.cpp index c741c90..cd0631b 100644 --- a/src/mimetypes/qmimetype.cpp +++ b/src/mimetypes/qmimetype.cpp @@ -194,6 +194,10 @@ QMimeType::QMimeType(const QMimeTypePrivate &dd) : \fn void QMimeType::swap(QMimeType &other); \brief Swaps the properties of a MIME type with the properties of another MIME type. \a other The other value MIME type the data of which is to be swapped with. + + The swap() method helps with the implementatoin of assignment + operators in an exception-safe way. For more information consult + http://en.wikibooks.org/wiki/More_C++_Idioms/Copy-and-swap. */ /*! |