GammaRay API Documentation  2.11.3
Public Types | Public Member Functions | List of all members
GammaRay::ObjectId Class Reference

Type-safe and cross-process object identifier. More...

#include <objectid.h>

Public Types

enum  Type { Invalid, QObjectType, VoidStarType }
 

Public Member Functions

 ObjectId (QObject *obj)
 
 ObjectId (void *obj, const QByteArray &typeName)
 
QObjectasQObject () const
 
template<typename T >
asQObjectType () const
 
void * asVoidStar () const
 
quint64 id () const
 
bool isNull () const
 
 operator quint64 () const
 
Type type () const
 
QByteArray typeName () const
 

Detailed Description

Type-safe and cross-process object identifier.


© 2010-2021 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
GammaRay Qt-application inspection and manipulation tool
https://www.kdab.com/development-resources/qt-tools/gammaray/
Generated on Wed Mar 15 2023 01:05:10 for GammaRay API Documentation by doxygen 1.8.20