80 qmlRegisterUncreatableType<QDeclarativeApplication>(
"QtQuick",1,1,
"Application",
QDeclarativeApplication::tr(
"Application is an abstract class"));
82 qmlRegisterType<QDeclarativeAnchorAnimation>(
"QtQuick",1,0,
"AnchorAnimation");
83 qmlRegisterType<QDeclarativeAnchorChanges>(
"QtQuick",1,0,
"AnchorChanges");
84 qmlRegisterType<QDeclarativeBehavior>(
"QtQuick",1,0,
"Behavior");
85 qmlRegisterType<QDeclarativeColorAnimation>(
"QtQuick",1,0,
"ColorAnimation");
86 qmlRegisterType<QDeclarativeSmoothedAnimation>(
"QtQuick",1,0,
"SmoothedAnimation");
87 qmlRegisterType<QDeclarativeFontLoader>(
"QtQuick",1,0,
"FontLoader");
88 qmlRegisterType<QDeclarativeNumberAnimation>(
"QtQuick",1,0,
"NumberAnimation");
89 qmlRegisterType<QDeclarativePackage>(
"QtQuick",1,0,
"Package");
90 qmlRegisterType<QDeclarativeParallelAnimation>(
"QtQuick",1,0,
"ParallelAnimation");
91 qmlRegisterType<QDeclarativeParentAnimation>(
"QtQuick",1,0,
"ParentAnimation");
92 qmlRegisterType<QDeclarativeParentChange>(
"QtQuick",1,0,
"ParentChange");
93 qmlRegisterType<QDeclarativePauseAnimation>(
"QtQuick",1,0,
"PauseAnimation");
94 qmlRegisterType<QDeclarativePropertyAction>(
"QtQuick",1,0,
"PropertyAction");
95 qmlRegisterType<QDeclarativePropertyAnimation>(
"QtQuick",1,0,
"PropertyAnimation");
96 qmlRegisterType<QDeclarativeRotationAnimation>(
"QtQuick",1,0,
"RotationAnimation");
97 qmlRegisterType<QDeclarativeScriptAction>(
"QtQuick",1,0,
"ScriptAction");
98 qmlRegisterType<QDeclarativeSequentialAnimation>(
"QtQuick",1,0,
"SequentialAnimation");
99 qmlRegisterType<QDeclarativeSpringAnimation>(
"QtQuick",1,0,
"SpringAnimation");
100 qmlRegisterType<QDeclarativeSystemPalette>(
"QtQuick",1,0,
"SystemPalette");
101 qmlRegisterType<QDeclarativeTransition>(
"QtQuick",1,0,
"Transition");
102 qmlRegisterType<QDeclarativeVector3dAnimation>(
"QtQuick",1,0,
"Vector3dAnimation");
104 qmlRegisterType<QDeclarativeAnchors>();
105 qmlRegisterType<QDeclarativeStateOperation>();
106 qmlRegisterType<QDeclarativeAnchorSet>();
111 qmlRegisterType<QDeclarativeBind>(
"QtQuick",1,0,
"Binding");
112 qmlRegisterType<QDeclarativeConnections>(
"QtQuick",1,0,
"Connections");
113 qmlRegisterType<QDeclarativeTimer>(
"QtQuick",1,0,
"Timer");
114 qmlRegisterType<QDeclarativeStateGroup>(
"QtQuick",1,0,
"StateGroup");
115 qmlRegisterType<QDeclarativeState>(
"QtQuick",1,0,
"State");
116 qmlRegisterType<QDeclarativeStateChangeScript>(
"QtQuick",1,0,
"StateChangeScript");
117 qmlRegisterType<QDeclarativeListElement>(
"QtQuick",1,0,
"ListElement");
118 #ifdef QT_NO_XMLPATTERNS 120 qApp->translate(
"QDeclarativeXmlListModel",
"Qt was built without support for xmlpatterns"));
122 qApp->translate(
"QDeclarativeXmlListModel",
"Qt was built without support for xmlpatterns"));
124 qmlRegisterType<QDeclarativeXmlListModel>(
"QtQuick",1,0,
"XmlListModel");
125 qmlRegisterType<QDeclarativeXmlListModelRole>(
"QtQuick",1,0,
"XmlRole");
int Q_AUTOTEST_EXPORT qmlRegisterTypeNotAvailable(const char *uri, int versionMajor, int versionMinor, const char *qmlName, const QString &message)
static QString tr(const char *sourceText, const char *comment=0, int n=-1)
static Type type()
Returns the type of application (Tty , GuiClient, or GuiServer).