summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qinputchord_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-05-14 09:17:23 +0200
committerSean Harmer <sean.harmer@kdab.com>2016-05-19 07:03:21 +0000
commit77cf73d8516ded4c9f76271907ab49be74efcdd3 (patch)
tree855dfc5eb24beb33b883a42f6e2c579220dbae5b /src/input/frontend/qinputchord_p.h
parent6f6207fadc1a334d1aed98f840a0d074acf18d06 (diff)
Introduce QAbstractActionInputPrivate
We need to have an unbroken chain of Private classes for BC reasons. Adding one in the middle after a BC release is going to be much harder, since, in this case, we already have an exported function that names QNodePrivate instead of QAbstractActionInputPrivate. Change-Id: Iaf3730f7a30a13b388d632c068d7c80319672057 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input/frontend/qinputchord_p.h')
-rw-r--r--src/input/frontend/qinputchord_p.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/input/frontend/qinputchord_p.h b/src/input/frontend/qinputchord_p.h
index 1248616e4..bd49f93d6 100644
--- a/src/input/frontend/qinputchord_p.h
+++ b/src/input/frontend/qinputchord_p.h
@@ -51,7 +51,7 @@
// We mean it.
//
-#include <Qt3DCore/private/qnode_p.h>
+#include <Qt3DInput/private/qabstractactioninput_p.h>
#include <Qt3DCore/qnodeid.h>
QT_BEGIN_NAMESPACE
@@ -64,13 +64,10 @@ class QAbstractActionInput;
\class Qt3DInput::QInputChordPrivate
\internal
*/
-class QInputChordPrivate : public Qt3DCore::QNodePrivate
+class QInputChordPrivate : public QAbstractActionInputPrivate
{
public:
- QInputChordPrivate()
- : Qt3DCore::QNodePrivate()
- , m_timeout(0)
- {}
+ QInputChordPrivate();
int m_timeout;
QVector<QAbstractActionInput *> m_chords;