kexi
KexiDB::SchemaData Class Reference
#include <schemadata.h>
Inheritance diagram for KexiDB::SchemaData:

Detailed Description
Container class that stores common kexi object schema's properties like id, name, caption, help text. By kexi object we mean in-db storable object like table schema or query schema.
Definition at line 36 of file schemadata.h.
Public Member Functions | |
SchemaData (int obj_type=KexiDB::UnknownObjectType) | |
virtual | ~SchemaData () |
int | type () const |
int | id () const |
QString | name () const |
QString | objectName () const |
void | setName (const QString &n) |
QString | caption () const |
void | setCaption (const QString &c) |
QString | description () const |
void | setDescription (const QString &desc) |
virtual QString | schemaDataDebugString () const |
virtual bool | isNative () const |
virtual void | setNative (bool set) |
Protected Member Functions | |
void | clear () |
Protected Attributes | |
int | m_type |
int | m_id |
QString | m_name |
QString | m_caption |
QString | m_desc |
bool | m_native: 1 |
Friends | |
class | Connection |
Member Function Documentation
|
Clears all properties except 'type'.
Reimplemented in KexiDB::QuerySchema, and KexiDB::TableSchema. Definition at line 38 of file schemadata.cpp. |
|
Native objects schemas are used mostly for representing kexi system (kexi__*) tables in memory for later reference; see Connection::tableNames(). By default (on allocation) SchemaData objects are not native. Reimplemented in KexiDB::TableSchema. Definition at line 71 of file schemadata.h. |
|
The same as name(). Added to avoid conflict with QObject::name() Definition at line 46 of file schemadata.h. |
|
Definition at line 46 of file schemadata.cpp. |
The documentation for this class was generated from the following files: