summaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-05-14 00:55:43 +0200
committerSean Harmer <sean.harmer@kdab.com>2016-05-14 16:02:51 +0000
commit9efaa9407629310e4bf669757f5e1b88b0191e2c (patch)
treece4918c174a244cd05ef4c620009c39deb53d76e /src/input
parent6da09812519d1656d03c1a8c97b6ba53f38be705 (diff)
Add more explicit
Change-Id: Iaa91d6248cbc3822ed3380e360d2880d4894446d Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input')
-rw-r--r--src/input/frontend/qkeyevent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/frontend/qkeyevent.h b/src/input/frontend/qkeyevent.h
index c0a6e1332..a75c0042b 100644
--- a/src/input/frontend/qkeyevent.h
+++ b/src/input/frontend/qkeyevent.h
@@ -65,8 +65,8 @@ class QT3DINPUTSHARED_EXPORT QKeyEvent : public QObject
Q_PROPERTY(bool accepted READ isAccepted WRITE setAccepted)
public:
- QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text=QString(), bool autorep=false, ushort count=1);
- QKeyEvent(const QT_PREPEND_NAMESPACE(QKeyEvent) &ke);
+ explicit QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text=QString(), bool autorep=false, ushort count=1);
+ explicit QKeyEvent(const QT_PREPEND_NAMESPACE(QKeyEvent) &ke);
inline int key() const { return m_event.key(); }
inline QString text() const { return m_event.text(); }