kexi
KexiStartupData Class Reference
#include <kexistartupdata.h>
Inheritance diagram for KexiStartupData:

Detailed Description
Startup data used for storing results of startup operations in Kexi.
- See also:
- KexiStartupHandler
Definition at line 29 of file kexistartupdata.h.
Public Types | |
DoNothing = 0 | |
CreateBlankProject = 1 | |
UseTemplate = 2 | |
OpenProject = 3 | |
ImportProject = 4 | |
Exit = 5 | |
enum | Action { DoNothing = 0, CreateBlankProject = 1, UseTemplate = 2, OpenProject = 3, ImportProject = 4, Exit = 5 } |
Public Member Functions | |
KexiStartupData () | |
virtual | ~KexiStartupData () |
virtual bool | init () |
Action | action () const |
KexiProjectData * | projectData () const |
KexiStartupData::Import | importActionData () const |
bool | forcedDesignMode () const |
bool | forcedFinalMode () const |
Protected Attributes | |
KexiProjectData * | m_projectData |
Action | m_action |
KexiStartupData::Import | m_importActionData |
bool | m_forcedFinalMode: 1 |
bool | m_forcedDesignMode: 1 |
bool | m_createDB: 1 |
bool | m_dropDB: 1 |
bool | m_alsoOpenDB: 1 |
Classes | |
class | Import |
Member Function Documentation
bool KexiStartupData::forcedDesignMode | ( | ) | const |
- Returns:
- true is the Design Mode is forced for this project. Used on startup (by --design-mode comman line switch).
Definition at line 59 of file kexistartupdata.cpp.
bool KexiStartupData::forcedFinalMode | ( | ) | const |
- Returns:
- true is the Final Mode is forced for this project. Used on startup (by --final-mode comman line switch). By default this is false.
Definition at line 54 of file kexistartupdata.cpp.
KexiStartupData::Import KexiStartupData::importActionData | ( | ) | const |
- Returns:
- import action's data needed to perform import (for action()==ImportProject)
Definition at line 64 of file kexistartupdata.cpp.
KexiProjectData * KexiStartupData::projectData | ( | ) | const |
- Returns:
- project data of a project that should be opened (for action()==OpenProject)
Definition at line 44 of file kexistartupdata.cpp.
The documentation for this class was generated from the following files: