diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/frontend/qaction.cpp | 5 | ||||
-rw-r--r-- | src/input/frontend/qaction.h | 4 | ||||
-rw-r--r-- | src/input/frontend/qaxis.cpp | 5 | ||||
-rw-r--r-- | src/input/frontend/qaxis.h | 4 | ||||
-rw-r--r-- | src/input/frontend/qaxisaccumulator.cpp | 5 | ||||
-rw-r--r-- | src/input/frontend/qaxisaccumulator.h | 4 | ||||
-rw-r--r-- | src/input/frontend/qkeyboarddevice.cpp | 5 | ||||
-rw-r--r-- | src/input/frontend/qkeyboarddevice.h | 2 | ||||
-rw-r--r-- | src/input/frontend/qkeyboardhandler.cpp | 5 | ||||
-rw-r--r-- | src/input/frontend/qkeyboardhandler.h | 4 | ||||
-rw-r--r-- | src/input/frontend/qmousehandler.cpp | 5 | ||||
-rw-r--r-- | src/input/frontend/qmousehandler.h | 2 |
12 files changed, 50 insertions, 0 deletions
diff --git a/src/input/frontend/qaction.cpp b/src/input/frontend/qaction.cpp index 512a5aca7..8cceaab51 100644 --- a/src/input/frontend/qaction.cpp +++ b/src/input/frontend/qaction.cpp @@ -148,6 +148,11 @@ QVector<QAbstractActionInput *> QAction::inputs() const return d->m_inputs; } +// TODO Unused remove in Qt6 +void QAction::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &) +{ +} + Qt3DCore::QNodeCreatedChangeBasePtr QAction::createNodeCreationChange() const { auto creationChange = Qt3DCore::QNodeCreatedChangePtr<QActionData>::create(this); diff --git a/src/input/frontend/qaction.h b/src/input/frontend/qaction.h index 8175bab8e..ef74debe5 100644 --- a/src/input/frontend/qaction.h +++ b/src/input/frontend/qaction.h @@ -67,6 +67,10 @@ public: Q_SIGNALS: void activeChanged(bool isActive); +protected: + // TODO Unused remove in Qt6 + void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) override; + private: Q_DECLARE_PRIVATE(QAction) Qt3DCore::QNodeCreatedChangeBasePtr createNodeCreationChange() const override; diff --git a/src/input/frontend/qaxis.cpp b/src/input/frontend/qaxis.cpp index 7faa6a459..d76135fd7 100644 --- a/src/input/frontend/qaxis.cpp +++ b/src/input/frontend/qaxis.cpp @@ -167,6 +167,11 @@ float QAxis::value() const return d->m_value; } +// TODO Unused remove in Qt6 +void QAxis::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &) +{ +} + Qt3DCore::QNodeCreatedChangeBasePtr QAxis::createNodeCreationChange() const { auto creationChange = Qt3DCore::QNodeCreatedChangePtr<QAxisData>::create(this); diff --git a/src/input/frontend/qaxis.h b/src/input/frontend/qaxis.h index 1a542cf22..3dbe54a4f 100644 --- a/src/input/frontend/qaxis.h +++ b/src/input/frontend/qaxis.h @@ -66,6 +66,10 @@ public: Q_SIGNALS: void valueChanged(float value); +protected: + // TODO Unused remove in Qt6 + void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) override; + private: Q_DECLARE_PRIVATE(QAxis) Qt3DCore::QNodeCreatedChangeBasePtr createNodeCreationChange() const override; diff --git a/src/input/frontend/qaxisaccumulator.cpp b/src/input/frontend/qaxisaccumulator.cpp index 03f6e3bd1..a7bb14441 100644 --- a/src/input/frontend/qaxisaccumulator.cpp +++ b/src/input/frontend/qaxisaccumulator.cpp @@ -289,6 +289,11 @@ void QAxisAccumulator::setScale(float scale) emit scaleChanged(scale); } +// TODO Unused remove in Qt6 +void QAxisAccumulator::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &) +{ +} + /*! \internal */ Qt3DCore::QNodeCreatedChangeBasePtr QAxisAccumulator::createNodeCreationChange() const { diff --git a/src/input/frontend/qaxisaccumulator.h b/src/input/frontend/qaxisaccumulator.h index bb2e2696b..e711b0691 100644 --- a/src/input/frontend/qaxisaccumulator.h +++ b/src/input/frontend/qaxisaccumulator.h @@ -87,6 +87,10 @@ Q_SIGNALS: void velocityChanged(float value); void scaleChanged(float scale); +protected: + // TODO Unused remove in Qt6 + void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) override; + private: Q_DECLARE_PRIVATE(QAxisAccumulator) Qt3DCore::QNodeCreatedChangeBasePtr createNodeCreationChange() const override; diff --git a/src/input/frontend/qkeyboarddevice.cpp b/src/input/frontend/qkeyboarddevice.cpp index 0fe3a1338..1ec1f8ead 100644 --- a/src/input/frontend/qkeyboarddevice.cpp +++ b/src/input/frontend/qkeyboarddevice.cpp @@ -309,6 +309,11 @@ QKeyboardDevice::QKeyboardDevice(QKeyboardDevicePrivate &dd, QNode *parent) { } +// TODO Unused remove in Qt6 +void QKeyboardDevice::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &) +{ +} + /*! * Set the active input to \a activeInput */ diff --git a/src/input/frontend/qkeyboarddevice.h b/src/input/frontend/qkeyboarddevice.h index ee4b864f7..df2f47020 100644 --- a/src/input/frontend/qkeyboarddevice.h +++ b/src/input/frontend/qkeyboarddevice.h @@ -71,6 +71,8 @@ public: protected: explicit QKeyboardDevice(QKeyboardDevicePrivate &dd, QNode *parent = nullptr); + // TODO Unused remove in Qt6 + void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) override; Q_SIGNALS: void activeInputChanged(QKeyboardHandler *activeInput); diff --git a/src/input/frontend/qkeyboardhandler.cpp b/src/input/frontend/qkeyboardhandler.cpp index 1581f763c..92ce39c31 100644 --- a/src/input/frontend/qkeyboardhandler.cpp +++ b/src/input/frontend/qkeyboardhandler.cpp @@ -237,6 +237,11 @@ void QKeyboardHandler::setFocus(bool focus) } } +// TODO Unused remove in Qt6 +void QKeyboardHandler::sceneChangeEvent(const QSceneChangePtr &) +{ +} + Qt3DCore::QNodeCreatedChangeBasePtr QKeyboardHandler::createNodeCreationChange() const { auto creationChange = Qt3DCore::QNodeCreatedChangePtr<QKeyboardHandlerData>::create(this); diff --git a/src/input/frontend/qkeyboardhandler.h b/src/input/frontend/qkeyboardhandler.h index d69476286..b4425de72 100644 --- a/src/input/frontend/qkeyboardhandler.h +++ b/src/input/frontend/qkeyboardhandler.h @@ -115,6 +115,10 @@ Q_SIGNALS: void pressed(Qt3DInput::QKeyEvent *event); void released(Qt3DInput::QKeyEvent *event); +protected: + // TODO Unused remove in Qt6 + void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) override; + private: Q_DECLARE_PRIVATE(QKeyboardHandler) Qt3DCore::QNodeCreatedChangeBasePtr createNodeCreationChange() const override; diff --git a/src/input/frontend/qmousehandler.cpp b/src/input/frontend/qmousehandler.cpp index f3e7a18c8..1d45d85b6 100644 --- a/src/input/frontend/qmousehandler.cpp +++ b/src/input/frontend/qmousehandler.cpp @@ -298,6 +298,11 @@ void QMouseHandler::setSourceDevice(QMouseDevice *mouseDevice) } } +// TODO Unused remove in Qt6 +void QMouseHandler::sceneChangeEvent(const QSceneChangePtr &) +{ +} + /*! * \property Qt3DInput::QMouseHandler::sourceDevice * diff --git a/src/input/frontend/qmousehandler.h b/src/input/frontend/qmousehandler.h index 5331893b2..d95dbf4c3 100644 --- a/src/input/frontend/qmousehandler.h +++ b/src/input/frontend/qmousehandler.h @@ -87,6 +87,8 @@ Q_SIGNALS: #endif protected: + // TODO Unused remove in Qt6 + void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) override; void setContainsMouse(bool contains); private: |