kexi
Kross::KexiDB::KexiDBDriverManager Class Reference
#include <kexidbdrivermanager.h>
Inherits Kross::Api::Class< Kross::KexiDB::KexiDBDriverManager >.
Detailed Description
The drivermanager is the base class to access KexiDBDriver objects and provides common functionality to deal with the KexiDB module.Example (in Python) ;
# Import the kexidb module. import krosskexidb # Get the drivermanager. drivermanager = krosskexidb.DriverManager() # Let's determinate the mimetype (e.g. "application/x-sqlite3"). mimetype = drivermanager.mimeForFile("/home/user/mykexidbfile.kexi") # Now we use that mimetype to get the name of the driver to handle that file (e.g. "SQLite3") drivername = drivermanager.lookupByMime(mimetype) # We are able to create the driver now. driver = drivermanager.driver(drivername)
Definition at line 59 of file kexidbdrivermanager.h.
Public Member Functions | |
virtual const QString | getClassName () const |
The documentation for this class was generated from the following files: