44 #include <QtCore/qstringlist.h> 45 #include <QtCore/qxmlstream.h> 46 #include <QtCore/qdebug.h> 54 while (!reader.
atEnd()) {
56 if ((t == target) && (level == 0))
101 for (
int i = 0; i < formalParameters.
size(); ++i) {
104 signature.
append(formalParameters.
at(i));
107 functionsInfo.
insert(signature, line);
160 functionsInfo.
insert(signature, line);
QString toString() const
Returns a copy of the string reference as a QString object.
#define QT_END_NAMESPACE
This macro expands to.
QSet< T > toSet() const
Returns a QSet object with the data contained in this QList.
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
QStringRef name() const
Returns the local name of a StartElement, EndElement, or an EntityReference.
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.
static void tokenUntil(QXmlStreamReader &reader, QXmlStreamReader::TokenType target, QList< int > &lineNumbers)
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.
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
const T & at(int i) const
Returns the item at index position i in the list.
The QStringList class provides a list of strings.
TokenType readNext()
Reads the next token and returns its type.
QString & append(QChar c)
iterator insert(const Key &key, const T &value)
Inserts a new item with the key key and a value of value.
static Result parse(const QString &xml)
int size() const
Returns the number of items in the list.
The QXmlStreamReader class provides a fast parser for reading well-formed XML via a simple streaming ...
QStringRef text() const
Returns the text of Characters , Comment , DTD , or EntityReference.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
QXmlStreamAttributes attributes() const
Returns the attributes of a StartElement.