summaryrefslogtreecommitdiffstats
path: root/src/core/transforms
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-04-19 17:16:52 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-04-29 16:22:24 +0000
commit948d0357850918596b56f38a6dc6e25cd186f5a0 (patch)
tree2a522442757660b6eadecd3a6decde1f34ab5740 /src/core/transforms
parentae5ac1128bc61176f797f6e248d18b9ced051ad9 (diff)
Strip out cloning subsystem
Change-Id: I4def54a11de0f9c676ef6b2d7bd8e723ded25ab9 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/transforms')
-rw-r--r--src/core/transforms/qtransform.cpp14
-rw-r--r--src/core/transforms/qtransform.h2
2 files changed, 0 insertions, 16 deletions
diff --git a/src/core/transforms/qtransform.cpp b/src/core/transforms/qtransform.cpp
index 960cce33c..b00940a7a 100644
--- a/src/core/transforms/qtransform.cpp
+++ b/src/core/transforms/qtransform.cpp
@@ -186,20 +186,6 @@ QTransform::QTransform(QTransformPrivate &dd, QNode *parent)
{
}
-void QTransform::copy(const QNode *ref)
-{
- QComponent::copy(ref);
- const QTransform *transform = static_cast<const QTransform *>(ref);
- // We need to copy the matrix with all the pending
- // transformations applied
- d_func()->m_matrix = transform->matrix();
- d_func()->m_rotation = transform->rotation();
- d_func()->m_scale = transform->scale3D();
- d_func()->m_translation = transform->translation();
- d_func()->m_eulerRotationAngles = transform->d_func()->m_eulerRotationAngles;
- d_func()->m_matrixDirty = transform->d_func()->m_matrixDirty;
-}
-
void QTransform::setMatrix(const QMatrix4x4 &m)
{
Q_D(QTransform);
diff --git a/src/core/transforms/qtransform.h b/src/core/transforms/qtransform.h
index e8dab0758..a07da2533 100644
--- a/src/core/transforms/qtransform.h
+++ b/src/core/transforms/qtransform.h
@@ -114,11 +114,9 @@ Q_SIGNALS:
protected:
QTransform(QTransformPrivate &dd, QNode *parent = Q_NULLPTR);
- void copy(const QNode *ref) Q_DECL_OVERRIDE;
private:
Q_DECLARE_PRIVATE(QTransform)
- QT3D_CLONEABLE(QTransform)
QNodeCreatedChangeBasePtr createNodeCreationChange() const Q_DECL_OVERRIDE;
};