summaryrefslogtreecommitdiffstats
path: root/src/render/picking/qpickevent_p.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-05-24 12:09:44 +0100
committerSean Harmer <sean.harmer@kdab.com>2017-05-24 12:10:02 +0100
commit77d294db076dac19e8b549b445ffede9f7260c84 (patch)
tree828ee7a6862ec5c0bd24f97cb540625a2c647376 /src/render/picking/qpickevent_p.h
parent59f8fec8a41606b3185fe3a4e276978e3e1ed5ef (diff)
parent939b9b4b7591e8a421cf048a0a84ed3e75d81d21 (diff)
Merge branch 'dev' into wip/animationwip/animation
Diffstat (limited to 'src/render/picking/qpickevent_p.h')
-rw-r--r--src/render/picking/qpickevent_p.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/render/picking/qpickevent_p.h b/src/render/picking/qpickevent_p.h
index 399795619..ced36c9bb 100644
--- a/src/render/picking/qpickevent_p.h
+++ b/src/render/picking/qpickevent_p.h
@@ -48,13 +48,19 @@
// We mean it.
//
+#include <Qt3DCore/qnodeid.h>
+
#include <private/qobject_p.h>
+#include <private/qt3drender_global_p.h>
+
QT_BEGIN_NAMESPACE
namespace Qt3DRender {
-class QPickEventPrivate : public QObjectPrivate
+class QPickEvent;
+
+class QT3DRENDERSHARED_PRIVATE_EXPORT QPickEventPrivate : public QObjectPrivate
{
public:
QPickEventPrivate()
@@ -75,6 +81,9 @@ public:
QPickEvent::Buttons m_button;
int m_buttons;
int m_modifiers;
+ Qt3DCore::QNodeId m_entity;
+
+ static QPickEventPrivate *get(QPickEvent *object);
};
} // Qt3DRender