GammaRay API Documentaion
2.6.0
|
Type-safe and cross-process object identifier. More...
#include <objectid.h>
Public Types | |
enum | Type { Invalid, QObjectType, VoidStarType } |
Public Member Functions | |
ObjectId (void *obj, const QByteArray &typeName) | |
ObjectId (QObject *obj) | |
QObject * | asQObject () const |
template<typename T > | |
T | asQObjectType () const |
void * | asVoidStar () const |
quint64 | id () const |
bool | isNull () const |
operator quint64 () const | |
Type | type () const |
QByteArray | typeName () const |
Friends | |
QDataStream & | operator<< (QDataStream &out, const ObjectId &id) |
QDataStream & | operator>> (QDataStream &out, ObjectId &id) |
Type-safe and cross-process object identifier.