Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlDelayedError Class Reference

#include <qqmljavascriptexpression_p.h>

+ Collaboration diagram for QQmlDelayedError:

Public Member Functions

 QQmlDelayedError ()
 
 ~QQmlDelayedError ()
 
bool addError (QQmlEnginePrivate *)
 
Q_REQUIRED_RESULT QQmlError removeError ()
 
bool isValid () const
 
const QQmlErrorerror () const
 
void clearError ()
 
void setErrorLocation (const QQmlSourceLocation &sourceLocation)
 
void setErrorDescription (const QString &description)
 
void setErrorObject (QObject *object)
 
void catchJavaScriptException (QV4::ExecutionEngine *engine)
 

Detailed Description

Definition at line 28 of file qqmljavascriptexpression_p.h.

Constructor & Destructor Documentation

◆ QQmlDelayedError()

QQmlDelayedError::QQmlDelayedError ( )
inline

Definition at line 31 of file qqmljavascriptexpression_p.h.

◆ ~QQmlDelayedError()

QQmlDelayedError::~QQmlDelayedError ( )
inline

Definition at line 32 of file qqmljavascriptexpression_p.h.

References removeError(), and void.

+ Here is the call graph for this function:

Member Function Documentation

◆ addError()

◆ catchJavaScriptException()

void QQmlDelayedError::catchJavaScriptException ( QV4::ExecutionEngine * engine)

Definition at line 58 of file qqmljavascriptexpression.cpp.

References engine.

Referenced by QQmlJavaScriptExpressionCapture::catchException().

+ Here is the caller graph for this function:

◆ clearError()

void QQmlDelayedError::clearError ( )
inline

Definition at line 48 of file qqmljavascriptexpression_p.h.

Referenced by QQmlJavaScriptExpressionCapture::catchException().

+ Here is the caller graph for this function:

◆ error()

const QQmlError & QQmlDelayedError::error ( ) const
inline

Definition at line 47 of file qqmljavascriptexpression_p.h.

Referenced by QQmlJavaScriptExpression::error().

+ Here is the caller graph for this function:

◆ isValid()

bool QQmlDelayedError::isValid ( ) const
inline

Definition at line 46 of file qqmljavascriptexpression_p.h.

References QQmlError::isValid().

Referenced by QQmlJavaScriptExpression::hasError().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeError()

Q_REQUIRED_RESULT QQmlError QQmlDelayedError::removeError ( )
inline

Definition at line 36 of file qqmljavascriptexpression_p.h.

Referenced by ~QQmlDelayedError(), QQmlIncubator::clear(), QQmlComponentPrivate::complete(), and QQmlIncubatorPrivate::incubate().

+ Here is the caller graph for this function:

◆ setErrorDescription()

void QQmlDelayedError::setErrorDescription ( const QString & description)

Definition at line 48 of file qqmljavascriptexpression.cpp.

References QQmlError::setDescription().

Referenced by QQmlBinding::slowWrite(), and QQmlBinding::slowWrite().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setErrorLocation()

void QQmlDelayedError::setErrorLocation ( const QQmlSourceLocation & sourceLocation)

Definition at line 41 of file qqmljavascriptexpression.cpp.

References QQmlSourceLocation::column, QQmlSourceLocation::line, QQmlError::setColumn(), QQmlError::setLine(), QQmlError::setUrl(), and QQmlSourceLocation::sourceFile.

Referenced by QQmlBinding::doUpdate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setErrorObject()

void QQmlDelayedError::setErrorObject ( QObject * object)

Definition at line 53 of file qqmljavascriptexpression.cpp.

References QQmlError::setObject().

Referenced by QQmlBinding::doUpdate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: