44 #include "private/qdeclarativedata_p.h" 46 #include "private/qdeclarativecontext_p.h" 47 #include "private/qdeclarativemetatype_p.h" 48 #include "private/qdeclarativeengine_p.h" 50 #include <QCoreApplication> 126 typeName = typeName.
mid(lastSlash+1);
131 typeName = typeName.
left(marker);
QDeclarativeContextData * outerContext
friend Q_DECLARATIVE_EXPORT QDeclarativeInfo qmlInfo(const QObject *me)
The QDebug class provides an output stream for debugging information.
static QDeclarativeData * get(const QObject *object, bool create=false)
#define QT_END_NAMESPACE
This macro expands to.
void setDescription(const QString &)
Sets the error description.
QDebug & nospace()
Clears the stream's internal flag that records whether the last character was a space and returns a r...
bool isEmpty() const
Returns true if the URL has no data; otherwise returns false.
QString & prepend(QChar c)
QDeclarativeInfo(const QDeclarativeInfo &)
void setColumn(int)
Sets the error column number.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QDeclarativeInfoPrivate()
QString left(int n) const Q_REQUIRED_RESULT
Returns a substring that contains the n leftmost characters of the string.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
void prepend(const T &t)
Inserts value at the beginning of the list.
static QString fromUtf8(const char *, int size=-1)
Returns a QString initialized with the first size bytes of the UTF-8 string str.
int indexOf(QChar c, int from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QByteArray qmlTypeName() const
The QDeclarativeError class encapsulates a QML error.
void setLine(int)
Sets the error line number.
QString mid(int position, int n=-1) const Q_REQUIRED_RESULT
Returns a string that contains n characters of this string, starting at the specified position index...
QList< QDeclarativeError > errors
Q_DECLARATIVE_EXPORT QDeclarativeEngine * qmlEngine(const QObject *)
void setUrl(const QUrl &)
Sets the url for the file that caused this error.
The QDeclarativeEngine class provides an environment for instantiating QML components.
int lastIndexOf(QChar c, int from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
void warning(const QDeclarativeError &)
QDeclarativeInfoPrivate * d
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.