diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2015-12-01 12:02:19 +0100 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@kdab.com> | 2015-12-01 14:23:52 +0000 |
commit | c509c85b63cb062aaf7b1a3044dcbb6d80610c89 (patch) | |
tree | 08ff2b0922773aa0cb610722fee57ab7ecb33a44 /src/core/aspects/qaspectfactory.cpp | |
parent | 40c2346f137623629983de94ffcb045f5f8ce35e (diff) |
Move the QT3D_REGISTER_*_ASPECT macros to QAbstractAspect
First step toward turning QAspectFactory into a private class.
Change-Id: Ia62aae820fde1ab3cee0c5852d10981c6b9f4970
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/aspects/qaspectfactory.cpp')
-rw-r--r-- | src/core/aspects/qaspectfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/aspects/qaspectfactory.cpp b/src/core/aspects/qaspectfactory.cpp index 673ff5bdd..ff1bc7d2b 100644 --- a/src/core/aspects/qaspectfactory.cpp +++ b/src/core/aspects/qaspectfactory.cpp @@ -48,8 +48,8 @@ namespace Qt3DCore { typedef QHash<QString, QAspectFactory::CreateFunction> defaultFactories_t; Q_GLOBAL_STATIC(defaultFactories_t, defaultFactories) -QT3DCORESHARED_EXPORT void qt3d_QAspectFactoryPrivate_addDefaultFactory(const QString &name, - QAspectFactory::CreateFunction factory) +QT3DCORESHARED_EXPORT void qt3d_QAspectFactory_addDefaultFactory(const QString &name, + QAspectFactory::CreateFunction factory) { defaultFactories->insert(name, factory); } |