summaryrefslogtreecommitdiffstats
path: root/examples/wayland/custom-extension/cpp-client/main.cpp
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2017-01-12 13:25:48 +0100
committerJohan Helsing <johan.helsing@qt.io>2017-01-23 16:20:03 +0000
commitf72d63866d3f5820865fcd309b649dc9932518ee (patch)
tree675610cbbc8a88f0197c351e754e7892e4eb7871 /examples/wayland/custom-extension/cpp-client/main.cpp
parent76b0fa5ca41df2528ba52fa7601c4bc89e60c03b (diff)
Replace all occurrences of Q_DECL_OVERRIDE with override
Change-Id: I16b7b23efe944b49d1fcc9e7588cdb0a991cebd1 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'examples/wayland/custom-extension/cpp-client/main.cpp')
-rw-r--r--examples/wayland/custom-extension/cpp-client/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/wayland/custom-extension/cpp-client/main.cpp b/examples/wayland/custom-extension/cpp-client/main.cpp
index af8de53b5..3dbada171 100644
--- a/examples/wayland/custom-extension/cpp-client/main.cpp
+++ b/examples/wayland/custom-extension/cpp-client/main.cpp
@@ -100,7 +100,7 @@ public slots:
}
protected:
- void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE
+ void paintEvent(QPaintEvent *) override
{
QPainter p(this);
p.setFont(m_font);
@@ -113,7 +113,7 @@ protected:
p.drawText(rect3, Qt::TextWordWrap, "Create new window.");
}
- void mousePressEvent(QMouseEvent *ev) Q_DECL_OVERRIDE
+ void mousePressEvent(QMouseEvent *ev) override
{
if (rect1.contains(ev->pos()))
doSpin();