summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qbrush.cpp7
-rw-r--r--src/gui/painting/qpainterpath.cpp8
-rw-r--r--src/gui/painting/qpen.cpp8
-rw-r--r--src/gui/painting/qregion.cpp8
4 files changed, 31 insertions, 0 deletions
diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp
index 66c3a68c13..4ec47fa4a9 100644
--- a/src/gui/painting/qbrush.cpp
+++ b/src/gui/painting/qbrush.cpp
@@ -631,6 +631,13 @@ QBrush &QBrush::operator=(const QBrush &b)
return *this;
}
+/*!
+ \fn QBrush &QBrush::operator=(QBrush &&other)
+
+ Move-assigns \a other to this QBrush instance.
+
+ \since 5.2
+*/
/*!
\fn void QBrush::swap(QBrush &other)
diff --git a/src/gui/painting/qpainterpath.cpp b/src/gui/painting/qpainterpath.cpp
index 626a91c331..1e36cd224a 100644
--- a/src/gui/painting/qpainterpath.cpp
+++ b/src/gui/painting/qpainterpath.cpp
@@ -608,6 +608,14 @@ QPainterPath &QPainterPath::operator=(const QPainterPath &other)
}
/*!
+ \fn QPainterPath &QPainterPath::operator=(QPainterPath &&other)
+
+ Move-assigns \a other to this QPainterPath instance.
+
+ \since 5.2
+*/
+
+/*!
\fn void QPainterPath::swap(QPainterPath &other)
\since 4.8
diff --git a/src/gui/painting/qpen.cpp b/src/gui/painting/qpen.cpp
index 4122322e36..a7c4a0eae1 100644
--- a/src/gui/painting/qpen.cpp
+++ b/src/gui/painting/qpen.cpp
@@ -378,6 +378,14 @@ QPen &QPen::operator=(const QPen &p)
}
/*!
+ \fn QPen &QPen::operator=(QPen &&other)
+
+ Move-assigns \a other to this QPen instance.
+
+ \since 5.2
+*/
+
+/*!
\fn void QPen::swap(QPen &other)
\since 4.8
diff --git a/src/gui/painting/qregion.cpp b/src/gui/painting/qregion.cpp
index 47668c62b6..913daee3e1 100644
--- a/src/gui/painting/qregion.cpp
+++ b/src/gui/painting/qregion.cpp
@@ -361,6 +361,14 @@ void QRegion::exec(const QByteArray &buffer, int ver, QDataStream::ByteOrder byt
*/
/*!
+ \fn QRegion &QRegion::operator=(QRegion &&other)
+
+ Move-assigns \a other to this QRegion instance.
+
+ \since 5.2
+*/
+
+/*!
\fn void QRegion::swap(QRegion &other)
\since 4.8