KexiMigration::MigrateManager Class Reference
#include <migratemanager.h>
Inheritance diagram for KexiMigration::MigrateManager:

Detailed Description
Migration library management, for finding and loading mogration drivers.
Definition at line 38 of file migratemanager.h.
Public Types | |
| typedef QMap< QString, KService::Ptr > | ServicesMap |
Public Member Functions | |
| MigrateManager () | |
| virtual | ~MigrateManager () |
| KexiMigrate * | driver (const QString &name) |
| const QStringList | driverNames () |
| QString | driverForMimeType (const QString &mimeType) |
| virtual QString | serverErrorMsg () |
| server error is set if there is error at KService level (useful for debugging) | |
| virtual int | serverResult () |
| virtual QString | serverResultName () |
| QString | possibleProblemsInfoMsg () const |
Protected Member Functions | |
| virtual void | drv_clearServerResult () |
Member Typedef Documentation
|
|
Definition at line 41 of file migratemanager.h. |
Constructor & Destructor Documentation
|
|
Definition at line 254 of file migratemanager.cpp. References KexiMigration::MigrateManagerInternal::incRefCount(). |
|
|
Definition at line 265 of file migratemanager.cpp. References KexiMigration::MigrateManagerInternal::decRefCount(), KexiDBDbg, and KexiMigration::MigrateManagerInternal::m_refCount. |
Member Function Documentation
|
|
Tries to load db driver with named name name. The name is case insensitive.
Definition at line 324 of file migratemanager.cpp. References KexiMigration::MigrateManagerInternal::driver(), KexiDB::Object::error(), KexiDB::Object::errorMsg(), and KexiDB::Object::setError(). Referenced by KexiMigration::ImportWizard::next(). |
|
|
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 307 of file migratemanager.cpp. References KexiMigration::MigrateManagerInternal::lookupDrivers(), KexiMigration::MigrateManagerInternal::m_services_by_mimetype, and KexiDB::Object::setError(). |
|
|
returns list of available drivers names. That drivers can be loaded by first use of driver() method. Definition at line 287 of file migratemanager.cpp. References KexiDB::Object::error(), KexiDB::Object::errorMsg(), KexiMigration::MigrateManagerInternal::lookupDrivers(), and KexiMigration::MigrateManagerInternal::m_services. |
|
|
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 349 of file migratemanager.cpp. References KexiMigration::MigrateManagerInternal::m_serverErrMsg, KexiMigration::MigrateManagerInternal::m_serverResultName, and KexiMigration::MigrateManagerInternal::m_serverResultNum. |
|
|
HTML information about possible problems encountered. It's displayed in 'details' section, if an error encountered. Currently it contains a list of incompatible migration drivers. Definition at line 356 of file migratemanager.cpp. References KexiMigration::MigrateManagerInternal::possibleProblems. |
|
|
server error is set if there is error at KService level (useful for debugging)
Reimplemented from KexiDB::Object. Definition at line 334 of file migratemanager.cpp. References KexiMigration::MigrateManagerInternal::m_serverErrMsg. |
|
|
Reimplemented from KexiDB::Object. Definition at line 339 of file migratemanager.cpp. References KexiMigration::MigrateManagerInternal::m_serverResultNum. |
|
|
Reimplemented from KexiDB::Object. Definition at line 344 of file migratemanager.cpp. References KexiMigration::MigrateManagerInternal::m_serverResultName. |
The documentation for this class was generated from the following files:
