QDjango
 All Classes Functions Typedefs Enumerations Enumerator Properties Groups Pages
Public Member Functions | Friends | List of all members
QDjangoMetaField Class Reference

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.
QDjangoMetaFieldoperator= (const QDjangoMetaField &other)
 Assigns other to this meta field.
QString column () const
 Returns the database column for this meta field.
bool isNullable () const
 Returns true if this field is nullable.
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

Detailed Description

The QDjangoMetaField class holds the database schema for a field.


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