/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Copyright (C) 2016-2019 Ivailo Monev ** ** This file is part of the QtDeclarative module of the Katie Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and The Qt Company. For licensing terms ** and conditions see http://www.qt.io/terms-conditions. For further ** information use the contact form at http://www.qt.io/contact-us. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 or version 3 as published by the Free ** Software Foundation and appearing in the file LICENSE.LGPLv21 and ** LICENSE.LGPLv3 included in the packaging of this file. Please review the ** following information to ensure the GNU Lesser General Public License ** requirements will be met: https://www.gnu.org/licenses/lgpl.html and ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** As a special exception, The Qt Company gives you certain additional ** rights. These rights are described in The Qt Company LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** $QT_END_LICENSE$ ** ****************************************************************************/ #include "qdeclarativeutilmodule_p.h" #include "qdeclarativeanimation_p.h" #include "qdeclarativeanimation_p_p.h" #include "qdeclarativebehavior_p.h" #include "qdeclarativebind_p.h" #include "qdeclarativeconnections_p.h" #include "qdeclarativesmoothedanimation_p.h" #include "qdeclarativefontloader_p.h" #include "qdeclarativelistaccessor_p.h" #include "qdeclarativelistmodel_p.h" #include "qdeclarativenullablevalue_p_p.h" #include "qdeclarativeopenmetaobject_p.h" #include "qdeclarativepackage_p.h" #include "qdeclarativepixmapcache_p.h" #include "qdeclarativepropertychanges_p.h" #include "qdeclarativepropertymap.h" #include "qdeclarativespringanimation_p.h" #include "qdeclarativestategroup_p.h" #include "qdeclarativestateoperations_p.h" #include "qdeclarativestate_p.h" #include "qdeclarativestate_p_p.h" #include "qdeclarativestyledtext_p.h" #include "qdeclarativesystempalette_p.h" #include "qdeclarativetimeline_p_p.h" #include "qdeclarativetimer_p.h" #include "qdeclarativetransitionmanager_p_p.h" #include "qdeclarativetransition_p.h" #include "qdeclarativeapplication_p.h" #include "qdeclarativeview.h" #include "qdeclarativeinfo.h" #include "qdeclarativetypenotavailable_p.h" QT_BEGIN_NAMESPACE void QDeclarativeUtilModule::defineModule() { if (QApplication::type() != QApplication::Tty) { qmlRegisterUncreatableType("QtQuick",1,1,"Application", QDeclarativeApplication::tr("Application is an abstract class")); qmlRegisterType("QtQuick",1,0,"AnchorAnimation"); qmlRegisterType("QtQuick",1,0,"AnchorChanges"); qmlRegisterType("QtQuick",1,0,"Behavior"); qmlRegisterType("QtQuick",1,0,"ColorAnimation"); qmlRegisterType("QtQuick",1,0,"SmoothedAnimation"); qmlRegisterType("QtQuick",1,0,"FontLoader"); qmlRegisterType("QtQuick",1,0,"NumberAnimation"); qmlRegisterType("QtQuick",1,0,"Package"); qmlRegisterType("QtQuick",1,0,"ParallelAnimation"); qmlRegisterType("QtQuick",1,0,"ParentAnimation"); qmlRegisterType("QtQuick",1,0,"ParentChange"); qmlRegisterType("QtQuick",1,0,"PauseAnimation"); qmlRegisterType("QtQuick",1,0,"PropertyAction"); qmlRegisterType("QtQuick",1,0,"PropertyAnimation"); qmlRegisterType("QtQuick",1,0,"RotationAnimation"); qmlRegisterType("QtQuick",1,0,"ScriptAction"); qmlRegisterType("QtQuick",1,0,"SequentialAnimation"); qmlRegisterType("QtQuick",1,0,"SpringAnimation"); qmlRegisterType("QtQuick",1,0,"SystemPalette"); qmlRegisterType("QtQuick",1,0,"Transition"); qmlRegisterType("QtQuick",1,0,"Vector3dAnimation"); qmlRegisterType(); qmlRegisterType(); qmlRegisterType(); qmlRegisterUncreatableType("QtQuick",1,0,"Animation",QDeclarativeAbstractAnimation::tr("Animation is an abstract class")); } qmlRegisterType("QtQuick",1,0,"Binding"); qmlRegisterType("QtQuick",1,0,"Connections"); qmlRegisterType("QtQuick",1,0,"Timer"); qmlRegisterType("QtQuick",1,0,"StateGroup"); qmlRegisterType("QtQuick",1,0,"State"); qmlRegisterType("QtQuick",1,0,"StateChangeScript"); qmlRegisterType("QtQuick",1,0,"ListElement"); qmlRegisterTypeNotAvailable("QtQuick",1,0,"XmlListModel", qApp->translate("QDeclarativeXmlListModel","Qt was built without support for xmlpatterns")); qmlRegisterTypeNotAvailable("QtQuick",1,0,"XmlRole", qApp->translate("QDeclarativeXmlListModel","Qt was built without support for xmlpatterns")); qmlRegisterCustomType("QtQuick",1,0,"Connections", new QDeclarativeConnectionsParser); qmlRegisterCustomType("QtQuick",1,0,"PropertyChanges", new QDeclarativePropertyChangesParser); qmlRegisterCustomType("QtQuick",1,0,"ListModel", new QDeclarativeListModelParser); } QT_END_NAMESPACE