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

#include <moc.h>

+ Collaboration diagram for PropertyDef:

Public Types

enum  Specification { ValueSpec , ReferenceSpec , PointerSpec }
 

Public Member Functions

bool stdCppSet () const
 
QJsonObject toJson () const
 

Public Attributes

QByteArray name
 
QByteArray type
 
QByteArray member
 
QByteArray read
 
QByteArray write
 
QByteArray bind
 
QByteArray reset
 
QByteArray designable
 
QByteArray scriptable
 
QByteArray stored
 
QByteArray user
 
QByteArray notify
 
QByteArray inPrivateClass
 
int notifyId = -1
 
Specification gspec = ValueSpec
 
int revision = 0
 
bool constant = false
 
bool final = false
 
bool required = false
 
int relativeIndex = -1
 
qsizetype location = -1
 

Detailed Description

Definition at line 103 of file moc.h.

Member Enumeration Documentation

◆ Specification

Enumerator
ValueSpec 
ReferenceSpec 
PointerSpec 

Definition at line 116 of file moc.h.

Member Function Documentation

◆ stdCppSet()

bool PropertyDef::stdCppSet ( ) const
inline

Definition at line 105 of file moc.h.

References QtMiscUtils::toAsciiUpper(), and write.

+ Here is the call graph for this function:

◆ toJson()

QJsonObject PropertyDef::toJson ( ) const

Definition at line 2129 of file moc.cpp.

References bind, constant, designable, QString::fromUtf8(), inPrivateClass, QByteArray::isEmpty(), member, notify, read, relativeIndex, required, revision, scriptable, stored, str, user, and write.

+ Here is the call graph for this function:

Member Data Documentation

◆ bind

QByteArray PropertyDef::bind

Definition at line 114 of file moc.h.

Referenced by toJson().

◆ constant

bool PropertyDef::constant = false

Definition at line 119 of file moc.h.

Referenced by toJson().

◆ designable

QByteArray PropertyDef::designable

Definition at line 114 of file moc.h.

Referenced by toJson().

◆ final

bool PropertyDef::final = false

Definition at line 120 of file moc.h.

◆ gspec

Specification PropertyDef::gspec = ValueSpec

Definition at line 117 of file moc.h.

◆ inPrivateClass

QByteArray PropertyDef::inPrivateClass

Definition at line 114 of file moc.h.

Referenced by Moc::parsePrivateProperty(), and toJson().

◆ location

qsizetype PropertyDef::location = -1

Definition at line 124 of file moc.h.

◆ member

QByteArray PropertyDef::member

Definition at line 114 of file moc.h.

Referenced by toJson().

◆ name

QByteArray PropertyDef::name

Definition at line 114 of file moc.h.

◆ notify

QByteArray PropertyDef::notify

Definition at line 114 of file moc.h.

Referenced by toJson().

◆ notifyId

int PropertyDef::notifyId = -1

Definition at line 115 of file moc.h.

◆ read

QByteArray PropertyDef::read

Definition at line 114 of file moc.h.

Referenced by toJson().

◆ relativeIndex

int PropertyDef::relativeIndex = -1

Definition at line 122 of file moc.h.

Referenced by toJson().

◆ required

bool PropertyDef::required = false

Definition at line 121 of file moc.h.

Referenced by toJson().

◆ reset

QByteArray PropertyDef::reset

Definition at line 114 of file moc.h.

◆ revision

int PropertyDef::revision = 0

Definition at line 118 of file moc.h.

Referenced by toJson().

◆ scriptable

QByteArray PropertyDef::scriptable

Definition at line 114 of file moc.h.

Referenced by toJson().

◆ stored

QByteArray PropertyDef::stored

Definition at line 114 of file moc.h.

Referenced by toJson().

◆ type

QByteArray PropertyDef::type

Definition at line 114 of file moc.h.

◆ user

QByteArray PropertyDef::user

Definition at line 114 of file moc.h.

Referenced by toJson().

◆ write

QByteArray PropertyDef::write

Definition at line 114 of file moc.h.

Referenced by stdCppSet(), and toJson().


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