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
QQmlJSStructuredTypeError Struct Reference

#include <qqmljsvaluetypefromstringcheck_p.h>

+ Collaboration diagram for QQmlJSStructuredTypeError:

Public Member Functions

bool isValid () const
 

Static Public Member Functions

static QQmlJSStructuredTypeError withInvalidString ()
 
static QQmlJSStructuredTypeError withValidString ()
 
static QQmlJSStructuredTypeError fromSuggestedString (const QString &enhancedString)
 

Public Attributes

QString code
 
bool constructedFromInvalidString = false
 

Detailed Description

Definition at line 25 of file qqmljsvaluetypefromstringcheck_p.h.

Member Function Documentation

◆ fromSuggestedString()

static QQmlJSStructuredTypeError QQmlJSStructuredTypeError::fromSuggestedString ( const QString & enhancedString)
inlinestatic

Definition at line 33 of file qqmljsvaluetypefromstringcheck_p.h.

Referenced by QQmlJSValueTypeFromStringCheck::hasError().

+ Here is the caller graph for this function:

◆ isValid()

bool QQmlJSStructuredTypeError::isValid ( ) const
inline

Definition at line 30 of file qqmljsvaluetypefromstringcheck_p.h.

References QString::isEmpty().

+ Here is the call graph for this function:

◆ withInvalidString()

static QQmlJSStructuredTypeError QQmlJSStructuredTypeError::withInvalidString ( )
inlinestatic

Definition at line 31 of file qqmljsvaluetypefromstringcheck_p.h.

Referenced by QQmlJSValueTypeFromStringCheck::hasError().

+ Here is the caller graph for this function:

◆ withValidString()

static QQmlJSStructuredTypeError QQmlJSStructuredTypeError::withValidString ( )
inlinestatic

Definition at line 32 of file qqmljsvaluetypefromstringcheck_p.h.

Referenced by QQmlJSValueTypeFromStringCheck::hasError().

+ Here is the caller graph for this function:

Member Data Documentation

◆ code

QString QQmlJSStructuredTypeError::code

Definition at line 27 of file qqmljsvaluetypefromstringcheck_p.h.

◆ constructedFromInvalidString

bool QQmlJSStructuredTypeError::constructedFromInvalidString = false

Definition at line 28 of file qqmljsvaluetypefromstringcheck_p.h.


The documentation for this struct was generated from the following file: