QMetaEnum Class Reference

QMetaEnum Class Reference

#include <qmetaobject.h>

Class Description

Definition at line 147 of file qmetaobject.h.

Public Member Functions

 QMetaEnum ()
 
const char * name () const
 
bool isFlag () const
 
int keyCount () const
 
const char * key (int index) const
 
int value (int index) const
 
const char * scope () const
 
int keyToValue (const char *key) const
 
const char * valueToKey (int value) const
 
int keysToValue (const char *keys) const
 
QByteArray valueToKeys (int value) const
 
const QMetaObjectenclosingMetaObject () const
 
bool isValid () const
 

Friends

struct QMetaObject
 

Constructor & Destructor Documentation

QMetaEnum ( )
inline

Definition at line 150 of file qmetaobject.h.

150 : mobj(0),handle(0) {}

Member Function Documentation

const char* name ( ) const
bool isFlag ( ) const
int keyCount ( ) const
const char* key ( int  index) const
int value ( int  index) const
const char* scope ( ) const
int keyToValue ( const char *  key) const
const char* valueToKey ( int  value) const
int keysToValue ( const char *  keys) const
QByteArray valueToKeys ( int  value) const
const QMetaObject* enclosingMetaObject ( ) const
inline

Definition at line 166 of file qmetaobject.h.

166 { return mobj; }
bool isValid ( ) const
inline

Definition at line 168 of file qmetaobject.h.

168 { return name() != 0; }
const char * name() const

Friends And Related Function Documentation

friend struct QMetaObject
friend

Definition at line 172 of file qmetaobject.h.


The documentation for this class was generated from the following file: