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
PropertyRemap Struct Reference
Collaboration diagram for PropertyRemap:

Public Member Functions

int oldPropertyCount () const
int mapCore (int coreIndex) const
int mapSignal (int signalIndex) const
int oldPropertyCount () const
int mapCore (int coreIndex) const
int mapSignal (int signalIndex) const

Public Attributes

const QList< int > & oldToNew
int coreBase
int ownSignalBase
int delta

Detailed Description

Describes how the property block of one VME level changes. A property add/remove/reorder changes the level's own property block and, on a count change, shifts everything the derived levels above it own (plus this level's own aliases and signals) by delta. mapCore/mapSignal express that mapping across the whole instance: below this level's own range -> unchanged; inside the property block -> the permutation (or -1 if removed); at or beyond it -> shifted by delta.

Definition at line 1536 of file qqmlvmemetaobject.cpp.

Member Function Documentation

◆ mapCore() [1/2]

int PropertyRemap::mapCore ( int coreIndex) const
inline

Definition at line 1545 of file qqmlvmemetaobject.cpp.

References coreBase, and delta.

◆ mapCore() [2/2]

int PropertyRemap::mapCore ( int coreIndex) const
inline

Definition at line 1545 of file qqmlvmemetaobject.cpp.

◆ mapSignal() [1/2]

int PropertyRemap::mapSignal ( int signalIndex) const
inline

Definition at line 1555 of file qqmlvmemetaobject.cpp.

References delta, and ownSignalBase.

◆ mapSignal() [2/2]

int PropertyRemap::mapSignal ( int signalIndex) const
inline

Definition at line 1555 of file qqmlvmemetaobject.cpp.

◆ oldPropertyCount() [1/2]

int PropertyRemap::oldPropertyCount ( ) const
inline

Definition at line 1543 of file qqmlvmemetaobject.cpp.

◆ oldPropertyCount() [2/2]

int PropertyRemap::oldPropertyCount ( ) const
inline

Definition at line 1543 of file qqmlvmemetaobject.cpp.

Member Data Documentation

◆ coreBase

int PropertyRemap::coreBase

Definition at line 1539 of file qqmlvmemetaobject.cpp.

Referenced by mapCore().

◆ delta

int PropertyRemap::delta

Definition at line 1541 of file qqmlvmemetaobject.cpp.

Referenced by mapCore(), and mapSignal().

◆ oldToNew

const QList< int > & PropertyRemap::oldToNew

Definition at line 1538 of file qqmlvmemetaobject.cpp.

◆ ownSignalBase

int PropertyRemap::ownSignalBase

Definition at line 1540 of file qqmlvmemetaobject.cpp.

Referenced by mapSignal().


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