6#include <private/qobject_p.h>
7#include <private/qqmlguard_p.h>
62 auto This =
static_cast<DataGuard *
>(guard);
64 This->
list->removeOne(*This);
138 for (
int ii = 0; ii <
d->dataList.size(); ++ii) {
141 if (
a &&
a->name() ==
name)
150 if (
name.isEmpty() && !
d->dataList.isEmpty())
151 return d->dataList.at(0);
153 for (
int ii = 0; ii <
d->dataList.size(); ++ii) {
156 if (
a &&
a->name() ==
name)
161 return d->dataList.at(0);
175#include "moc_qquickpackage_p.cpp"
bool remove(const Key &key)
Removes the item that has the key from the hash.
T value(const Key &key) const noexcept
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
qsizetype size() const noexcept
const_reference at(qsizetype i) const noexcept
void replace(qsizetype i, parameter_type t)
void removeLast() noexcept
void append(parameter_type t)
QObject * parent() const
Returns a pointer to the parent object.
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
virtual ~QQuickPackageAttached()
void setName(const QString &n)
static QHash< QObject *, QQuickPackageAttached * > attached
QQuickPackageAttached(QObject *parent)
\qmltype Package \instantiates QQuickPackage \inqmlmodule QtQml.Models
static void data_removeLast(QQmlListProperty< QObject > *prop)
QList< DataGuard > dataList
static QObject * data_at(QQmlListProperty< QObject > *prop, qsizetype index)
static void data_append(QQmlListProperty< QObject > *prop, QObject *o)
static qsizetype data_count(QQmlListProperty< QObject > *prop)
static void data_clear(QQmlListProperty< QObject > *prop)
static void data_replace(QQmlListProperty< QObject > *prop, qsizetype index, QObject *o)
QQuickPackage(QObject *parent=nullptr)
QObject * part(const QString &=QString())
QQmlListProperty< QObject > data
static QQuickPackageAttached * qmlAttachedProperties(QObject *)
bool hasPart(const QString &)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean GLboolean a
[7]
QLatin1StringView QLatin1String
DataGuard(QObject *obj, QList< DataGuard > *l)
QList< DataGuard > * list
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent