kexi
KexiDB::DatabaseProperties Class Reference
#include <dbproperties.h>
Inheritance diagram for KexiDB::DatabaseProperties:

Detailed Description
A set of storable database properties.This is a convenience class that allows to store global dabatase properties without a need for creating and maintain custom table. DatabaseProperties object is accessible only using KexiDB::Connection::databaseProperties() method.
Definition at line 34 of file dbproperties.h.
Public Member Functions | |
bool | setValue (const QString &name, const QVariant &value) |
bool | setCaption (const QString &name, const QString &caption) |
QVariant | value (const QString &name) |
QString | caption (const QString &name) |
QStringList | names () |
Protected Member Functions | |
DatabaseProperties (Connection *conn) | |
~DatabaseProperties () | |
Protected Attributes | |
QGuardedPtr< Connection > | m_conn |
Friends | |
class | Connection |
Member Function Documentation
|
Definition at line 122 of file dbproperties.cpp. |
|
Definition at line 137 of file dbproperties.cpp. |
|
Sets caption for for property name. Usually it shouldn't be translated: trnaslation can be performed before displaying. Definition at line 71 of file dbproperties.cpp. |
|
Sets value for property name. Optional caption can be also set. If there's no such property defined, it will be added. Existing value will be overwritten. Note that to execute this method, database must be opened in read-write mode.
Definition at line 35 of file dbproperties.cpp. |
|
Definition at line 109 of file dbproperties.cpp. |
The documentation for this class was generated from the following files: