kexi

Kexi Namespace Reference

Classes

class  ObjectStatus
class  ActionCategories

Enumerations

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

Functions

KEXICORE_EXPORT void initCmdLineArgs (int argc, char *argv[], TDEAboutData *aboutData=0)
KEXICORE_EXPORT TQString nameForViewMode (int m)
KEXICORE_EXPORT KexiDBConnectionSet & connset ()
KEXICORE_EXPORT KexiProjectSet & recentProjects ()
KEXICORE_EXPORT KexiDB::DriverManager & driverManager ()
KEXICORE_EXPORT KexiPart::Manager & partManager ()
KEXICORE_EXPORT void deleteGlobalObjects ()
KEXICORE_EXPORT bool & tempShowForms ()
KEXICORE_EXPORT bool & tempShowReports ()
KEXICORE_EXPORT bool & tempShowMacros ()
KEXICORE_EXPORT bool & tempShowScripts ()
KEXICORE_EXPORT TQFont smallFont (TQWidget *init=0)
KEXICORE_EXPORT TQString msgYouCanImproveData ()
KEXICORE_EXPORT TDEAboutData * createAboutData ()
KEXICORE_EXPORT ActionCategories * actionCategories ()
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 ()
KexiStartupHandler & startupHandler ()

Variables

static KStaticDeleter< ActionCategories > Kexi_actionCategoriesDeleter
ActionCategories * Kexi_actionCategories = 0
static KStaticDeleter< KexiStartupHandler > Kexi_startupHandlerDeleter
KexiStartupHandler * _startupHandler = 0

Detailed Description

Namespace for general Kexi functions.

Enumeration Type Documentation

◆ ActionCategory

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.

◆ ViewMode

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

◆ actionCategories()

KEXICORE_EXPORT ActionCategories * Kexi::actionCategories ( )
Returns
ActionCategories singleton object

Definition at line 63 of file kexiactioncategories.cpp.

◆ connset()

KexiDBConnectionSet & Kexi::connset ( )

A set of known connections.

Definition at line 74 of file kexi.cpp.

◆ createAboutData()

TDEAboutData * Kexi::createAboutData ( )

Definition at line 40 of file kexiaboutdata.cpp.

◆ deleteGlobalObjects()

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.

◆ driverManager()

KexiDB::DriverManager & Kexi::driverManager ( )

shared driver manager

Definition at line 91 of file kexi.cpp.

◆ initCmdLineArgs()

void Kexi::initCmdLineArgs ( int argc,
char * argv[],
TDEAboutData * aboutData = 0 )

Definition at line 316 of file kexi.cpp.

◆ msgYouCanImproveData()

TQString Kexi::msgYouCanImproveData ( )

Definition at line 169 of file kexi.cpp.

◆ nameForViewMode()

TQString Kexi::nameForViewMode ( int m)

i18n'ed name of view mode m

Definition at line 157 of file kexi.cpp.

◆ partManager()

KexiPart::Manager & Kexi::partManager ( )

shared part manager

Definition at line 97 of file kexi.cpp.

◆ recentProjects()

KexiProjectSet & Kexi::recentProjects ( )

A set avaiulable of project infos.

Definition at line 86 of file kexi.cpp.

◆ smallFont()

TQFont Kexi::smallFont ( TQWidget * 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 tqApp->mainWidget() is available yet.

Definition at line 143 of file kexi.cpp.

◆ startupHandler()

KEXIMAIN_EXPORT KexiStartupHandler & Kexi::startupHandler ( )
Returns
singleton Startup Handler singleton.

Definition at line 62 of file KexiStartup.cpp.

◆ tempShowForms()

bool & Kexi::tempShowForms ( )

false by default, flag loaded on main window startup

Definition at line 110 of file kexi.cpp.

◆ tempShowMacros()

bool & Kexi::tempShowMacros ( )

false by default, flag loaded on main window startup

Definition at line 126 of file kexi.cpp.

◆ tempShowReports()

bool & Kexi::tempShowReports ( )

false by default, flag loaded on main window startup

Definition at line 118 of file kexi.cpp.

◆ tempShowScripts()

bool & Kexi::tempShowScripts ( )

false by default, flag loaded on main window startup

Definition at line 134 of file kexi.cpp.

◆ version()

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

◆ versionMajor()

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

◆ versionMinor()

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

◆ versionRelease()

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

◆ versionString()

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

Variable Documentation

◆ _startupHandler

KexiStartupHandler* Kexi::_startupHandler = 0

Definition at line 60 of file KexiStartup.cpp.

◆ Kexi_actionCategories

ActionCategories* Kexi::Kexi_actionCategories = 0

Definition at line 49 of file kexiactioncategories.cpp.

◆ Kexi_actionCategoriesDeleter

KStaticDeleter<ActionCategories> Kexi::Kexi_actionCategoriesDeleter
static

Definition at line 48 of file kexiactioncategories.cpp.

◆ Kexi_startupHandlerDeleter

KStaticDeleter<KexiStartupHandler> Kexi::Kexi_startupHandlerDeleter
static

Definition at line 59 of file KexiStartup.cpp.