kexi

Kexi Namespace Reference


Detailed Description

Namespace for general Kexi functions.


Classes

class  ObjectStatus

Enumerations

enum  ViewMode {
  AllViewModes = 0, NoViewMode = 0, DataViewMode = 1, DesignViewMode = 2,
  TextViewMode = 4
}

Functions

KexiDBConnectionSetconnset ()
KexiProjectSetrecentProjects ()
KexiDB::DriverManagerdriverManager ()
KexiPart::ManagerpartManager ()
void deleteGlobalObjects ()
bool & tempShowForms ()
bool & tempShowReports ()
bool & tempShowScripts ()
QFont smallFont (QWidget *init)
QString nameForViewMode (int m)
QString msgYouCanImproveData ()
void initCmdLineArgs (int argc, char *argv[], KAboutData *aboutData)
KEXICORE_EXPORT unsigned int version ()
KEXICORE_EXPORT unsigned int versionMajor ()
KEXICORE_EXPORT unsigned int versionMinor ()
KEXICORE_EXPORT unsigned int versionRelease ()
KEXICORE_EXPORT const char * versionString ()
KexiStartupHandlerstartupHandler ()

Variables

static KStaticDeleter< KexiStartupHandlerKexi_startupHandlerDeleter
KexiStartupHandler_startupHandler = 0

Enumeration Type Documentation

Modes of view for the dialogs. Used mostly for parts and KexiDialogBase.

Enumerator:
AllViewModes  Usable primarily in KexiPart::initInstanceActions().
NoViewMode  In KexiViewBase::afterSwitchFrom() and KexiViewBase::beforeSwitchTo() means that parent dialog of the view has not yet view defined.
TextViewMode  Also known as SQL View Mode.

Definition at line 42 of file kexi.h.


Function Documentation

KEXICORE_EXPORT KexiDBConnectionSet & Kexi::connset (  ) 

A set of known connections.

Definition at line 74 of file kexi.cpp.

KEXICORE_EXPORT KexiProjectSet & Kexi::recentProjects (  ) 

A set avaiulable of project infos.

Definition at line 86 of file kexi.cpp.

KEXICORE_EXPORT KexiDB::DriverManager & Kexi::driverManager (  ) 

shared driver manager

Definition at line 91 of file kexi.cpp.

KEXICORE_EXPORT KexiPart::Manager & Kexi::partManager (  ) 

shared part manager

Definition at line 97 of file kexi.cpp.

KEXICORE_EXPORT void Kexi::deleteGlobalObjects (  ) 

can be called to delete global objects like driverManager and partManager (and thus, all loaded factories/plugins) before KLibrary::~KLibrary() do this for us

Definition at line 103 of file kexi.cpp.

KEXICORE_EXPORT bool & Kexi::tempShowForms (  ) 

false by default, flag loaded on main window startup

Definition at line 110 of file kexi.cpp.

KEXICORE_EXPORT bool & Kexi::tempShowReports (  ) 

false by default, flag loaded on main window startup

Definition at line 118 of file kexi.cpp.

KEXICORE_EXPORT bool & Kexi::tempShowScripts (  ) 

false by default, flag loaded on main window startup

Definition at line 126 of file kexi.cpp.

KEXICORE_EXPORT QFont Kexi::smallFont ( QWidget *  init = 0  ) 

A global setting for minimal readable font. Note: this is defined because KDE has no such setting yet. init is a widget that should be passed if no qApp->mainWidget() is available yet.

Definition at line 135 of file kexi.cpp.

KEXICORE_EXPORT QString Kexi::nameForViewMode ( int  m  ) 

i18n'ed name of view mode m

Definition at line 149 of file kexi.cpp.

KEXICORE_EXPORT unsigned int Kexi::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 27 of file kexi_global.cpp.

KEXICORE_EXPORT unsigned int Kexi::versionMajor (  ) 

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

Returns:
KexiDB version info (most significant part)

Definition at line 32 of file kexi_global.cpp.

KEXICORE_EXPORT unsigned int Kexi::versionMinor (  ) 

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

Returns:
KexiDB version info (least significant part)

Definition at line 37 of file kexi_global.cpp.

KEXICORE_EXPORT unsigned int Kexi::versionRelease (  ) 

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

3 for Kexi 1.2.3.

Returns:
the release number

Definition at line 42 of file kexi_global.cpp.

KEXICORE_EXPORT const char* Kexi::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 47 of file kexi_global.cpp.

KEXIMAIN_EXPORT KexiStartupHandler & Kexi::startupHandler (  ) 

Returns:
singleton Startup Handler singleton.

Definition at line 66 of file KexiStartup.cpp.

KDE Home | KDE Accessibility Home | Description of Access Keys