kexi
- kexi
- plugins
- scripting
- kexidb
20#ifndef KROSS_KEXIDB_KEXIDBFIELD_H
21#define KROSS_KEXIDB_KEXIDBFIELD_H
25#include <api/object.h>
29#include <kexidb/drivermanager.h>
30#include <kexidb/field.h>
32namespace Kross { namespace KexiDB {
37 class KexiDBField : public Kross::Api::Class<KexiDBField>
41 virtual ~KexiDBField();
42 virtual const TQString getClassName() const;
48 const TQString type();
50 void setType( const TQString type);
55 const TQString subType();
57 void setSubType( const TQString& subtype);
60 const TQString variantType();
62 const TQString typeGroup();
67 void setAutoInc( bool autoinc);
72 void setUniqueKey( bool unique);
77 void setPrimaryKey( bool primary);
82 void setForeignKey( bool foreign);
87 void setNotNull( bool notnull);
92 void setNotEmpty( bool notempty);
97 void setIndexed( bool indexed);
102 void setUnsigned( bool isunsigned);
105 const TQString name();
107 void setName( const TQString& name);
110 const TQString caption();
112 void setCaption( const TQString& caption);
115 const TQString description();
117 void setDescription( const TQString& desc);
122 void setLength(uint length);
128 void setPrecision(uint precision);
134 void setWidth(uint width);
137 TQVariant defaultValue();
139 void setDefaultValue( const TQVariant& defaultvalue);
KrossKexiDB provides access to the KexiDB database functionality.
|