20#ifndef KEXIDB_CONNECTION_DATA_H
21#define KEXIDB_CONNECTION_DATA_H
23#include <kexidb/kexidb_export.h>
38class ConnectionDataBase
162class KEXI_DB_EXPORT ConnectionData :
public TQObject,
public ConnectionDataBase
165 typedef TQPtrList<ConnectionData> List;
166 typedef TQPtrListIterator<ConnectionData> ListIterator;
170 ConnectionData(
const ConnectionData&);
174 ConnectionData& operator=(
const ConnectionData& cd);
221 TQString serverInfoString(
bool addUser =
true)
const;
bool savePassword
True if password should be saved to a file for the connection.
int id
Used for identifying a single piece of data in a set.
TQString caption
The caption of the connection.
TQString localSocketFileName
Name of local (named) socket file.
TQString description
The additional description for the connection.
TQString m_fileName
The filename for file-based databases.
TQString m_dbFileName
Filename of the database file.
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.
TQString m_dbPath
Absolute path to the database file.
bool useLocalSocketFile
True if local socket file should be used instead of TCP/IP port.
void setFileName(const TQString &fn)
Set the filename used by the connection.
TQString fileName() const
Get the filename used by the connection.
TQString dbFileName() const
The file name (without path) of the database file.
TQString dbPath() const
The directory the database file is in.
Provides database connection, allowing queries and data modification.
High-level database connectivity library with database backend drivers.