42 #ifndef QABSTRACTXMLRECEIVER_H 43 #define QABSTRACTXMLRECEIVER_H 45 #include <QtCore/QVariant> 46 #include <QtCore/QScopedPointer> 47 #include <QtXmlPatterns/QXmlNodeModelIndex> 71 virtual void endElement() = 0;
72 virtual void attribute(
const QXmlName &name,
74 virtual void comment(
const QString &value) = 0;
75 virtual void characters(
const QStringRef &value) = 0;
76 virtual void startDocument() = 0;
77 virtual void endDocument() = 0;
79 virtual void processingInstruction(
const QXmlName &target,
82 virtual void atomicValue(
const QVariant &value) = 0;
83 virtual void namespaceBinding(
const QXmlName &name) = 0;
84 virtual void startOfSequence() = 0;
85 virtual void endOfSequence() = 0;
89 virtual void whitespaceOnly(
const QStringRef &value);
98 template<const QXmlNodeModelIndex::Axis axis>
The QVariant class acts like a union for the most common Qt data types.
QScopedPointer< QAbstractXmlReceiverPrivate > d_ptr
The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from QAbstractXmlNodeM...
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
The Item is the most basic of all visual items in QML.
The QStringRef class provides a thin wrapper around QString substrings.
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
The QAbstractXmlReceiver class provides a callback interface for transforming the output of a QXmlQue...
Represents an item in the XPath 2.0 Data Model.
#define Q_XMLPATTERNS_EXPORT