diff options
author | Geir Vattekar <geir.vattekar@digia.com> | 2013-09-26 12:16:39 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-27 21:47:55 +0200 |
commit | 3705c1263d4d2232d5527361692d25a8519c222b (patch) | |
tree | 3d89fde7ca666151ff674f86d734c7ef02e9cd3e /src/gui/image/qimage.cpp | |
parent | a0792f0e5135588437ed76d4d0e257a276fd80da (diff) |
Doc: Add docs for rvalue references and move constructors
These members were introduced in 4.8, but left undocumented. Because we
consider undocumented API to be internal, the members are \since 5.2.
Change-Id: I52e2840a8cfaa7f59f410b3e2a06c0942ea06539
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/gui/image/qimage.cpp')
-rw-r--r-- | src/gui/image/qimage.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp index 3d6315a7fe..28af8adf9c 100644 --- a/src/gui/image/qimage.cpp +++ b/src/gui/image/qimage.cpp @@ -602,6 +602,23 @@ bool QImageData::checkForAlphaPixels() const */ /*! + \fn QImage::QImage(QImage &&other) + + Move-constructs a QImage instance, making it point at the same + object that \a other was pointing to. + + \since 5.2 +*/ + +/*! + \fn QImage &operator=(QImage &&other) + + Move-assigns \a other to this QImage instance. + + \since 5.2 +*/ + +/*! \typedef QImageCleanupFunction \relates QImage \since 5.0 |