52 #ifndef QABSTRACTXMLPULLPROVIDER_H 53 #define QABSTRACTXMLPULLPROVIDER_H 55 #include <QtCore/QtGlobal> 65 template<
typename Key,
typename Value>
class QHash;
69 class AbstractXmlPullProviderPrivate;
105 AbstractXmlPullProviderPrivate *
d;
The QVariant class acts like a union for the most common Qt data types.
virtual ~AbstractXmlPullProvider()
Destructs this AbstractXmlPullProvider.
virtual QString stringValue() const =0
If current() is Text, the text node's value is returned.
#define QT_END_NAMESPACE
This macro expands to.
AbstractXmlPullProvider()
Constucts a AbstractXmlPullProvider instance.
The QXmlItem class contains either an XML node or an atomic value.
virtual QVariant atomicValue() const =0
If current() event is AtomicValue, the atomic value is returned as a QVariant.
#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.
The QHash class is a template class that provides a hash-table-based dictionary.
AbstractXmlPullProviderPrivate * d
#define QT_BEGIN_NAMESPACE
This macro expands to.
Base class for all classes representing atomic values.
virtual Event current() const =0
Returns the event that next() returned the last time it was called.
virtual QHash< QXmlName, QXmlItem > attributeItems()=0
The namespace for the internal API of QtXmlPatterns.
virtual QHash< QXmlName, QString > attributes()=0
If the current() is Element, the attributes of the element are returned, an empty list of attributes ...
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
virtual Event next()=0
Advances this AbstractXmlPullProvider, and returns the new event.
virtual QXmlName name() const =0
If the current event is StartElement, EndElement, ProcessingInstruction, Attribute, or Namespace, the node's name is returned.
The Text item allows you to add formatted text to a scene.