kexi

KexiStartupData Class Reference

#include <kexistartupdata.h>

Inheritance diagram for KexiStartupData:

KexiStartupHandler List of all members.

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

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
KexiProjectDataprojectData () const
KexiStartupData::Import importActionData () const
bool forcedDesignMode () const
bool forcedUserMode () const
bool isProjectNavigatorVisible () const

Protected Attributes

KexiProjectDatam_projectData
Action m_action
KexiStartupData::Import m_importActionData
bool m_forcedUserMode: 1
bool m_forcedDesignMode: 1
bool m_isProjectNavigatorVisible: 1
bool m_createDB: 1
bool m_dropDB: 1
bool m_alsoOpenDB: 1

Classes

class  Import

Member Function Documentation

KexiProjectData * KexiStartupData::projectData (  )  const

Returns:
project data of a project that should be opened (for action()==OpenProject)

Definition at line 45 of file kexistartupdata.cpp.

KexiStartupData::Import KexiStartupData::importActionData (  )  const

Returns:
import action's data needed to perform import (for action()==ImportProject)

Definition at line 72 of file kexistartupdata.cpp.

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 60 of file kexistartupdata.cpp.

bool KexiStartupData::forcedUserMode (  )  const

Returns:
true is the User Mode is forced for this project. Used on startup (by --user-mode comman line switch). By default this is false.

Definition at line 55 of file kexistartupdata.cpp.

bool KexiStartupData::isProjectNavigatorVisible (  )  const

Returns:
true if the Project Navigator should be visible even if User Mode is on.

Definition at line 65 of file kexistartupdata.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys