cMySQLPlugin class Reference #include <cmysqlplugin.h> Inheritance diagram for cMySQLPlugin
Inheritance graph
Collaboration diagram for cMySQLPlugin
Collaboration graph
Protected Attributes QSqlDatabase m_db QString m_szLastError
qint16 pluginAPIVersion ( )Returns the version of the plugin API. QString pluginName ( )Returns the name of the plugin. qint16 pluginVersion ( )returns the version of the plugin iType pluginType ( )returns the type of the plugin. bool connect ( )connects to the database. bool init ( )initializes default settings for the plugin. QString lastError ( )returns the last error string. bool config ( )calls the configuration dialog.
bool open ( )opens the database.
Detailed Description This class implements the database connector for MySQL. All functions may be overwritten by derriving classes. Note: Author: Herwig Birke Version: 1.0 Date: $Date: 2016/02/09 Definition at line 46 of file cmysqlplugin.h The Documentation for this struct was generated from the following file: cmysqlplugin.h
Member Data Documentation QSqlDatabase cMySQLPlugin::m_db holds the database connection Definition at line 122 of file cmysqlplugin.h The Documentation for this struct was generated from the following file: cmysqlplugin.h QString cMySQLPlugin::m_szLastError holds the last error message Definition at line 123 of file cmysqlplugin.h The Documentation for this struct was generated from the following file: cmysqlplugin.h
qint16 cMySQLPlugin::pluginAPIVersion () Returns: qint16 plugin API version
QString cMySQLPlugin::pluginName () Returns: QString name of the plugin
qint16 cMySQLPlugin::pluginVersion () Returns: qint16 version of the plugin
iType cMySQLPlugin::pluginType () Returns: iType type of the plugin. Returns the type of the plugin. Possible values are: cInterface::iTypeDB plugin provides DB connector cInterface::iTypeExport plugin provides export capabilities cInterface::iTypeImport plugin provides import capabilities
bool cMySQLPlugin::connect () Returns: bool true on success or false otherwise
bool cMySQLPlugin::init () Returns: bool true if settings where successfully tested or false otherwise.
QString cMySQLPlugin::lastError () Returns: QString last error
bool cMySQLPlugin::config () Returns: bool true if the configuration has been changed successfully or false otherwise.
bool cMySQLPlugin::open () Returns: bool true on success or false otherwise.