GammaRay API Documentation
3.2.0
|
Probe-side enum definition management. More...
#include <enumrepositoryserver.h>
Static Public Member Functions | |
static bool | isEnum (int metaTypeId) |
Check if the given meta type id is a known enum. | |
static EnumValue | valueFromMetaEnum (int value, const QMetaEnum &me) |
Creates an EnumValue instance for the given numeric value and QMetaEnum. More... | |
static EnumValue | valueFromVariant (const QVariant &value) |
Creates an EnumValue instance for a given QVariant containing a registered GammaRay::MetaEnum value. | |
Additional Inherited Members | |
Signals inherited from GammaRay::EnumRepository | |
void | definitionChanged (int id) |
Notification of EnumDefinition availability. More... | |
Public Member Functions inherited from GammaRay::EnumRepository | |
virtual EnumDefinition | definition (EnumId id) const |
Request the enum definition for the given enum id. More... | |
Probe-side enum definition management.
Use this to obtain enum value representations that can be safely transferred to the client.
|
static |
Creates an EnumValue instance for the given numeric value and QMetaEnum.
If not yet present, the enum definition with be registered with the EnumRepositoryServer, so that the client has access to the key/value mappings of the enum if needed.