The QDjangoMetaField class holds the database schema for a field. More...
#include <QDjangoMetaModel.h>
Public Member Functions | |
| QDjangoMetaField () | |
| Constructs a new QDjangoMetaField. | |
| QDjangoMetaField (const QDjangoMetaField &other) | |
| Constructs a copy of other. | |
| ~QDjangoMetaField () | |
| Destroys the meta field. | |
| QDjangoMetaField & | operator= (const QDjangoMetaField &other) |
| Assigns other to this meta field. | |
| QString | column () const |
| Returns the database column for this meta field. | |
| bool | isValid () const |
| Returns true if this is a valid field. | |
| QString | name () const |
| Returns name of this meta field. | |
| QVariant | toDatabase (const QVariant &value) const |
| Transforms the given field value for database storage. | |
Friends | |
| class | QDjangoMetaModel |
The QDjangoMetaField class holds the database schema for a field.
1.8.1.2