summaryrefslogtreecommitdiffstats
path: root/src/core/aspects/qaspectfactory_p.h
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2015-12-01 12:43:33 +0100
committerKevin Ottens <kevin.ottens@kdab.com>2015-12-01 14:24:01 +0000
commitbb2e5c6ec62f9bc23cea2c67f129fe1f7873b1be (patch)
tree2f827357ab02aa898b5ab2c3ebfcc08b14d83cc7 /src/core/aspects/qaspectfactory_p.h
parent0e2bb7e307d3f75b903998af1813a0f590e144bc (diff)
Remove unused code from QAspectFactory
Change-Id: I1639a3ee2e4aac177f1c7cf4252a1c65db7cf721 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/aspects/qaspectfactory_p.h')
-rw-r--r--src/core/aspects/qaspectfactory_p.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/aspects/qaspectfactory_p.h b/src/core/aspects/qaspectfactory_p.h
index 6bbdc3dbe..f42010d1a 100644
--- a/src/core/aspects/qaspectfactory_p.h
+++ b/src/core/aspects/qaspectfactory_p.h
@@ -66,12 +66,6 @@ class QT3DCORE_PRIVATE_EXPORT QAspectFactory
public:
typedef QAbstractAspect *(*CreateFunction)(QObject *);
- template<class AspectType>
- static QAbstractAspect *functionHelper(QObject *parent)
- {
- return new AspectType(parent);
- }
-
QAspectFactory();
QAspectFactory(const QAspectFactory &other);
~QAspectFactory();
@@ -86,9 +80,7 @@ public:
inline void swap(QAspectFactory &other) Q_DECL_NOTHROW { m_factories.swap(other.m_factories); }
- void addFactory(const QString &name, CreateFunction factory);
QStringList availableFactories() const;
-
QAbstractAspect *createAspect(const QString &aspect, QObject *parent = 0) const;
private: