106 qApp->translate(
"QDeclarativeAnimatedImage",
"Qt was built without support for QMovie"));
108 qmlRegisterType<QDeclarativeAnimatedImage>(
"QtQuick",1,0,
"AnimatedImage");
110 qmlRegisterType<QDeclarativeBorderImage>(
"QtQuick",1,0,
"BorderImage");
111 qmlRegisterType<QDeclarativeColumn>(
"QtQuick",1,0,
"Column");
112 qmlRegisterType<QDeclarativeDrag>(
"QtQuick",1,0,
"Drag");
113 qmlRegisterType<QDeclarativeFlickable>(
"QtQuick",1,0,
"Flickable");
114 qmlRegisterType<QDeclarativeFlipable>(
"QtQuick",1,0,
"Flipable");
115 qmlRegisterType<QDeclarativeFlow>(
"QtQuick",1,0,
"Flow");
116 qmlRegisterType<QDeclarativeFocusPanel>(
"QtQuick",1,0,
"FocusPanel");
117 qmlRegisterType<QDeclarativeFocusScope>(
"QtQuick",1,0,
"FocusScope");
118 qmlRegisterType<QDeclarativeGradient>(
"QtQuick",1,0,
"Gradient");
119 qmlRegisterType<QDeclarativeGradientStop>(
"QtQuick",1,0,
"GradientStop");
120 qmlRegisterType<QDeclarativeGrid>(
"QtQuick",1,0,
"Grid");
121 qmlRegisterType<QDeclarativeGridView>(
"QtQuick",1,0,
"GridView");
122 qmlRegisterType<QDeclarativeImage>(
"QtQuick",1,0,
"Image");
123 qmlRegisterType<QDeclarativeItem>(
"QtQuick",1,0,
"Item");
124 qmlRegisterType<QDeclarativeLayoutItem>(
"QtQuick",1,0,
"LayoutItem");
125 qmlRegisterType<QDeclarativeListView>(
"QtQuick",1,0,
"ListView");
126 qmlRegisterType<QDeclarativeLoader>(
"QtQuick",1,0,
"Loader");
127 qmlRegisterType<QDeclarativeMouseArea>(
"QtQuick",1,0,
"MouseArea");
128 qmlRegisterType<QDeclarativePath>(
"QtQuick",1,0,
"Path");
129 qmlRegisterType<QDeclarativePathAttribute>(
"QtQuick",1,0,
"PathAttribute");
130 qmlRegisterType<QDeclarativePathCubic>(
"QtQuick",1,0,
"PathCubic");
131 qmlRegisterType<QDeclarativePathLine>(
"QtQuick",1,0,
"PathLine");
132 qmlRegisterType<QDeclarativePathPercent>(
"QtQuick",1,0,
"PathPercent");
133 qmlRegisterType<QDeclarativePathQuad>(
"QtQuick",1,0,
"PathQuad");
134 qmlRegisterType<QDeclarativePathView>(
"QtQuick",1,0,
"PathView");
135 #ifndef QT_NO_VALIDATOR 136 qmlRegisterType<QIntValidator>(
"QtQuick",1,0,
"IntValidator");
137 qmlRegisterType<QDoubleValidator>(
"QtQuick",1,0,
"DoubleValidator");
138 qmlRegisterType<QRegExpValidator>(
"QtQuick",1,0,
"RegExpValidator");
140 qmlRegisterType<QDeclarativeRectangle>(
"QtQuick",1,0,
"Rectangle");
141 qmlRegisterType<QDeclarativeRepeater>(
"QtQuick",1,0,
"Repeater");
142 qmlRegisterType<QGraphicsRotation>(
"QtQuick",1,0,
"Rotation");
143 qmlRegisterType<QDeclarativeRow>(
"QtQuick",1,0,
"Row");
144 qmlRegisterType<QDeclarativeTranslate>(
"QtQuick",1,0,
"Translate");
145 qmlRegisterType<QGraphicsScale>(
"QtQuick",1,0,
"Scale");
146 qmlRegisterType<QDeclarativeText>(
"QtQuick",1,0,
"Text");
147 qmlRegisterType<QDeclarativeTextEdit>(
"QtQuick",1,0,
"TextEdit");
148 #ifndef QT_NO_LINEEDIT 149 qmlRegisterType<QDeclarativeTextInput>(
"QtQuick",1,0,
"TextInput");
151 qmlRegisterType<QDeclarativeViewSection>(
"QtQuick",1,0,
"ViewSection");
152 qmlRegisterType<QDeclarativeVisualDataModel>(
"QtQuick",1,0,
"VisualDataModel");
153 qmlRegisterType<QDeclarativeVisualItemModel>(
"QtQuick",1,0,
"VisualItemModel");
155 qmlRegisterType<QDeclarativeAnchors>();
156 qmlRegisterType<QDeclarativeKeyEvent>();
157 qmlRegisterType<QDeclarativeMouseEvent>();
158 qmlRegisterType<QGraphicsObject>();
159 qmlRegisterType<QGraphicsWidget>(
"QtQuick",1,0,
"QGraphicsWidget");
160 qmlRegisterExtendedType<QGraphicsWidget,QDeclarativeGraphicsWidget>(
"QtQuick",1,0,
"QGraphicsWidget");
161 qmlRegisterType<QGraphicsTransform>();
162 qmlRegisterType<QDeclarativePathElement>();
163 qmlRegisterType<QDeclarativeCurve>();
164 qmlRegisterType<QDeclarativeScaleGrid>();
165 #ifndef QT_NO_VALIDATOR 166 qmlRegisterType<QValidator>();
168 qmlRegisterType<QDeclarativeVisualModel>();
170 qmlRegisterType<QAction>();
172 qmlRegisterType<QDeclarativePen>();
173 qmlRegisterType<QDeclarativeFlickableVisibleArea>();
174 #ifndef QT_NO_GRAPHICSEFFECT 175 qmlRegisterType<QGraphicsEffect>();
178 qmlRegisterUncreatableType<QDeclarativeKeyNavigationAttached>(
"QtQuick",1,0,
"KeyNavigation",
QDeclarativeKeyNavigationAttached::tr(
"KeyNavigation is only available via attached properties"));
179 qmlRegisterUncreatableType<QDeclarativeKeysAttached>(
"QtQuick",1,0,
"Keys",
QDeclarativeKeysAttached::tr(
"Keys is only available via attached properties"));
182 qmlRegisterType<QDeclarativePinchArea>(
"QtQuick",1,1,
"PinchArea");
183 qmlRegisterType<QDeclarativePinch>(
"QtQuick",1,1,
"Pinch");
184 qmlRegisterType<QDeclarativePinchEvent>();
185 qmlRegisterType<QDeclarativeItem,1>(
"QtQuick",1,1,
"Item");
186 qmlRegisterType<QDeclarativeMouseArea,1>(
"QtQuick",1,1,
"MouseArea");
187 qmlRegisterType<QDeclarativeFlickable,1>(
"QtQuick",1,1,
"Flickable");
188 qmlRegisterType<QDeclarativeListView,1>(
"QtQuick",1,1,
"ListView");
189 qmlRegisterType<QDeclarativeGridView,1>(
"QtQuick",1,1,
"GridView");
190 qmlRegisterType<QDeclarativeRow,1>(
"QtQuick",1,1,
"Row");
191 qmlRegisterType<QDeclarativeGrid,1>(
"QtQuick",1,1,
"Grid");
192 qmlRegisterType<QDeclarativeFlow,1>(
"QtQuick",1,1,
"Flow");
193 qmlRegisterType<QDeclarativeRepeater,1>(
"QtQuick",1,1,
"Repeater");
194 qmlRegisterType<QDeclarativeText,1>(
"QtQuick",1,1,
"Text");
195 qmlRegisterType<QDeclarativeTextEdit,1>(
"QtQuick",1,1,
"TextEdit");
196 #ifndef QT_NO_LINEEDIT 197 qmlRegisterType<QDeclarativeTextInput,1>(
"QtQuick",1,1,
"TextInput");
199 qmlRegisterRevision<QDeclarativeImageBase,1>(
"QtQuick",1,1);
200 qmlRegisterRevision<QDeclarativeImplicitSizeItem,0>(
"QtQuick",1,0);
201 qmlRegisterRevision<QDeclarativeImplicitSizeItem,1>(
"QtQuick",1,1);
202 qmlRegisterRevision<QDeclarativeImplicitSizePaintedItem,0>(
"QtQuick",1,0);
203 qmlRegisterRevision<QDeclarativeImplicitSizePaintedItem,1>(
"QtQuick",1,1);
204 qmlRegisterUncreatableType<QDeclarativeLayoutMirroringAttached>(
"QtQuick",1,1,
"LayoutMirroring",
QDeclarativeLayoutMirroringAttached::tr(
"LayoutMirroring is only available via attached properties"));
static QDeclarativePrivate::AutoParentResult qgraphicsobject_autoParent(QObject *obj, QObject *parent)
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)
int Q_DECLARATIVE_EXPORT qmlregister(RegistrationType, void *)
static Type type()
Returns the type of application (Tty , GuiClient, or GuiServer).