#include <property.h>
Public Types | |
enum | Permissions { READ = ( 1 << 0 ), WRITE = ( 1 << 1 ), CHANGE = ( 1 << 2 ) } |
Public Member Functions | |
void | save (QDataStream &pData) const |
void | load (QDataStream &pData) |
quint16 | permissions (void) const |
ObjectId | parent (void) const |
ObjectId | owner (void) const |
bool | read (void) const |
bool | write (void) const |
bool | change (void) const |
const QVariant & | value (void) const |
QVariant::Type | type (void) const |
void | setPermissions (quint16 pPerms) |
void | setParent (ObjectId pParent) |
void | setOwner (ObjectId pOwner) |
void | setValue (const QVariant &pValue) |
void | setRead (bool pValue) |
void | setWrite (bool pValue) |
void | setChange (bool pValue) |
void | initialise (void) |
bool Property::change | ( | void | ) | const [inline] |
void Property::initialise | ( | void | ) |
void Property::load | ( | QDataStream & | pData | ) |
ObjectId Property::owner | ( | void | ) | const [inline] |
ObjectId Property::parent | ( | void | ) | const [inline] |
quint16 Property::permissions | ( | void | ) | const |
bool Property::read | ( | void | ) | const [inline] |
void Property::save | ( | QDataStream & | pData | ) | const |
void Property::setChange | ( | bool | pValue | ) | [inline] |
void Property::setOwner | ( | ObjectId | pOwner | ) | [inline] |
void Property::setParent | ( | ObjectId | pParent | ) | [inline] |
void Property::setPermissions | ( | quint16 | pPerms | ) |
void Property::setRead | ( | bool | pValue | ) | [inline] |
void Property::setValue | ( | const QVariant & | pValue | ) | [inline] |
void Property::setWrite | ( | bool | pValue | ) | [inline] |
QVariant::Type Property::type | ( | void | ) | const [inline] |
const QVariant& Property::value | ( | void | ) | const [inline] |
bool Property::write | ( | void | ) | const [inline] |