summaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-05-14 09:32:38 +0200
committerSean Harmer <sean.harmer@kdab.com>2016-05-19 07:03:24 +0000
commitf1a018c657d98b2e22436a083cc4a6821ea0f0ad (patch)
tree601e93b73d5abebf3e0a652826cd2cbf8323b80f /src/input
parent77cf73d8516ded4c9f76271907ab49be74efcdd3 (diff)
De-inline some more dtors of non-leaf Private classes
Change-Id: I2d80f964c4de6ef6cef144ca50fa12ffb3eb540c Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input')
-rw-r--r--src/input/frontend/qkeyboardhandler.cpp4
-rw-r--r--src/input/frontend/qkeyboardhandler_p.h1
-rw-r--r--src/input/frontend/qlogicaldevice.cpp9
-rw-r--r--src/input/frontend/qlogicaldevice_p.h5
-rw-r--r--src/input/frontend/qmousehandler.cpp4
-rw-r--r--src/input/frontend/qmousehandler_p.h1
6 files changed, 21 insertions, 3 deletions
diff --git a/src/input/frontend/qkeyboardhandler.cpp b/src/input/frontend/qkeyboardhandler.cpp
index 647fc8650..a55e8ce9e 100644
--- a/src/input/frontend/qkeyboardhandler.cpp
+++ b/src/input/frontend/qkeyboardhandler.cpp
@@ -114,6 +114,10 @@ QKeyboardHandlerPrivate::QKeyboardHandlerPrivate()
m_shareable = false;
}
+QKeyboardHandlerPrivate::~QKeyboardHandlerPrivate()
+{
+}
+
void QKeyboardHandlerPrivate::keyEvent(QKeyEvent *event)
{
Q_Q(QKeyboardHandler);
diff --git a/src/input/frontend/qkeyboardhandler_p.h b/src/input/frontend/qkeyboardhandler_p.h
index a84e9f650..339d36d26 100644
--- a/src/input/frontend/qkeyboardhandler_p.h
+++ b/src/input/frontend/qkeyboardhandler_p.h
@@ -64,6 +64,7 @@ class QKeyboardHandlerPrivate : public Qt3DCore::QComponentPrivate
{
public:
QKeyboardHandlerPrivate();
+ ~QKeyboardHandlerPrivate();
void keyEvent(QKeyEvent *event);
diff --git a/src/input/frontend/qlogicaldevice.cpp b/src/input/frontend/qlogicaldevice.cpp
index 3cb3a8b24..f84b45001 100644
--- a/src/input/frontend/qlogicaldevice.cpp
+++ b/src/input/frontend/qlogicaldevice.cpp
@@ -50,6 +50,15 @@ QT_BEGIN_NAMESPACE
namespace Qt3DInput {
+QLogicalDevicePrivate::QLogicalDevicePrivate()
+ : Qt3DCore::QComponentPrivate()
+{
+}
+
+QLogicalDevicePrivate::~QLogicalDevicePrivate()
+{
+}
+
/*!
\class Qt3DInput::QLogicalDevice
\inmodule Qt3DInput
diff --git a/src/input/frontend/qlogicaldevice_p.h b/src/input/frontend/qlogicaldevice_p.h
index 74f10f50a..c8940e6b9 100644
--- a/src/input/frontend/qlogicaldevice_p.h
+++ b/src/input/frontend/qlogicaldevice_p.h
@@ -64,9 +64,8 @@ namespace Qt3DInput {
class QLogicalDevicePrivate : public Qt3DCore::QComponentPrivate
{
public:
- QLogicalDevicePrivate()
- : Qt3DCore::QComponentPrivate()
- {}
+ QLogicalDevicePrivate();
+ ~QLogicalDevicePrivate();
QVector<QAction *> m_actions;
QVector<QAxis *> m_axes;
diff --git a/src/input/frontend/qmousehandler.cpp b/src/input/frontend/qmousehandler.cpp
index 7f135d10c..7fa7f9f2d 100644
--- a/src/input/frontend/qmousehandler.cpp
+++ b/src/input/frontend/qmousehandler.cpp
@@ -57,6 +57,10 @@ QMouseHandlerPrivate::QMouseHandlerPrivate()
m_shareable = false;
}
+QMouseHandlerPrivate::~QMouseHandlerPrivate()
+{
+}
+
void QMouseHandlerPrivate::mouseEvent(QMouseEvent *event)
{
Q_Q(QMouseHandler);
diff --git a/src/input/frontend/qmousehandler_p.h b/src/input/frontend/qmousehandler_p.h
index 5a794862b..a35fcb5d7 100644
--- a/src/input/frontend/qmousehandler_p.h
+++ b/src/input/frontend/qmousehandler_p.h
@@ -64,6 +64,7 @@ class QMouseHandlerPrivate : public Qt3DCore::QComponentPrivate
{
public:
QMouseHandlerPrivate();
+ ~QMouseHandlerPrivate();
QMouseDevice *m_mouseDevice;
bool m_containsMouse;