4#ifndef QQMLXMLLISTMODEL_H
5#define QQMLXMLLISTMODEL_H
18#include <private/qflatmap_p.h>
19#include <private/qtqmlxmllistmodelglobal_p.h>
21#include <QtQml/qqmllist.h>
22#include <QtQml/qqmlparserstatus.h>
24#include <QtQmlIntegration/qqmlintegration.h>
26#include <QtCore/qabstractitemmodel.h>
27#include <QtCore/qbytearray.h>
28#include <QtCore/qfuture.h>
29#include <QtCore/qhash.h>
30#include <QtCore/qstringlist.h>
31#include <QtCore/qurl.h>
35#if QT_CONFIG(qml_network)
39class QXmlStreamReader;
63 Q_PROPERTY(
QString elementName READ elementName WRITE setElementName NOTIFY elementNameChanged)
77 void setAttributeName(
const QString &attributeName);
91class QQmlXmlListModelQueryExecutor;
120 void setSource(
const QUrl &);
132 Status status()
const;
133 qreal progress()
const;
137 void classBegin()
override;
138 void componentComplete()
override;
151#if QT_CONFIG(qml_network)
152 void requestFinished();
162 void notifyQueryStarted(
bool remoteSource);
172#if QT_CONFIG(qml_network)
185 bool m_isComponentComplete =
true;
188 qreal m_progress = 0;
190 int m_nextQueryIdGenerator = -1;
207 QXmlStreamReader &reader);
208 void readSubTree(
const QString &prefix, QXmlStreamReader &reader,
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
The QQmlContext class defines a context within a QML engine.
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
The QQmlParserStatus class provides updates on the QML parser state.
QFuture< QQmlXmlListModelQueryResult > future() const
void run() override
Implement this pure virtual function in your subclass.
~QQmlXmlListModelRole()=default
void attributeNameChanged()
void elementNameChanged()
QQmlXmlListModelRole()=default
void progressChanged(qreal progress)
void statusChanged(QQmlXmlListModel::Status)
\macro QT_RESTRICTED_CAST_FROM_ASCII
void statusChanged(QDeclarativeComponent::Status status)
[1]
employee setName("Richard Schmit")
Combined button and popup list for selecting options.
std::pair< T1, T2 > QPair
DBusConnection const char DBusError * error
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLsizei GLsizei GLchar * source
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
#define QML_NAMED_ELEMENT(NAME)
qDebug()<< QUrl("file copy setQuery(copy.query(QUrl::FullyDecoded), QUrl::DecodedMode)
QStringList elementAttributes
QList< void * > roleQueryErrorId
QML_ANONYMOUS int queryId
QList< QPair< void *, QString > > errors
QList< QFlatMap< int, QString > > data
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent