kexi
KexiDBConnectionSet Class Reference
#include <kexidbconnectionset.h>
Detailed Description
Stores information about multiple connection-data items.
Definition at line 29 of file kexidbconnectionset.h.
Public Member Functions | |
KexiDBConnectionSet () | |
~KexiDBConnectionSet () | |
void | load () |
bool | addConnectionData (KexiDB::ConnectionData *data, const QString &filename=QString::null) |
bool | saveConnectionData (KexiDB::ConnectionData *oldData, KexiDB::ConnectionData *newData) |
bool | removeConnectionData (KexiDB::ConnectionData *data) |
const KexiDB::ConnectionData::List & | list () const |
QString | fileNameForConnectionData (KexiDB::ConnectionData *data) const |
KexiDB::ConnectionData * | connectionDataForFileName (const QString &fileName) const |
Member Function Documentation
|
Adds data as connection data. data will be owned by a KexiDBConnectionSet object. If filename is not empty, it will be kept for use in saveConnectionData(). saveConnectionData() is called automatically, if there's no filename provided or the filename is already used, a new unique will be generated.
Definition at line 55 of file kexidbconnectionset.cpp. |
|
Definition at line 180 of file kexidbconnectionset.cpp. |
|
Definition at line 172 of file kexidbconnectionset.cpp. |
|
Definition at line 139 of file kexidbconnectionset.cpp. |
|
Loads connection data set from storage, currently from .kexic files saved in dirs returned by KStandardDirs::findDirs("data", "connections") Definition at line 151 of file kexidbconnectionset.cpp. |
|
Removed data from this set.
Definition at line 125 of file kexidbconnectionset.cpp. |
|
Saves changes made to oldData to a file which name has been provided by addConnectionData(). This function does nothing if oldData hasn't been added to this set.
Definition at line 99 of file kexidbconnectionset.cpp. |
The documentation for this class was generated from the following files: