kexi
dbproperties.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KEXIDB_DBPROPERTIES_H
00021 #define KEXIDB_DBPROPERTIES_H
00022
00023 #include "connection.h"
00024
00025 namespace KexiDB {
00026
00028
00030
00034 class KEXI_DB_EXPORT DatabaseProperties : public KexiDB::Object
00035 {
00036 public:
00041 bool setValue( const QString& name, const QVariant& value );
00042
00045 bool setCaption( const QString& name, const QString& caption );
00046
00049 QVariant value( const QString& name );
00050
00053 QString caption( const QString& name );
00054
00056 QStringList names();
00057
00058 protected:
00059 DatabaseProperties(Connection *conn);
00060 ~DatabaseProperties();
00061
00062 QGuardedPtr<Connection> m_conn;
00063 friend class Connection;
00064 };
00065 }
00066
00067 #endif
|