20#ifndef KEXIPROJECTCONNECTIONDATA_H
21#define KEXIPROJECTCONNECTIONDATA_H
23#include <kexidb/connectiondata.h>
40 KexiProjectConnectionData();
42 KexiProjectConnectionData( const TQString& driverName, const TQString& databaseName, const TQString & hostName, unsigned short int port,
48 KexiProjectConnectionData( const TQString &driverName, const TQString & fileName=TQString());
50 ~KexiProjectConnectionData();
52 static const TQString &generateTmpName();
54 static KexiProjectConnectionData* loadInfo(TQDomElement &e);
55 void writeInfo(TQDomDocument &doc);
57 void setDriverName( const TQString &driverName);
58 void setDatabaseName( const TQString &databaseName);
61 TQString databaseName() const;
64 TQString m_driverName;
65 TQString m_databaseName;
TQString userName Username used for the connection.
TQString password Password used for the connection.
TQString driverName the name of the driver that should be used to create a connection
unsigned short int port Port used for the remote connection.
TQString hostName Host name used for the remote connection.
Database specific connection data, e.g. host, port.
TQString fileName() const Get the filename used by the connection.
|