/*========================================================================= Library: CTK Copyright (c) Kitware Inc. All rights reserved. Distributed under a BSD License. See LICENSE.txt file. This software is distributed "AS IS" WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ #ifndef __ctkAbstractQObjectFactory_tpp #define __ctkAbstractQObjectFactory_tpp // QT includes #include // CTK includes #include "ctkAbstractObjectFactory.h" //---------------------------------------------------------------------------- template ctkAbstractQObjectFactory::ctkAbstractQObjectFactory() { } //---------------------------------------------------------------------------- template ctkAbstractQObjectFactory::~ctkAbstractQObjectFactory() { } //---------------------------------------------------------------------------- template BaseClassType* ctkAbstractQObjectFactory::instantiate(const QString& itemKey) { return this->ctkAbstractObjectFactory::instantiate(itemKey); } //---------------------------------------------------------------------------- template void ctkAbstractQObjectFactory::uninstantiate(const QString& itemKey) { this->ctkAbstractObjectFactory::uninstantiate(itemKey); } //---------------------------------------------------------------------------- template template bool ctkAbstractQObjectFactory::registerQObject(QString& key) { key = QString::fromLatin1(ClassType::staticMetaObject.className()); return this->ctkAbstractObjectFactory::template registerObject(key); } #endif