kexi.h File Reference
#include <qguardedptr.h>
#include <qfont.h>
#include <kexi_version.h>
#include "kexiprojectdata.h"
#include "kexipartmanager.h"
#include "kexidbconnectionset.h"
#include "kexiprojectset.h"
#include <kexidb/drivermanager.h>
#include <kexidb/driver.h>
#include <klocale.h>
#include <kmessagebox.h>
Go to the source code of this file.
Namespaces | |
| namespace | Kexi |
Defines | |
| #define | KEXI_UNFINISHED_SHARED_ACTION(action_name) KEXI_UNFINISHED(sharedAction(action_name) ? sharedAction(action_name)->text() : QString::null) |
| Like above - for use inside KexiActionProxy subclass - reuses feature name from shared action's text. | |
Enumerations | |
| enum | ViewMode { AllViewModes = 0, NoViewMode = 0, DataViewMode = 1, DesignViewMode = 2, TextViewMode = 4 } |
Functions | |
| KEXICORE_EXPORT void | initCmdLineArgs (int argc, char *argv[], KAboutData *aboutData=0) |
| KEXICORE_EXPORT QString | nameForViewMode (int m) |
| i18n'ed name of view mode m | |
| KEXICORE_EXPORT KexiDBConnectionSet & | connset () |
| A set of known connections. | |
| KEXICORE_EXPORT KexiProjectSet & | recentProjects () |
| A set avaiulable of project infos. | |
| KEXICORE_EXPORT KexiDB::DriverManager & | driverManager () |
| shared driver manager | |
| KEXICORE_EXPORT KexiPart::Manager & | partManager () |
| shared part manager | |
| KEXICORE_EXPORT void | 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 | |
| KEXICORE_EXPORT bool & | tempShowForms () |
| false by default, flag loaded on main window startup | |
| KEXICORE_EXPORT bool & | tempShowReports () |
| false by default, flag loaded on main window startup | |
| KEXICORE_EXPORT bool & | tempShowMacros () |
| false by default, flag loaded on main window startup | |
| KEXICORE_EXPORT bool & | tempShowScripts () |
| false by default, flag loaded on main window startup | |
| KEXICORE_EXPORT QFont | smallFont (QWidget *init=0) |
| KEXICORE_EXPORT QString | msgYouCanImproveData () |
| KEXICORE_EXPORT void | KEXI_UNFINISHED (const QString &feature_name, const QString &extra_text=QString::null) |
| Displays information that feature "feature_name" is not availabe in the current application version. | |
Define Documentation
|
|
Like above - for use inside KexiActionProxy subclass - reuses feature name from shared action's text.
|
Enumeration Type Documentation
|
|
Modes of view for the dialogs. Used mostly for parts and KexiDialogBase.
|
Function Documentation
|
|
|
can be called to delete global objects like driverManager and partManager (and thus, all loaded factories/plugins) before KLibrary::~KLibrary() do this for us
|
|
|
||||||||||||||||
|
Referenced by KexiMainWindowImpl::create(). |
|
||||||||||||
|
Displays information that feature "feature_name" is not availabe in the current application version.
Definition at line 328 of file kexi.cpp. References KEXI_APP_NAME, and KEXI_VERSION_STRING. Referenced by KexiMainWindowImpl::slotImportFile(), KexiMainWindowImpl::slotImportServer(), KexiMainWindowImpl::slotProjectOpenRecentMore(), KexiMainWindowImpl::slotProjectSaveAs(), and KexiMainWindowImpl::slotShowSettings(). |
|
|
Referenced by KexiDataAwareObjectInterface::acceptEditor(), and KexiTableViewData::saveRow(). |
|
|
i18n'ed name of view mode m
Referenced by KexiPart::Part::createGUIClients(), KexiMainWindowImpl::openObject(), KexiMainWindowImpl::switchToViewMode(), and KexiDialogBase::switchToViewMode(). |
|
|
|
A set avaiulable of project infos.
Referenced by KexiMainWindowImpl::createBlankProject(), KexiStartupHandler::init(), KexiMainWindowImpl::openProject(), KexiMainWindowImpl::slotProjectOpen(), and KexiMainWindowImpl::slotToolsCompactDatabase(). |
|
|
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. Referenced by KexiRelationViewConnection::drawConnection(), KexiSmallToolButton::init(), KexiMainWindowImpl::initPropertyEditor(), and KexiMainWindowImpl::KexiMainWindowImpl(). |
|
|
false by default, flag loaded on main window startup
Referenced by KexiPart::Manager::lookup(), and KexiMainWindowImpl::slotOptionsEnableForms(). |
|
|
false by default, flag loaded on main window startup
Referenced by KexiMainWindowImpl::initActions(), and KexiPart::Manager::lookup(). |
|
|
false by default, flag loaded on main window startup
Referenced by KexiMainWindowImpl::initActions(), and KexiPart::Manager::lookup(). |
|
|
false by default, flag loaded on main window startup
Referenced by KexiMainWindowImpl::initActions(), and KexiPart::Manager::lookup(). |
