Kexi API Documentation (2.0 alpha)

kexi_global.cpp File Reference

#include "kexi_version.h"

Go to the source code of this file.

Functions

KEXICORE_EXPORT unsigned int version ()
 Returns the encoded number of Kexi's version, see the KEXI_VERSION macro.
KEXICORE_EXPORT unsigned int versionMajor ()
 Returns the major number of Kexi's version, e.g.
KEXICORE_EXPORT unsigned int versionMinor ()
 Returns the minor number of Kexi's version, e.g.
KEXICORE_EXPORT unsigned int versionRelease ()
 Returns the release of Kexi's version, e.g.
KEXICORE_EXPORT const char * versionString ()
 Returns the Kexi version as string, e.g.


Function Documentation

KEXICORE_EXPORT unsigned int 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().

KEXICORE_EXPORT unsigned int versionMajor  ) 
 

Returns the major number of Kexi's version, e.g.

1 for Kexi 1.2.3.

Returns:
the major version number

Definition at line 31 of file kexi_global.cpp.

References KEXI_VERSION_MAJOR.

Referenced by KexiMigration::KexiMigrate::isValid(), KexiMigration::MigrateManagerInternal::lookupDrivers(), and KexiDB::Connection::useDatabase().

KEXICORE_EXPORT unsigned int versionMinor  ) 
 

Returns the minor number of Kexi's version, e.g.

2 for Kexi 1.2.3.

Returns:
the minor version number

Definition at line 36 of file kexi_global.cpp.

References KEXI_VERSION_MINOR.

Referenced by KexiMigration::KexiMigrate::isValid(), KexiMigration::MigrateManagerInternal::lookupDrivers(), and KexiDB::Connection::useDatabase().

KEXICORE_EXPORT unsigned int versionRelease  ) 
 

Returns the release of Kexi's version, e.g.

3 for Kexi 1.2.3.

Returns:
the release number

Definition at line 41 of file kexi_global.cpp.

References KEXI_VERSION_RELEASE.

KEXICORE_EXPORT const char* versionString  ) 
 

Returns the Kexi version as string, e.g.

"1.2.3" Sometimes it may be even something like "1.2.3 beta 2"

Returns:
the Kexi version. You can keep the string forever

Definition at line 46 of file kexi_global.cpp.

References KEXI_VERSION_STRING.

Referenced by KexiDB::MySqlConnection::drv_connect().

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