Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlPropertyData::Flags Struct Reference

#include <qqmlpropertydata_p.h>

+ Collaboration diagram for QQmlPropertyData::Flags:

Public Types

enum  Types {
  OtherType = 0 , FunctionType = 1 , QObjectDerivedType = 2 , EnumType = 3 ,
  QListType = 4 , QJSValueType = 6 , VarPropertyType = 8 , QVariantType = 9 ,
  ValueType = 10
}
 
enum  { BitsLeftInFlags = 16 }
 

Public Member Functions

 Flags ()
 
bool operator== (const Flags &other) const
 
void copyPropertyTypeFlags (Flags from)
 
void setIsConstant (bool b)
 
void setIsWritable (bool b)
 
void setIsResettable (bool b)
 
void setIsAlias (bool b)
 
void setIsFinal (bool b)
 
void setIsOverridden (bool b)
 
void setIsBindable (bool b)
 
void setIsRequired (bool b)
 
void setIsVMEFunction (bool b)
 
void setHasArguments (bool b)
 
void setIsSignal (bool b)
 
void setIsVMESignal (bool b)
 
void setIsV4Function (bool b)
 
void setIsSignalHandler (bool b)
 
void setIsOverload (bool b)
 
void setIsCloned (bool b)
 
void setIsConstructor (bool b)
 

Public Attributes

unsigned otherBits: BitsLeftInFlags
 
unsigned type: 4
 
unsigned overrideIndexIsProperty: 1
 

Friends

class QQmlPropertyData
 

Detailed Description

Definition at line 38 of file qqmlpropertydata_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BitsLeftInFlags 

Definition at line 59 of file qqmlpropertydata_p.h.

◆ Types

enum QQmlPropertyData::Flags::Types
Enumerator
OtherType 
FunctionType 
QObjectDerivedType 
EnumType 
QListType 
QJSValueType 
VarPropertyType 
QVariantType 
ValueType 

Definition at line 40 of file qqmlpropertydata_p.h.

Constructor & Destructor Documentation

◆ Flags()

QQmlPropertyData::Flags::Flags ( )
inline

Definition at line 411 of file qqmlpropertydata_p.h.

References Flags().

Referenced by Flags().

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

Member Function Documentation

◆ copyPropertyTypeFlags()

void QQmlPropertyData::Flags::copyPropertyTypeFlags ( QQmlPropertyData::Flags  from)
inline

Definition at line 444 of file qqmlpropertydata_p.h.

References copyPropertyTypeFlags(), and type.

Referenced by copyPropertyTypeFlags().

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

◆ operator==()

bool QQmlPropertyData::Flags::operator== ( const Flags other) const
inline

Definition at line 428 of file qqmlpropertydata_p.h.

References QQmlPropertyData::isOverridden(), QQmlPropertyData::isSignalHandler(), QQmlPropertyData::isVMEFunction(), other(), and QQmlPropertyData::overrideIndexIsProperty().

+ Here is the call graph for this function:

◆ setHasArguments()

void QQmlPropertyData::Flags::setHasArguments ( bool  b)
inline

Definition at line 137 of file qqmlpropertydata_p.h.

References Q_ASSERT.

Referenced by QQmlPropertyData::load().

+ Here is the caller graph for this function:

◆ setIsAlias()

void QQmlPropertyData::Flags::setIsAlias ( bool  b)
inline

Definition at line 109 of file qqmlpropertydata_p.h.

References Q_ASSERT.

◆ setIsBindable()

void QQmlPropertyData::Flags::setIsBindable ( bool  b)
inline

Definition at line 123 of file qqmlpropertydata_p.h.

References Q_ASSERT.

◆ setIsCloned()

void QQmlPropertyData::Flags::setIsCloned ( bool  b)
inline

Definition at line 165 of file qqmlpropertydata_p.h.

References Q_ASSERT.

Referenced by QQmlPropertyData::load().

+ Here is the caller graph for this function:

◆ setIsConstant()

void QQmlPropertyData::Flags::setIsConstant ( bool  b)
inline

Definition at line 95 of file qqmlpropertydata_p.h.

Referenced by QQmlPropertyData::flagsForProperty(), and QQmlPropertyData::load().

+ Here is the caller graph for this function:

◆ setIsConstructor()

void QQmlPropertyData::Flags::setIsConstructor ( bool  b)
inline

Definition at line 170 of file qqmlpropertydata_p.h.

References Q_ASSERT.

Referenced by QQmlPropertyData::load().

+ Here is the caller graph for this function:

◆ setIsFinal()

void QQmlPropertyData::Flags::setIsFinal ( bool  b)
inline

Definition at line 114 of file qqmlpropertydata_p.h.

References Q_ASSERT.

◆ setIsOverload()

void QQmlPropertyData::Flags::setIsOverload ( bool  b)
inline

Definition at line 160 of file qqmlpropertydata_p.h.

References QQmlPropertyData::isOverload(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ setIsOverridden()

void QQmlPropertyData::Flags::setIsOverridden ( bool  b)
inline

Definition at line 119 of file qqmlpropertydata_p.h.

References QQmlPropertyData::isOverridden().

Referenced by QQmlPropertyData::markAsOverrideOf().

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

◆ setIsRequired()

void QQmlPropertyData::Flags::setIsRequired ( bool  b)
inline

Definition at line 128 of file qqmlpropertydata_p.h.

References Q_ASSERT.

◆ setIsResettable()

void QQmlPropertyData::Flags::setIsResettable ( bool  b)
inline

Definition at line 104 of file qqmlpropertydata_p.h.

References Q_ASSERT.

◆ setIsSignal()

void QQmlPropertyData::Flags::setIsSignal ( bool  b)
inline

Definition at line 141 of file qqmlpropertydata_p.h.

References Q_ASSERT.

Referenced by QQmlPropertyData::load().

+ Here is the caller graph for this function:

◆ setIsSignalHandler()

void QQmlPropertyData::Flags::setIsSignalHandler ( bool  b)
inline

Definition at line 155 of file qqmlpropertydata_p.h.

References QQmlPropertyData::isSignalHandler(), and Q_ASSERT.

Referenced by QQmlPropertyCache::appendSignal().

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

◆ setIsV4Function()

void QQmlPropertyData::Flags::setIsV4Function ( bool  b)
inline

Definition at line 150 of file qqmlpropertydata_p.h.

References Q_ASSERT.

Referenced by QQmlPropertyData::load().

+ Here is the caller graph for this function:

◆ setIsVMEFunction()

void QQmlPropertyData::Flags::setIsVMEFunction ( bool  b)
inline

Definition at line 133 of file qqmlpropertydata_p.h.

References QQmlPropertyData::isVMEFunction(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ setIsVMESignal()

void QQmlPropertyData::Flags::setIsVMESignal ( bool  b)
inline

Definition at line 145 of file qqmlpropertydata_p.h.

References Q_ASSERT.

◆ setIsWritable()

void QQmlPropertyData::Flags::setIsWritable ( bool  b)
inline

Definition at line 99 of file qqmlpropertydata_p.h.

References Q_ASSERT.

Referenced by QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ QQmlPropertyData

friend class QQmlPropertyData
friend

Definition at line 39 of file qqmlpropertydata_p.h.

Member Data Documentation

◆ otherBits

unsigned QQmlPropertyData::Flags::otherBits

◆ overrideIndexIsProperty

unsigned QQmlPropertyData::Flags::overrideIndexIsProperty

◆ type


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