kexi
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 | finalMode () 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) |
Public Attributes | |
| QValueList< ObjectInfo > | autoopenObjects |
| uint | formatVersion |
Constructor & Destructor Documentation
| KexiProjectData::KexiProjectData | ( | const KexiProjectData & | pdata | ) |
Constructs a copy of pdata
Definition at line 76 of file kexiprojectdata.cpp.
Member Function Documentation
| QString KexiProjectData::databaseName | ( | ) | const |
- Returns:
- database name. In fact, this is the same as KexiDB::SchemaData::name()
Definition at line 117 of file kexiprojectdata.cpp.
| bool KexiProjectData::finalMode | ( | ) | const |
- Returns:
- true if there is final mode set in internal project settings.
Definition at line 127 of file kexiprojectdata.cpp.
| QString KexiProjectData::infoString | ( | bool | nobr = true |
) | const |
- Returns:
- user-visible string better describing the project than just databaseName(). For server-based projects returns i18n'd string: "<project name>" (connection: user:port). For file-based projects returns project's filename. If nobr is true, <nobr> tags are added around '(connection: user:port)' (useful for displaying in message boxes).
Definition at line 152 of file kexiprojectdata.cpp.
Member Data Documentation
| QValueList<ObjectInfo> KexiProjectData::autoopenObjects |
objects to open on startup (come from command line "-open" option) It's public for convenience
Definition at line 85 of file kexiprojectdata.h.
The documentation for this class was generated from the following files:

