Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlJSAnnotation Struct Reference

#include <qqmljsannotation_p.h>

Collaboration diagram for QQmlJSAnnotation:

Public Types

using Value = std::variant<QString, double>

Public Member Functions

bool isDeprecation () const
QQQmlJSDeprecation deprecation () const

Public Attributes

QString name
QHash< QString, Valuebindings

Friends

bool operator== (const QQmlJSAnnotation &a, const QQmlJSAnnotation &b)
bool operator!= (const QQmlJSAnnotation &a, const QQmlJSAnnotation &b)
size_t qHash (const QQmlJSAnnotation &annotation, size_t seed=0)

Detailed Description

Definition at line 30 of file qqmljsannotation_p.h.

Member Typedef Documentation

◆ Value

using QQmlJSAnnotation::Value = std::variant<QString, double>

Definition at line 32 of file qqmljsannotation_p.h.

Member Function Documentation

◆ deprecation()

QQQmlJSDeprecation QQmlJSAnnotation::deprecation ( ) const

Definition at line 11 of file qqmljsannotation.cpp.

References isDeprecation().

Here is the call graph for this function:

◆ isDeprecation()

QT_BEGIN_NAMESPACE bool QQmlJSAnnotation::isDeprecation ( ) const

Definition at line 9 of file qqmljsannotation.cpp.

Referenced by deprecation().

Here is the caller graph for this function:

◆ operator!=

bool operator!= ( const QQmlJSAnnotation & a,
const QQmlJSAnnotation & b )
friend

Definition at line 45 of file qqmljsannotation_p.h.

References operator==.

◆ operator==

bool operator== ( const QQmlJSAnnotation & a,
const QQmlJSAnnotation & b )
friend

Definition at line 40 of file qqmljsannotation_p.h.

Referenced by operator!=.

◆ qHash

size_t qHash ( const QQmlJSAnnotation & annotation,
size_t seed = 0 )
friend

Definition at line 49 of file qqmljsannotation_p.h.

Member Data Documentation

◆ bindings

QHash<QString, Value> QQmlJSAnnotation::bindings

Definition at line 35 of file qqmljsannotation_p.h.

◆ name

QString QQmlJSAnnotation::name

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