26#define A_OBJECT_DESTROYING_WITHOWNER if (m_owner != nullptr) { ak::aObject * obj = m_owner->parentObject(); if (obj != nullptr) { obj->removeChildObject(m_owner); } }
27#define A_OBJECT_DESTROYING_WITHPARENT if (m_parentObject != nullptr) { m_parentObject->removeChildObject(this); m_parentObject = nullptr; }
28#define A_OBJECT_DESTROYING A_OBJECT_DESTROYING_WITHOWNER else A_OBJECT_DESTROYING_WITHPARENT
66 virtual void removeChildObject(
72 virtual void addChildObject(
80 ) { m_uniqueName = _name; }
83 virtual void setParentObject(
93 aObject * parentObject(
void)
const;
96 int childObjectCount(
void)
const;
127 virtual bool isWidgetType(
void)
const;
#define UICORE_API_EXPORT
Definition globalDataTypes.h:20
This class is used to store the main information of any object used Information contained is the UID ...
Definition aObject.h:34
std::map< UID, aObject * > m_childObjects
Definition aObject.h:136
void setUniqueName(const QString &_name)
Will set this objects unique name.
Definition aObject.h:78
objectType m_objectType
The objects references.
Definition aObject.h:132
QString uniqueName(void) const
Will return the unique name of this object.
Definition aObject.h:90
aObject * m_parentObject
Definition aObject.h:134
UID m_uid
Definition aObject.h:130
int m_references
The objects UID.
Definition aObject.h:131
aObject * m_owner
Definition aObject.h:135
QString m_uniqueName
The object type of this object.
Definition aObject.h:133
const UID invalidUID
Represents the invalid UID for an object.
Definition globalDataTypes.h:71
unsigned long long UID
The UID datatype used for objects.
Definition globalDataTypes.h:65
objectType
Describes the type of an object.
Definition akCore.h:167
@ otNone
Definition akCore.h:168