![]() |
Qt 6.x
The Qt SDK
|
#include <qqmljsannotation_p.h>
Public Types | |
using | Value = std::variant< QString, double > |
Public Member Functions | |
bool | isDeprecation () const |
QQQmlJSDeprecation | deprecation () const |
Public Attributes | |
QString | name |
QHash< QString, Value > | bindings |
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) |
Definition at line 29 of file qqmljsannotation_p.h.
using QQmlJSAnnotation::Value = std::variant<QString, double> |
Definition at line 31 of file qqmljsannotation_p.h.
QQQmlJSDeprecation QQmlJSAnnotation::deprecation | ( | ) | const |
Definition at line 10 of file qqmljsannotation.cpp.
References bindings, QHash< Key, T >::contains(), deprecation(), isDeprecation(), Q_ASSERT, QStringLiteral, and QQQmlJSDeprecation::reason.
Referenced by deprecation().
QT_BEGIN_NAMESPACE bool QQmlJSAnnotation::isDeprecation | ( | ) | const |
Definition at line 8 of file qqmljsannotation.cpp.
References QStringLiteral.
Referenced by deprecation().
|
friend |
Definition at line 44 of file qqmljsannotation_p.h.
|
friend |
Definition at line 39 of file qqmljsannotation_p.h.
|
friend |
Definition at line 48 of file qqmljsannotation_p.h.
Definition at line 34 of file qqmljsannotation_p.h.
Referenced by deprecation(), and QQmlJSImportVisitor::parseAnnotations().
QString QQmlJSAnnotation::name |
Definition at line 33 of file qqmljsannotation_p.h.
Referenced by QQmlJSImportVisitor::parseAnnotations().