#include <object.h>
Public Types | |
enum | { READABLE = 1, WRITABLE = 2, STORED = 4 } |
Public Member Functions | |
const char * | name () const |
const char * | description () const |
int | flags () const |
int | userTypeId () const |
QVariant | readVariant (const Object *obj) const |
bool | writeVariant (Object *obj, const QVariant &v) const |
QString | readString (const Object *obj) const |
bool | writeString (Object *obj, const QString &s) const |
bool | isReadable () const |
bool | isWritable () const |
bool | isStored () const |
anonymous enum |
const char* name | ( | ) | const [inline] |
Returns property name
const char* description | ( | ) | const [inline] |
Returns property description
int flags | ( | ) | const [inline] |
Returns property flags
int userTypeId | ( | ) | const [inline] |
Returns property userType (see QMetaProperty)
QVariant readVariant | ( | const Object * | obj | ) | const [inline] |
Read property as QVariant
bool writeVariant | ( | Object * | obj, | |
const QVariant & | v | |||
) | const [inline] |
Write property as QVariant.
QString readString | ( | const Object * | obj | ) | const [inline] |
Read property as string
bool writeString | ( | Object * | obj, | |
const QString & | s | |||
) | const [inline] |
Write property as string.
bool isReadable | ( | ) | const [inline] |
Returns true if this property is readable
bool isWritable | ( | ) | const [inline] |
Returns true if this property is writable
bool isStored | ( | ) | const [inline] |
Returns true if this property should be stored