kexi

KexiProjectConnectionData Class Reference

#include <kexiprojectconnectiondata.h>

Inheritance diagram for KexiProjectConnectionData:

KexiDB::ConnectionData KexiDB::ConnectionDataBase List of all members.

Detailed Description

This class aims to provide methods to store/load database settings especially for file based engines.

Extends KexiDB::ConnectionData with additional information (selected driver name and database name) that allows fully-automatic reconnect eg. on next application startup.

Definition at line 36 of file kexiprojectconnectiondata.h.


Public Member Functions

 KexiProjectConnectionData ()
 KexiProjectConnectionData (const QString &driverName, const QString &databaseName, const QString &hostName, unsigned short int port, const QString &userName, const QString &password, const QString &fileName)
 KexiProjectConnectionData (const QString &driverName, const QString &fileName=QString::null)
 ~KexiProjectConnectionData ()
void writeInfo (QDomDocument &doc)
void setDriverName (const QString &driverName)
void setDatabaseName (const QString &databaseName)
QString driverName () const
QString databaseName () const

Static Public Member Functions

static const QString & generateTmpName ()
static KexiProjectConnectionDataloadInfo (QDomElement &e)

Constructor & Destructor Documentation

KexiProjectConnectionData::KexiProjectConnectionData ( const QString &  driverName,
const QString &  fileName = QString::null 
)

connect to a embedded database

Definition at line 56 of file kexiprojectconnectiondata.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys