kexi
KexiDB::ConnectionData Class Reference
#include <connectiondata.h>
Inheritance diagram for KexiDB::ConnectionData:

Detailed Description
Database specific connection data, e.g. host, port.Connection data, once configured, can be later stored for reuse.
Definition at line 160 of file connectiondata.h.
Public Types | |
typedef QPtrList< ConnectionData > | List |
typedef QPtrListIterator< ConnectionData > | ListIterator |
Public Member Functions | |
ConnectionData () | |
ConnectionData (const ConnectionData &) | |
~ConnectionData () | |
ConnectionData & | operator= (const ConnectionData &cd) |
void | setFileName (const QString &fn) |
QString | fileName () const |
QString | dbPath () const |
QString | dbFileName () const |
QString | serverInfoString (bool addUser=true) const |
Public Attributes | |
uint | formatVersion |
Protected Attributes | |
Private * | priv |
Friends | |
class | Connection |
Member Function Documentation
|
The file name (without path) of the database file.
Definition at line 204 of file connectiondata.h. |
|
The directory the database file is in.
Definition at line 197 of file connectiondata.h. |
|
Get the filename used by the connection. For file-based database engines like SQLite, fileName is used instead hostName and port.
Definition at line 190 of file connectiondata.h. |
|
A user-friendly string for the server.
Definition at line 95 of file connectiondata.cpp. |
|
Set the filename used by the connection. For file-based database engines, like SQLite, you should use this function to set the file name of the database to use. fn can be either absolute or relative path to the file. Definition at line 85 of file connectiondata.cpp. |
The documentation for this class was generated from the following files: