qobject header¶
The documentation of QEMU’s qapi/qobject.h
header.
Parameters
const QObject * x
- undescribed
const QObject * y
- undescribed
Description
Any of the pointers may be NULL; return true if both are. Always return false if only one is (therefore a QNull object is not considered equal to a NULL pointer).
-
void
qobject_destroy
(QObject * obj)¶
Parameters
QObject * obj
- undescribed
-
qobject_ref
(obj)¶
Parameters
obj
- undescribed
Return
the same obj. The type of obj will be propagated to the return type.
-
qobject_unref
(obj)¶
Parameters
obj
- undescribed
Description
when it reaches zero
-
QType
qobject_type
(const QObject * obj)¶
Parameters
const QObject * obj
- undescribed
-
QObject *
qobject_check_type
(const QObject * obj, QType type)¶
Parameters
const QObject * obj
- undescribed
QType type
- undescribed
Description
Return obj, but only if obj is not NULL and type is equal to obj‘s type. Return NULL otherwise.