kexi

Kexi Namespace Reference


Detailed Description

Namespace for general Kexi functions.


Classes

class  ObjectStatus
class  ActionCategories
 A set of functions used to declare action categories. More...

Enumerations

enum  ViewMode {
  AllViewModes = 0, NoViewMode = 0, DataViewMode = 1, DesignViewMode = 2,
  TextViewMode = 4
}
enum  ActionCategory { NoActionCategory = 0, GlobalActionCategory = 1, PartItemActionCategory = 2, WindowActionCategory = 4 }

Functions

KexiDBConnectionSetconnset ()
KexiProjectSetrecentProjects ()
KexiDB::DriverManagerdriverManager ()
KexiPart::ManagerpartManager ()
void deleteGlobalObjects ()
bool & tempShowForms ()
bool & tempShowReports ()
bool & tempShowMacros ()
bool & tempShowScripts ()
QFont smallFont (QWidget *init)
QString nameForViewMode (int m)
QString msgYouCanImproveData ()
void initCmdLineArgs (int argc, char *argv[], KAboutData *aboutData)
KAboutData * createAboutData ()
KEXICORE_EXPORT ActionCategoriesactionCategories ()
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
< ActionCategories
Kexi_actionCategoriesDeleter
ActionCategoriesKexi_actionCategories = 0
static KStaticDeleter
< KexiStartupHandler
Kexi_startupHandlerDeleter
KexiStartupHandler_startupHandler = 0

Enumeration Type Documentation

Enumerator:
NoActionCategory  no category at all
GlobalActionCategory  global application action like editcopy; can be applied to focused widget (of many types)
PartItemActionCategory  action related to part item, e.g.

data_execute; requires context, used only in the navigator

WindowActionCategory  action related to active window, which can display table, query, form, report.

..

Definition at line 28 of file kexiactioncategories.h.

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 ActionCategories * Kexi::actionCategories (  ) 

Returns:
ActionCategories singleton object

Definition at line 63 of file kexiactioncategories.cpp.

KEXICORE_EXPORT KexiDBConnectionSet & Kexi::connset (  ) 

A set of known connections.

Definition at line 74 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 KexiDB::DriverManager & Kexi::driverManager (  ) 

shared driver manager

Definition at line 91 of file kexi.cpp.

KEXICORE_EXPORT QString Kexi::nameForViewMode ( int  m  ) 

i18n'ed name of view mode m

Definition at line 157 of file kexi.cpp.

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

shared part manager

Definition at line 97 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 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 143 of file kexi.cpp.

KEXIMAIN_EXPORT KexiStartupHandler & Kexi::startupHandler (  ) 

Returns:
singleton Startup Handler singleton.

Definition at line 63 of file KexiStartup.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::tempShowMacros (  ) 

false by default, flag loaded on main window startup

Definition at line 126 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 134 of file kexi.cpp.

KEXICORE_EXPORT unsigned int Kexi::version (  ) 

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

In contrary to that macro this function returns the number of the actually installed Kexi version, not the number of the Kexi version that was installed when the program was compiled.

Returns:
the version number, encoded in a single uint

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

KexiDB version info

Definition at line 26 of file kexi_global.cpp.

KEXICORE_EXPORT unsigned int Kexi::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.

KEXICORE_EXPORT unsigned int Kexi::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.

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 41 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 46 of file kexi_global.cpp.

KDE Home | KDE Accessibility Home | Description of Access Keys