kexi
KexiDBConnShortcutFile Class Reference
#include <kexidbshortcutfile.h>
Inheritance diagram for KexiDBConnShortcutFile:

Detailed Description
Loads and saves information for a "shortcut" file containing connection information (i.e. KexiDB::ConnectionData). This is implementation for handling .KEXIC files. See http://www.kexi-project.org/wiki/wikiview/index.php?KexiMimeTypes_DataSaving_Loading
Definition at line 72 of file kexidbshortcutfile.h.
Public Member Functions | |
KexiDBConnShortcutFile (const QString &fileName) | |
~KexiDBConnShortcutFile () | |
bool | loadConnectionData (KexiDB::ConnectionData &data, QString *groupKey=0) |
bool | saveConnectionData (const KexiDB::ConnectionData &data, bool savePassword, QString *groupKey=0, bool overwriteFirstGroup=true) |
QString | fileName () const |
Constructor & Destructor Documentation
|
Creates a new object for fileName. Definition at line 257 of file kexidbshortcutfile.cpp. |
Member Function Documentation
|
Reimplemented from KexiDBShortcutFile. Definition at line 98 of file kexidbshortcutfile.h. |
|
Loads connection data into data. groupKey, if provided will be set to a group key, so you can later use it in saveConnectionData().
Definition at line 266 of file kexidbshortcutfile.cpp. |
|
Saves connection data data to a shortcut file. If storePassword is true, password will be saved in the file, even if data.savePassword is false. Existing data is merged with new data. groupKey is reused, if specified. If overwriteFirstGroup is true (the default) first found group will be overwritten instead of creating of a new unique group. This mode is usable for updating .kexic files containing single connection data, what's used for storing connections repository.
Definition at line 275 of file kexidbshortcutfile.cpp. |
The documentation for this class was generated from the following files: