#include <tmodelobject.h>
The TModelObject class provides an abstract base for model objects.
◆ TModelObject()
TModelObject::TModelObject |
( |
| ) |
|
|
inline |
◆ ~TModelObject()
virtual TModelObject::~TModelObject |
( |
| ) |
|
|
inlinevirtual |
◆ clear()
void TModelObject::clear |
( |
| ) |
|
|
virtual |
Clears the contents of the object.
Reimplemented in TSqlObject.
◆ create()
virtual bool TModelObject::create |
( |
| ) |
|
|
pure virtual |
◆ isNull()
virtual bool TModelObject::isNull |
( |
| ) |
const |
|
pure virtual |
◆ propertyNames()
QStringList TModelObject::propertyNames |
( |
| ) |
const |
|
virtual |
Returns a list of the property names.
◆ remove()
virtual bool TModelObject::remove |
( |
| ) |
|
|
pure virtual |
◆ save()
virtual bool TModelObject::save |
( |
| ) |
|
|
pure virtual |
◆ setProperties()
void TModelObject::setProperties |
( |
const QVariantMap & |
value | ) |
|
|
virtual |
Set the values to the properties of the object.
◆ toVariantMap()
QVariantMap TModelObject::toVariantMap |
( |
| ) |
const |
|
virtual |
Returns a map object of the properties.
◆ update()
virtual bool TModelObject::update |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: