Commit 90d6b6c9 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: cleanup of Qt 4.6 namespace in qml

parent 851984ca
......@@ -31,7 +31,7 @@
QT_BEGIN_NAMESPACE
QML_DEFINE_TYPE(Qt,4,6,QBoxLayout,QBoxLayoutObject);
QML_DEFINE_TYPE(Bauhaus,1,0,QBoxLayout,QBoxLayoutObject);
QBoxLayoutObject::QBoxLayoutObject(QObject *parent)
: QLayoutObject(parent), _widgets(this), _layout(0)
......@@ -57,14 +57,14 @@ void QBoxLayoutObject::clearWidget()
{
}
QML_DEFINE_TYPE(Qt,4,6,QHBoxLayout,QHBoxLayoutObject);
QML_DEFINE_TYPE(Bauhaus,1,0,QHBoxLayout,QHBoxLayoutObject);
QHBoxLayoutObject::QHBoxLayoutObject(QObject *parent)
: QBoxLayoutObject(new QHBoxLayout, parent)
{
}
QML_DEFINE_TYPE(Qt,4,6,QVBoxLayout,QVBoxLayoutObject);
QML_DEFINE_TYPE(Bauhaus,1,0,QVBoxLayout,QVBoxLayoutObject);
QVBoxLayoutObject::QVBoxLayoutObject(QObject *parent)
: QBoxLayoutObject(new QVBoxLayout, parent)
{
......
Supports Markdown
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