cMySQLPlugin class Reference#include <cmysqlplugin.h>Inheritance diagram for cMySQLPluginInheritance graphCollaboration diagram for cMySQLPluginCollaboration graphProtected AttributesQSqlDatabase m_dbQString m_szLastErrorqint16 pluginAPIVersion (
)Returns the version of the plugin API.QString pluginName (
)Returns the name of the plugin.qint16 pluginVersion (
)returns the version of the pluginiType 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 DescriptionThis class implements the database connector for MySQL. All functions may be overwritten by derriving classes.Note: Author: Herwig BirkeVersion: 1.0Date: $Date: 2016/02/09 Definition at line 46 of file cmysqlplugin.hThe Documentation for this struct was generated from the following file: cmysqlplugin.hMember Data DocumentationQSqlDatabase cMySQLPlugin::m_dbholds the database connection Definition at line 122 of file cmysqlplugin.hThe Documentation for this struct was generated from the following file: cmysqlplugin.hQString cMySQLPlugin::m_szLastErrorholds the last error message Definition at line 123 of file cmysqlplugin.hThe Documentation for this struct was generated from the following file: cmysqlplugin.hqint16 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.