![]() |
Home · All Classes · All Functions · Overviews |
The QDeclarativeError class encapsulates a QML error More...
#include <QDeclarativeError>
This class was introduced in Qt 4.7.
QDeclarativeError () | |
QDeclarativeError ( const QDeclarativeError & other ) | |
int | column () const |
QString | description () const |
bool | isValid () const |
int | line () const |
void | setColumn ( int column ) |
void | setDescription ( const QString & description ) |
void | setLine ( int line ) |
void | setUrl ( const QUrl & url ) |
QString | toString () const |
QUrl | url () const |
QDeclarativeError & | operator= ( const QDeclarativeError & other ) |
QDebug | operator<< ( QDebug debug, const QDeclarativeError & error ) |
The QDeclarativeError class encapsulates a QML error
Create an empty error object.
Create a copy of other.
Return the error column number.
See also setColumn().
Return the error description.
See also setDescription().
Return true if this error is valid, otherwise false.
Return the error line number.
See also setLine().
Set the error column number.
See also column().
Set the error description.
See also description().
Set the error line number.
See also line().
Set the url for the file that caused this error.
See also url().
Return the error as a human readable string.
Return the url for the file that caused this error.
See also setUrl().
Assign other to this error object.
Output a human readable version of error to debug.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.7.0 |