kexi
KexiStartupHandler Class Reference
#include <KexiStartup.h>
Inheritance diagram for KexiStartupHandler:

Detailed Description
Handles startup actions for Kexi application.
Definition at line 60 of file KexiStartup.h.
Public Types | |
enum | DetectDriverForFileOptions { DontConvert = 1, ThisIsAProjectFile = 2, ThisIsAShortcutToAProjectFile = 4, ThisIsAShortcutToAConnectionData = 8 } |
Public Member Functions | |
KexiStartupHandler () | |
virtual | ~KexiStartupHandler () |
virtual tristate | init (int argc, char **argv) |
KexiProjectData * | selectProject (KexiDB::ConnectionData *cdata, bool &cancelled, QWidget *parent=0) |
Static Public Member Functions | |
static tristate | detectActionForFile (KexiStartupData::Import &detectedImportAction, QString &detectedDriverName, const QString &_suggestedDriverName, const QString &dbFileName, QWidget *parent=0, int options=0) |
Protected Slots | |
void | slotSaveShortcutFileChanges () |
Protected Member Functions | |
bool | getAutoopenObjects (KCmdLineArgs *args, const QCString &action_name) |
Protected Attributes | |
KexiStartupHandlerPrivate * | d |
Member Enumeration Documentation
|
Options for detectDriverForFile()
Definition at line 83 of file KexiStartup.h. |
Member Function Documentation
|
Used for opening existing file-based projects. Detects actions that should be performed for by looking at the file's mime type.
parent is passed as a parent for potential error message boxes. driverName is a preferred driver name. Definition at line 729 of file KexiStartup.cpp. |
|
Definition at line 264 of file KexiStartup.cpp. |
|
Allows user to select a project with KexiProjectSelectorDialog.
Definition at line 879 of file KexiStartup.cpp. |
The documentation for this class was generated from the following files: