5#ifndef QQUICKDEFERREDPOINTER_P_P_H
6#define QQUICKDEFERREDPOINTER_P_P_H
19#include <QtCore/qglobal.h>
20#include <QtQml/private/qbipointer_p.h>
21#include <QtQml/private/qqmlcomponent_p.h>
81 Q_ASSERT(value.isT1());
82 Q_ASSERT(!value.flag());
90 value.asT2()->value = v;
100 void *
data()
const {
return value.isT1() ? value.asT1() : value.asT2()->value; }
105 QQmlComponentPrivate::DeferredState state;
106 void *value =
nullptr;
109 QBiPointer<
void, DeferredState> value;
QQuickItem * activeFocusControl
~QQuickDeferredPointer()=default
QQuickDeferredPointer< T > & operator=(T *o)
QQuickUntypedDeferredPointer(void *v)
QQuickUntypedDeferredPointer & operator=(void *v)
~QQuickUntypedDeferredPointer()
bool isInteractiveControlType(const QQuickItem *item)
static void layoutItem(QQuickItem *item, qreal y, qreal width)
static const QQuickItemPrivate::ChangeTypes ItemChanges
Styled top-level window with support for a header and footer.
static QQuickItem * findActiveFocusControl(QQuickWindow *window)