Changeset View
Changeset View
Standalone View
Standalone View
src/kirigamiplugin.cpp
Show First 20 Lines • Show All 171 Lines • ▼ Show 20 Line(s) | 99 | #endif | |||
---|---|---|---|---|---|
172 | qmlRegisterType(componentUrl(QStringLiteral("ActionToolBar.qml")), uri, 2, 5, "ActionToolBar"); | 172 | qmlRegisterType(componentUrl(QStringLiteral("ActionToolBar.qml")), uri, 2, 5, "ActionToolBar"); | ||
173 | qmlRegisterUncreatableType<ScenePositionAttached>(uri, 2, 5, "ScenePosition", QStringLiteral("Cannot create objects of type ScenePosition, use it as an attached property")); | 173 | qmlRegisterUncreatableType<ScenePositionAttached>(uri, 2, 5, "ScenePosition", QStringLiteral("Cannot create objects of type ScenePosition, use it as an attached property")); | ||
174 | 174 | | |||
175 | //2.6 | 175 | //2.6 | ||
176 | qmlRegisterType(componentUrl(QStringLiteral("AboutPage.qml")), uri, 2, 6, "AboutPage"); | 176 | qmlRegisterType(componentUrl(QStringLiteral("AboutPage.qml")), uri, 2, 6, "AboutPage"); | ||
177 | qmlRegisterType(componentUrl(QStringLiteral("LinkButton.qml")), uri, 2, 6, "LinkButton"); | 177 | qmlRegisterType(componentUrl(QStringLiteral("LinkButton.qml")), uri, 2, 6, "LinkButton"); | ||
178 | qmlRegisterType(componentUrl(QStringLiteral("UrlButton.qml")), uri, 2, 6, "UrlButton"); | 178 | qmlRegisterType(componentUrl(QStringLiteral("UrlButton.qml")), uri, 2, 6, "UrlButton"); | ||
179 | 179 | | |||
180 | //2.7 | ||||
181 | qmlRegisterType(componentUrl(QStringLiteral("TextField.qml")), uri, 2, 6, "TextField"); | ||||
ognarb: @mart Should I use 2.6 or 2.7? I didn't find any information about that version I should use. | |||||
mart: 2.7 | |||||
182 | | ||||
180 | qmlProtectModule(uri, 2); | 183 | qmlProtectModule(uri, 2); | ||
181 | } | 184 | } | ||
182 | 185 | | |||
183 | #include "moc_kirigamiplugin.cpp" | 186 | #include "moc_kirigamiplugin.cpp" | ||
184 | 187 | |
@mart Should I use 2.6 or 2.7? I didn't find any information about that version I should use.