QMetaProperty Class Reference

QMetaProperty Class Reference

#include <qmetaobject.h>

Class Description

Definition at line 176 of file qmetaobject.h.

Public Member Functions

 QMetaProperty ()
 
const char * name () const
 
const char * typeName () const
 
QVariant::Type type () const
 
int userType () const
 
int propertyIndex () const
 
bool isReadable () const
 
bool isWritable () const
 
bool isResettable () const
 
bool isDesignable (const QObject *obj=0) const
 
bool isScriptable (const QObject *obj=0) const
 
bool isStored (const QObject *obj=0) const
 
bool isEditable (const QObject *obj=0) const
 
bool isUser (const QObject *obj=0) const
 
bool isConstant () const
 
bool isFinal () const
 
bool isFlagType () const
 
bool isEnumType () const
 
QMetaEnum enumerator () const
 
bool hasNotifySignal () const
 
QMetaMethod notifySignal () const
 
int notifySignalIndex () const
 
int revision () const
 
QVariant read (const QObject *obj) const
 
bool write (QObject *obj, const QVariant &value) const
 
bool reset (QObject *obj) const
 
bool hasStdCppSet () const
 
bool isValid () const
 
const QMetaObjectenclosingMetaObject () const
 

Friends

struct QMetaObject
 

Constructor & Destructor Documentation

Member Function Documentation

const char* name ( ) const
const char* typeName ( ) const
QVariant::Type type ( ) const
int userType ( ) const
int propertyIndex ( ) const
bool isReadable ( ) const
bool isWritable ( ) const
bool isResettable ( ) const
bool isDesignable ( const QObject obj = 0) const
bool isScriptable ( const QObject obj = 0) const
bool isStored ( const QObject obj = 0) const
bool isEditable ( const QObject obj = 0) const
bool isUser ( const QObject obj = 0) const
bool isConstant ( ) const
bool isFinal ( ) const
bool isFlagType ( ) const
bool isEnumType ( ) const
QMetaEnum enumerator ( ) const
bool hasNotifySignal ( ) const
QMetaMethod notifySignal ( ) const
int notifySignalIndex ( ) const
int revision ( ) const
QVariant read ( const QObject obj) const
bool write ( QObject obj,
const QVariant value 
) const
bool reset ( QObject obj) const
bool hasStdCppSet ( ) const
bool isValid ( ) const
inline

Definition at line 213 of file qmetaobject.h.

213 { return isReadable(); }
bool isReadable() const
const QMetaObject* enclosingMetaObject ( ) const
inline

Definition at line 214 of file qmetaobject.h.

214 { return mobj; }

Friends And Related Function Documentation

friend struct QMetaObject
friend

Definition at line 221 of file qmetaobject.h.


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