Commit c7f7585b authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDesigner: Take some more qml elements out of general Qt namespace

Reviewed-by: Thomas Hartmann
parent 309f6bae
......@@ -1204,7 +1204,7 @@ void BasicWidgets::registerDeclarativeTypes()
//QML_REGISTER_TYPE(Bauhaus,1,0,BauhausreeView,BauhausreeView);
//QML_REGISTER_TYPE(Bauhaus,1,0,BauhausableView,BauhausableView);
QML_REGISTER_TYPE(Qt,4,6,QTabObject,QTabObject); //### with namespacing, this should just be 'Tab'
QML_REGISTER_TYPE(Bauhaus,1,0,QTabObject,QTabObject); //### with namespacing, this should just be 'Tab'
}
#include "basicwidgets.moc"
......@@ -34,7 +34,7 @@ QT_BEGIN_NAMESPACE
void QLayoutObject::registerDeclarativeType()
{
QML_REGISTER_TYPE(Qt,4,6,QLayoutObject,QLayoutObject);
QML_REGISTER_TYPE(Bauhaus,1,0,QLayoutObject,QLayoutObject);
}
QLayoutObject::QLayoutObject(QObject *parent)
......
......@@ -160,8 +160,8 @@ QSizeF QProxyLayout::sizeHint(Qt::SizeHint which,
void QProxyLayoutItem::registerDeclarativeTypes()
{
QML_REGISTER_TYPE(Qt,4,6,LayoutItem,QProxyLayoutItem);
QML_REGISTER_TYPE(Qt,4,6,ProxyLayout,QProxyLayout);
QML_REGISTER_TYPE(Bauhaus,1,0,LayoutItem,QProxyLayoutItem);
QML_REGISTER_TYPE(Bauhaus,1,0,ProxyLayout,QProxyLayout);
}
QT_END_NAMESPACE
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment