summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2018-07-31 11:34:23 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2018-07-31 11:34:23 +0000
commitcf2d59bfe8720627e016195903e16cd0c97fa612 (patch)
tree5cc0755d649d606867bf6168a091a91c9d3e6f3d /src/gui
parent7621bb0f3bba69e0b2849974a335dff4742c8e95 (diff)
parent23c9d4c98f3c6729b56700edc1d7144b444b16db (diff)
Merge "Merge branch '5.11' into dev" into refs/staging/dev
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/image/qiconengine.cpp2
-rw-r--r--src/gui/kernel/qevent.cpp12
-rw-r--r--src/gui/kernel/qinputdevicemanager_p.h2
-rw-r--r--src/gui/kernel/qplatforminputcontextplugin_p.h2
-rw-r--r--src/gui/kernel/qplatformintegrationplugin.h2
-rw-r--r--src/gui/kernel/qplatformsharedgraphicscache.h2
-rw-r--r--src/gui/kernel/qplatformthemeplugin.h2
-rw-r--r--src/gui/opengl/qopenglbuffer.cpp2
8 files changed, 16 insertions, 10 deletions
diff --git a/src/gui/image/qiconengine.cpp b/src/gui/image/qiconengine.cpp
index 1f8e5f321a..3033112df0 100644
--- a/src/gui/image/qiconengine.cpp
+++ b/src/gui/image/qiconengine.cpp
@@ -263,7 +263,7 @@ void QIconEngine::addFile(const QString &/*fileName*/, const QSize &/*size*/, QI
\variable QIconEngine::ScaledPixmapArgument::pixmap
\brief The pixmap that is the best match for the given \l size, \l mode, \l
- \state, and \l scale. This is an output parameter that is set after calling
+ state, and \l scale. This is an output parameter that is set after calling
\l virtual_hook().
*/
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index e8f3cdd504..2362b93bf0 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -5031,7 +5031,9 @@ void QTouchEvent::TouchPoint::setLastNormalizedPos(const QPointF &lastNormalized
}
// ### remove the following 3 setRect functions and their usages soon
-/*! \internal \obsolete */
+/*! \internal
+ \obsolete
+*/
void QTouchEvent::TouchPoint::setRect(const QRectF &rect)
{
if (d->ref.load() != 1)
@@ -5040,7 +5042,9 @@ void QTouchEvent::TouchPoint::setRect(const QRectF &rect)
d->ellipseDiameters = rect.size();
}
-/*! \internal \obsolete */
+/*! \internal
+ \obsolete
+*/
void QTouchEvent::TouchPoint::setSceneRect(const QRectF &sceneRect)
{
if (d->ref.load() != 1)
@@ -5049,7 +5053,9 @@ void QTouchEvent::TouchPoint::setSceneRect(const QRectF &sceneRect)
d->ellipseDiameters = sceneRect.size();
}
-/*! \internal \obsolete */
+/*! \internal
+ \obsolete
+*/
void QTouchEvent::TouchPoint::setScreenRect(const QRectF &screenRect)
{
if (d->ref.load() != 1)
diff --git a/src/gui/kernel/qinputdevicemanager_p.h b/src/gui/kernel/qinputdevicemanager_p.h
index d73c5526d0..74494d712b 100644
--- a/src/gui/kernel/qinputdevicemanager_p.h
+++ b/src/gui/kernel/qinputdevicemanager_p.h
@@ -72,7 +72,7 @@ public:
DeviceTypeTablet
};
- QInputDeviceManager(QObject *parent = 0);
+ QInputDeviceManager(QObject *parent = nullptr);
int deviceCount(DeviceType type) const;
diff --git a/src/gui/kernel/qplatforminputcontextplugin_p.h b/src/gui/kernel/qplatforminputcontextplugin_p.h
index 3f45df922e..2228d5c8d6 100644
--- a/src/gui/kernel/qplatforminputcontextplugin_p.h
+++ b/src/gui/kernel/qplatforminputcontextplugin_p.h
@@ -66,7 +66,7 @@ class Q_GUI_EXPORT QPlatformInputContextPlugin : public QObject
{
Q_OBJECT
public:
- explicit QPlatformInputContextPlugin(QObject *parent = 0);
+ explicit QPlatformInputContextPlugin(QObject *parent = nullptr);
~QPlatformInputContextPlugin();
virtual QPlatformInputContext *create(const QString &key, const QStringList &paramList) = 0;
diff --git a/src/gui/kernel/qplatformintegrationplugin.h b/src/gui/kernel/qplatformintegrationplugin.h
index f1136965b7..6a0b9dc9a7 100644
--- a/src/gui/kernel/qplatformintegrationplugin.h
+++ b/src/gui/kernel/qplatformintegrationplugin.h
@@ -64,7 +64,7 @@ class Q_GUI_EXPORT QPlatformIntegrationPlugin : public QObject
{
Q_OBJECT
public:
- explicit QPlatformIntegrationPlugin(QObject *parent = 0);
+ explicit QPlatformIntegrationPlugin(QObject *parent = nullptr);
~QPlatformIntegrationPlugin();
virtual QPlatformIntegration *create(const QString &key, const QStringList &paramList);
diff --git a/src/gui/kernel/qplatformsharedgraphicscache.h b/src/gui/kernel/qplatformsharedgraphicscache.h
index e11d2f41a9..b3b5488139 100644
--- a/src/gui/kernel/qplatformsharedgraphicscache.h
+++ b/src/gui/kernel/qplatformsharedgraphicscache.h
@@ -69,7 +69,7 @@ public:
OpenGLTexture
};
- explicit QPlatformSharedGraphicsCache(QObject *parent = 0) : QObject(parent) {}
+ explicit QPlatformSharedGraphicsCache(QObject *parent = nullptr) : QObject(parent) {}
virtual void beginRequestBatch() = 0;
virtual void ensureCacheInitialized(const QByteArray &cacheId, BufferType bufferType,
diff --git a/src/gui/kernel/qplatformthemeplugin.h b/src/gui/kernel/qplatformthemeplugin.h
index 7b56879940..0f88806b0b 100644
--- a/src/gui/kernel/qplatformthemeplugin.h
+++ b/src/gui/kernel/qplatformthemeplugin.h
@@ -63,7 +63,7 @@ class Q_GUI_EXPORT QPlatformThemePlugin : public QObject
{
Q_OBJECT
public:
- explicit QPlatformThemePlugin(QObject *parent = 0);
+ explicit QPlatformThemePlugin(QObject *parent = nullptr);
~QPlatformThemePlugin();
virtual QPlatformTheme *create(const QString &key, const QStringList &paramList) = 0;
diff --git a/src/gui/opengl/qopenglbuffer.cpp b/src/gui/opengl/qopenglbuffer.cpp
index 66cc2b5ce8..69c2baa8d9 100644
--- a/src/gui/opengl/qopenglbuffer.cpp
+++ b/src/gui/opengl/qopenglbuffer.cpp
@@ -371,7 +371,7 @@ void QOpenGLBuffer::write(int offset, const void *data, int count)
{
#ifndef QT_NO_DEBUG
if (!isCreated())
- qWarning("QOpenGLBuffer::allocate(): buffer not created");
+ qWarning("QOpenGLBuffer::write(): buffer not created");
#endif
Q_D(QOpenGLBuffer);
if (d->guard && d->guard->id())