Kexi API Documentation (2.0 alpha)

global.h File Reference

#include <kexidb/kexidb_export.h>
#include <qstring.h>

Go to the source code of this file.

Namespaces

namespace  KexiDB

Defines

#define KEXIDB_VERSION_MAJOR   1
#define KEXIDB_VERSION_MINOR   8
#define KEXIDB_VERSION   KexiDB::DatabaseVersionInfo(KEXIDB_VERSION_MAJOR, KEXIDB_VERSION_MINOR)
#define KexiDBDbg   kdDebug(44000)
#define KexiDBDrvDbg   kdDebug(44001)
#define KexiDBWarn   kdWarning(44000)
#define KexiDBDrvWarn   kdWarning(44001)
#define KexiDBFatal   kdFatal(44000)
#define futureI18n   QString
#define futureI18n2(a, b)   QString(b)
#define FUTURE_I18N_NOOP(x)   (x)

Enumerations

enum  ObjectTypes {
  UnknownObjectType = -1, AnyObjectType = 0, TableObjectType = 1, QueryObjectType = 2,
  LastObjectType = 2, KexiDBSystemTableObjectType = 128, IndexObjectType = 256
}

Functions

DatabaseVersionInfo version ()
 Returns the encoded number of Kexi's version, see the KEXI_VERSION macro.


Define Documentation

#define FUTURE_I18N_NOOP  )     (x)
 

Definition at line 168 of file global.h.

#define futureI18n   QString
 

Definition at line 163 of file global.h.

#define futureI18n2 a,
 )     QString(b)
 

Definition at line 164 of file global.h.

#define KEXIDB_VERSION   KexiDB::DatabaseVersionInfo(KEXIDB_VERSION_MAJOR, KEXIDB_VERSION_MINOR)
 

KexiDB implementation version.

See also:
KEXIDB_VERSION_MAJOR, KEXIDB_VERSION_MINOR

Definition at line 39 of file global.h.

Referenced by KexiDB::version().

#define KEXIDB_VERSION_MAJOR   1
 

KexiDB implementation version. It is altered after every API change:

  • major number is increased after KexiDB storage format change,
  • minor is increased after adding binary-incompatible change. In external code: do not use this to get library version information: use KexiDB::versionMajor() and KexiDB::versionMinor() instead to get real version.

Definition at line 35 of file global.h.

#define KEXIDB_VERSION_MINOR   8
 

Definition at line 36 of file global.h.

#define KexiDBDbg   kdDebug(44000)
 

Definition at line 100 of file global.h.

#define KexiDBDrvDbg   kdDebug(44001)
 

Definition at line 101 of file global.h.

#define KexiDBDrvWarn   kdWarning(44001)
 

Definition at line 103 of file global.h.

Referenced by KexiDB::pqxxSqlConnection::drv_getTablesList(), KexiDB::pqxxSqlCursor::drv_open(), KexiDB::pgsqlByteaToByteArray(), KexiDB::pqxxSqlCursor::rowData(), and SQLiteVacuum::run().

#define KexiDBFatal   kdFatal(44000)
 

Definition at line 104 of file global.h.

Referenced by addFieldPropertyToExtendedTableSchemaData(), KexiDB::FieldList::insertField(), and KexiDB::FieldList::renameField().

#define KexiDBWarn   kdWarning(44000)
 

Definition at line 102 of file global.h.

Referenced by KexiDB::QuerySchema::addTable(), KexiDB::OrderByColumnList::appendField(), KexiDB::RowEditBuffer::at(), KexiDB::QuerySchema::autoIncrementFields(), KexiDB::TableOrQuerySchema::columns(), KexiDB::Relationship::createIndices(), KexiDB::Connection::deleteAllRows(), KexiDB::Connection::deleteCursor(), KexiDB::Connection::deleteRow(), KexiDB::SQLiteConnection::drv_getTablesList(), KexiDB::SQLitePreparedStatement::execute(), KexiDB::MySqlPreparedStatement::execute(), KexiDB::PreparedStatement::generateStatementString(), KexiDB::IndexSchema::IndexSchema(), KexiDB::QuerySchema::insertField(), KexiDB::Connection::insertRow(), KexiDB::emptyValueForType(), KexiDB::escapeBLOB(), KexiDB::intToFieldType(), KexiDB::loadPropertyValueFromDom(), KexiDB::notEmptyValueForType(), KexiDB::rowCount(), KexiDB::setFieldProperty(), KexiDB::stringToVariant(), KexiDB::Connection::loadExtendedTableSchemaData(), KexiMigration::MigrateManagerInternal::lookupDrivers(), KexiDB::DriverManagerInternal::lookupDrivers(), KexiDB::QuerySchema::QuerySchema(), QuerySchemaParameterValueListIterator::getPreviousValue(), QuerySchemaParameterValueListIterator::getPreviousValueAsString(), KexiDB::Connection::querySingleRecordInternal(), KexiDB::Connection::querySingleString(), KexiDB::Connection::queryStringList(), KexiDB::Connection::resultExists(), KexiDB::QuerySchema::setColumnAlias(), KexiDB::Relationship::setIndices(), setIntToFieldType(), KexiDB::TableSchema::setLookupFieldSchema(), KexiDB::TableSchema::setNative(), KexiDB::QuerySchema::setTableAlias(), KexiDB::Field::setType(), KexiDB::Connection::setupField(), KexiDB::AlterTableHandler::InsertFieldAction::simplifyActions(), KexiDB::QuerySchema::tableBoundToColumn(), KexiDB::TableOrQuerySchema::TableOrQuerySchema(), KexiDB::Connection::updateRow(), and updateRowDataWithNewValues().


Enumeration Type Documentation

enum KexiDB::ObjectTypes
 

Object types set like table or query.

Enumeration values:
UnknownObjectType  helper
AnyObjectType  helper
TableObjectType 
QueryObjectType 
LastObjectType 
KexiDBSystemTableObjectType  helper, not used in storage (allows to select kexidb system tables may be or'd with TableObjectType)
IndexObjectType  special

Definition at line 147 of file global.h.


Function Documentation

DatabaseVersionInfo KexiDB::version  ) 
 

Returns the encoded number of Kexi's version, see the KEXI_VERSION macro.

Returns:
KFormDesigner API version number for this library. This information is stored

Definition at line 26 of file kexi_global.cpp.

References KEXI_VERSION.

Referenced by KexiDB::Connection::createDatabase(), KexiDB::DriverPrivate::initInternalProperties(), and KexiDB::DriverManagerInternal::lookupDrivers().

KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:49:02 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003