|
|
Manages the connection state to a SQL engine.
Basically stores all authentication tokens and opens/closes connection as needed.
It is also a collection of database objects, allowing
typedef QListIterator<Database> |
|
~ |
[virtual]
void |
connect to the host. if username and password are missing, pops up a dialog to ask them. if the connection is open, nothing is actually done
void |
[pure virtual]
disconnects from the host. all databases are closed
bool |
returns true if a successfull connection has been estabilished
void |
sets the user for this connection. the change will not take place until a disconnect/connect is made
void |
sets the password for this connection. the change will not take place until a disconnect/connect is made. passing QString::null will force the connection to ask for the password next time open is called
QString |
returns the host name for this connection
QString |
returns a complete description of the connection
Database * |
open a database by name
Database * |
return a database by name.
Database * |
[pure virtual]
creates a new database in the current connection
QList<Database> |
return a list of all available databases
iterator |
return an iterator that points to the first database
bool |
[protected pure virtual]
Connect to the Host. reimplemented in plugins
bool |
[protected]
QString |
[protected]
QList<Database> |
[protected]
Generated by: pradu@server.rete.casa on Fri Jul 28 15:15:55 2000, using kdoc 2.0a36. |