KexiProjectData Class Reference
#include <kexiprojectdata.h>
Inheritance diagram for KexiProjectData:

Detailed Description
Kexi project core data member.Contains:
- project name
- database name
- connection data
- date and time of last opening
Definition at line 39 of file kexiprojectdata.h.
Public Types | |
| typedef QPtrList< KexiProjectData > | List |
| typedef QMap< QCString, QString > | ObjectInfo |
Public Member Functions | |
| KexiProjectData () | |
| KexiProjectData (const KexiDB::ConnectionData &cdata, const QString &dbname=QString::null, const QString &caption=QString::null) | |
| KexiProjectData (const KexiProjectData &pdata) | |
| ~KexiProjectData () | |
| KexiProjectData & | operator= (const KexiProjectData &pdata) |
| bool | userMode () const |
| KexiDB::ConnectionData * | connectionData () |
| const KexiDB::ConnectionData * | constConnectionData () const |
| QString | databaseName () const |
| void | setDatabaseName (const QString &dbName) |
| QString | infoString (bool nobr=true) const |
| QDateTime | lastOpened () const |
| void | setLastOpened (const QDateTime &lastOpened) |
| QString | description () const |
| void | setDescription (const QString &desc) |
| void | setReadOnly (bool set) |
| bool | isReadOnly () const |
Public Attributes | |
| QValueList< ObjectInfo > | autoopenObjects |
| uint | formatVersion |
Member Typedef Documentation
|
|
Definition at line 42 of file kexiprojectdata.h. |
|
|
Definition at line 43 of file kexiprojectdata.h. |
Constructor & Destructor Documentation
|
|
Definition at line 58 of file kexiprojectdata.cpp. |
|
||||||||||||||||
|
Definition at line 66 of file kexiprojectdata.cpp. References KexiDB::SchemaData::setCaption(), and setDatabaseName(). |
|
|
Constructs a copy of pdata Definition at line 78 of file kexiprojectdata.cpp. References autoopenObjects. |
|
|
Definition at line 90 of file kexiprojectdata.cpp. |
Member Function Documentation
|
|
|
Definition at line 114 of file kexiprojectdata.cpp. Referenced by infoString(), KexiMainWindowImpl::openProject(), KexiDBShortcutFile::saveProjectData(), KexiDBConnectionTabWidget::setData(), and KexiProjectSelectorWidget::setProjectSet(). |
|
|
Definition at line 119 of file kexiprojectdata.cpp. References KexiDB::SchemaData::name(). Referenced by KexiMigration::KexiMigrate::checkIfDestinationDatabaseOverwritingNeedsAccepting(), infoString(), KexiMigration::KexiMigrate::isSourceAndDestinationDataSourceTheSame(), KexiMainWindowImpl::openProject(), KexiMigration::KexiMigrate::performImport(), KexiDBShortcutFile::saveProjectData(), KexiDBConnectionWidget::setDataInternal(), KexiMainWindowImpl::slotProjectNew(), and KexiMainWindowImpl::slotToolsCompactDatabase(). |
|
|
Reimplemented from KexiDB::SchemaData. Definition at line 144 of file kexiprojectdata.cpp. References KexiDB::SchemaData::description(). Referenced by KexiDBShortcutFile::saveProjectData(), and KexiDBConnectionTabWidget::setData(). |
|
|
Definition at line 154 of file kexiprojectdata.cpp. References constConnectionData(), and databaseName(). Referenced by KexiMainWindowImpl::openProject(). |
|
|
Definition at line 172 of file kexiprojectdata.cpp. |
|
|
Definition at line 134 of file kexiprojectdata.cpp. |
|
|
Definition at line 95 of file kexiprojectdata.cpp. References d. |
|
|
Definition at line 124 of file kexiprojectdata.cpp. References KexiDB::SchemaData::setName(). Referenced by KexiDBConnectionTabWidget::currentProjectData(), KexiProjectData(), and KexiDBShortcutFile::loadProjectData(). |
|
|
Reimplemented from KexiDB::SchemaData. Definition at line 149 of file kexiprojectdata.cpp. References KexiDB::SchemaData::setDescription(). Referenced by KexiDBConnectionTabWidget::currentProjectData(), and KexiDBShortcutFile::loadProjectData(). |
|
|
Definition at line 139 of file kexiprojectdata.cpp. |
|
|
If set is true, sets readonly flag for this data, so any connection opened for the project will be readonly. Change this flag before using this data in KexiProject instance, otherwise you will need to reopen the project. Definition at line 167 of file kexiprojectdata.cpp. Referenced by KexiStartupHandler::init(). |
|
|
Definition at line 129 of file kexiprojectdata.cpp. Referenced by KexiMainWindowImpl::KexiMainWindowImpl(). |
Member Data Documentation
|
|
objects to open on startup (come from command line "-open" option) It's public for convenience Definition at line 95 of file kexiprojectdata.h. Referenced by KexiProjectData(). |
|
|
Definition at line 102 of file kexiprojectdata.h. Referenced by KexiDBShortcutFile::loadProjectData(), and KexiDBShortcutFile::saveProjectData(). |
The documentation for this class was generated from the following files:
