class DBEngine

Entry point for the library. More...

Full nameKDB::DBEngine
Definition#include <dbengine.h>
InheritsKDB::Object
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Static Methods


Detailed Description

This object manages all available plugins, and can create connections to servers or databases.

In more detail:

typedef QListIterator<Plugin> iterator

DBEngine ()

[virtual]

DBEngine * self ()

[static]

creates, if needed, the engine object, and returns it

iterator  begin ()

returns an iterator that points to the first plugin

Plugin *  find (const QString &name)

find a plugin by name. If no plugin is found, OL is returned

Connection *  openConnection (const QString &pluginName, const QString &host, int port, const QString &user, const QString &password)

open a connection to the given host, with the given plugin, username and password. if the plugin does not exists, OL is returned. This is a convenience function, to avoid passing trough a plugin to get a connection

Database *  openDatabase (const QString &pluginName, const QString &host, int port, const QString &user, const QString &password, const QString &databaseName)

open a database. This is a convenience function


Generated by: pradu@server.rete.casa on Fri Jul 28 15:15:55 2000, using kdoc 2.0a36.