summaryrefslogtreecommitdiffstats
path: root/examples/help
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-08-13 10:54:27 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-13 18:41:41 +0200
commit0123e47e1507000fc13027c575608879e13fe2ba (patch)
tree83769fdb59d24e7db2dd95ba02acfe6ca5987cc3 /examples/help
parent9009ce67fb2b77a3801f1d44cc82b50b009abc91 (diff)
Use Qt::WindowFlags, not Qt::WFlags.
The latter seems to date from the Qt 1 days, and such abbreviations are not current Qt style. Change-Id: I2208e3d0db14220398d9b0249ab6f07c9859ba14 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'examples/help')
-rw-r--r--examples/help/remotecontrol/remotecontrol.cpp2
-rw-r--r--examples/help/remotecontrol/remotecontrol.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/help/remotecontrol/remotecontrol.cpp b/examples/help/remotecontrol/remotecontrol.cpp
index 0fb542c5a..584003e58 100644
--- a/examples/help/remotecontrol/remotecontrol.cpp
+++ b/examples/help/remotecontrol/remotecontrol.cpp
@@ -47,7 +47,7 @@
#include "remotecontrol.h"
-RemoteControl::RemoteControl(QWidget *parent, Qt::WFlags flags)
+RemoteControl::RemoteControl(QWidget *parent, Qt::WindowFlags flags)
: QMainWindow(parent, flags)
{
ui.setupUi(this);
diff --git a/examples/help/remotecontrol/remotecontrol.h b/examples/help/remotecontrol/remotecontrol.h
index 973340c66..f4ea463e2 100644
--- a/examples/help/remotecontrol/remotecontrol.h
+++ b/examples/help/remotecontrol/remotecontrol.h
@@ -53,7 +53,7 @@ class RemoteControl : public QMainWindow
Q_OBJECT
public:
- RemoteControl(QWidget *parent = 0, Qt::WFlags flags = 0);
+ RemoteControl(QWidget *parent = 0, Qt::WindowFlags flags = 0);
~RemoteControl();
private: