It's no longer in the constructor of QWindow. Those who wish to set it
can use the setWindowFlags function.
Change-Id: I8df57ed1ced8128723d790caaaaaaaaaaaaa787d
Reviewed-by: Martin Jones <martin.jones@nokia.com>
- Constructs a QQuickView with the given \a parent and window flags \a f.
- The default value of \a parent is 0, default window flags \a f is Qt::Window.
+ Constructs a QQuickView with the given \a parent.
+ The default value of \a parent is 0.
-QQuickView::QQuickView(QWindow *parent, Qt::WindowFlags f)
+QQuickView::QQuickView(QWindow *parent)
: QQuickCanvas(*(new QQuickViewPrivate), parent)
{
: QQuickCanvas(*(new QQuickViewPrivate), parent)
{
- Constructs a QQuickView with the given QML \a source, \a parent and a window flags \a f.
- The default value of \a parent is 0, default window flags \a f is Qt::Window.
+ Constructs a QQuickView with the given QML \a source and \a parent.
+ The default value of \a parent is 0.
-QQuickView::QQuickView(const QUrl &source, QWindow *parent, Qt::WindowFlags f)
+QQuickView::QQuickView(const QUrl &source, QWindow *parent)
: QQuickCanvas(*(new QQuickViewPrivate), parent)
{
: QQuickCanvas(*(new QQuickViewPrivate), parent)
{
d_func()->init();
setSource(source);
}
/*!
d_func()->init();
setSource(source);
}
/*!
- Constructs a QQuickView with the given QML \a engine, \a parent and a window flags \a f.
- The default value of \a parent is 0, default window flags \a f is Qt::Window.
+ Constructs a QQuickView with the given QML \a engine and \a parent.
Note: In this case, the QQuickView does not own the given \a engine object;
it is the caller's responsibility to destroy the engine. If the \a engine is deleted
before the view \a status() will return \a QQuickView::Error.
Note: In this case, the QQuickView does not own the given \a engine object;
it is the caller's responsibility to destroy the engine. If the \a engine is deleted
before the view \a status() will return \a QQuickView::Error.
- \sa Status, status(), errors(), Qt::WindowFlags
+ \sa Status, status(), errors()
-QQuickView::QQuickView(QQmlEngine* engine, QWindow *parent, Qt::WindowFlags f)
+QQuickView::QQuickView(QQmlEngine* engine, QWindow *parent)
: QQuickCanvas(*(new QQuickViewPrivate), parent)
{
Q_ASSERT(engine);
: QQuickCanvas(*(new QQuickViewPrivate), parent)
{
Q_ASSERT(engine);
d_func()->init(engine);
}
d_func()->init(engine);
}
Q_PROPERTY(QUrl source READ source WRITE setSource DESIGNABLE true)
Q_ENUMS(ResizeMode Status)
public:
Q_PROPERTY(QUrl source READ source WRITE setSource DESIGNABLE true)
Q_ENUMS(ResizeMode Status)
public:
- explicit QQuickView(QWindow *parent = 0, Qt::WindowFlags f = Qt::Window);
- QQuickView(QQmlEngine* engine, QWindow *parent, Qt::WindowFlags f = Qt::Window);
- QQuickView(const QUrl &source, QWindow *parent = 0, Qt::WindowFlags f = Qt::Window);
+ explicit QQuickView(QWindow *parent = 0);
+ QQuickView(QQmlEngine* engine, QWindow *parent);
+ QQuickView(const QUrl &source, QWindow *parent = 0);
virtual ~QQuickView();
QUrl source() const;
virtual ~QQuickView();
QUrl source() const;