|
| ||||||||||||||||
A Plugin handles all connections related to a DBMS (Postgres, MySQL, and so on).
This class allows traversal of the list of available connections, and can be queried about general informations and implemented capabilities through provides
The Plugin is also responsible of creating "capability objects", that is objects that can implement a specific capabilities.
Actually we have found the following capabilities:
| |
| |
[virtual]
| PluginInfo |
[pure virtual]
Returns the information about the plugin.
| Connection * |
Create a connection, append it to the connection list, open the connection and return it.
| Connection * |
[virtual]
Same as connect, but does not perform the connection.
| void |
Removes a connection from the list of connections. This will delete the connection, so make sure to not have dangling reference to the connection.
| Connection * |
Return a connection to the specified host for the given user. If no connection is found 0L is returned.
| ConnectionIterator |
Returns an iterator that points to the first Connection object.
| bool |
[pure virtual]
returns true if the plugin can handle a given capability.
| Capability * |
[pure virtual]
Create an object that will handle the specific capability if the plugin does not support a capability, an exception is thrown.
| void |
[signal]
| void |
[ protected slots: slot]
| void |
[ protected: ]
| Connector * |
[ protected: pure virtual]