kexi
KexiDB::DriverManager Class Reference
#include <drivermanager.h>
Inheritance diagram for KexiDB::DriverManager:

Detailed Description
Database driver management, e.g. finding and loading drivers.
Definition at line 40 of file drivermanager.h.
Public Types | |
typedef QMap< QString, KService::Ptr > | ServicesMap |
Public Member Functions | |
DriverManager () | |
virtual | ~DriverManager () |
Driver * | driver (const QString &name) |
const QStringList | driverNames () |
const KexiDB::Driver::InfoMap | driversInfo () |
KexiDB::Driver::Info | driverInfo (const QString &name) |
KService::Ptr | serviceInfo (const QString &name) |
const ServicesMap & | services () |
QString | lookupByMime (const QString &mimeType) |
virtual QString | serverErrorMsg () |
virtual int | serverResult () |
virtual QString | serverResultName () |
QString | possibleProblemsInfoMsg () const |
Protected Member Functions | |
virtual void | drv_clearServerResult () |
Member Function Documentation
|
Tries to load db driver with named name name. The name is case insensitive.
Definition at line 393 of file drivermanager.cpp. |
|
Definition at line 348 of file drivermanager.cpp. |
|
returns list of available drivers names. That drivers can be loaded by first use of driver() method. Definition at line 338 of file drivermanager.cpp. |
|
returns information list of available drivers. That drivers can be loaded by first use of driver() method. Definition at line 314 of file drivermanager.cpp. |
|
Clears number of last server operation's result stored as a single integer. Formally, this integer should be set to value that means "NO ERRORS" or "OK". This method is called by clearError(). For reimplementation. By default does nothing.
Reimplemented from KexiDB::Object. Definition at line 416 of file drivermanager.cpp. |
|
Looks up a drivers list by MIME type of database file. Only file-based database drivers are checked. The lookup is case insensitive.
Definition at line 380 of file drivermanager.cpp. |
|
HTML information about possible problems encountered. It's displayed in 'details' section, if an error encountered. Currently it contains a list of incompatible db drivers. Used in KexiStartupHandler::detectDriverForFile(). Definition at line 423 of file drivermanager.cpp. |
|
server error is set if there is error at KService level (useful for debugging)
Reimplemented from KexiDB::Object. Definition at line 401 of file drivermanager.cpp. |
|
Reimplemented from KexiDB::Object. Definition at line 406 of file drivermanager.cpp. |
|
Reimplemented from KexiDB::Object. Definition at line 411 of file drivermanager.cpp. |
|
Definition at line 357 of file drivermanager.cpp. |
|
Definition at line 373 of file drivermanager.cpp. |
The documentation for this class was generated from the following files: