#include "qscriptxmlparser_p.h"
#include <QtCore/qstringlist.h>
#include <QtCore/qxmlstream.h>
#include <QtCore/qdebug.h>
Go to the source code of this file.
◆ tokenUntil()
Definition at line 50 of file qscriptxmlparser.cpp.
Referenced by QScriptXmlParser::parse().
54 while (!reader.
atEnd()) {
56 if ((t == target) && (level == 0))
QString toString() const
Returns a copy of the string reference as a QString object.
int toInt(bool *ok=0, int base=10) const
Returns the string converted to an int using base base, which is 10 by default and must be between 2 ...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
bool atEnd() const
Returns true if the reader has read until the end of the XML document, or if an error() has occurred ...
The QString class provides a Unicode character string.
TokenType
This enum specifies the type of token the reader just read.
QStringRef value(const QString &namespaceUri, const QString &name) const
Returns the value of the attribute name in the namespace described with namespaceUri, or an empty string reference if the attribute is not defined.
void append(const T &t)
Inserts value at the end of the list.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
TokenType readNext()
Reads the next token and returns its type.
QXmlStreamAttributes attributes() const
Returns the attributes of a StartElement.