#include <qdataschemadriverplugin.h>
Public Member Functions | |
| QDataSchemaDriverPluginBase () | |
| ~QDataSchemaDriverPluginBase () | |
| virtual QStringList | keys () const=0 |
| virtual QDataSchemaDriver * | create (const QString &key)=0 |
Class for work with extensions
| QDataSchemaDriverPluginBase::QDataSchemaDriverPluginBase | ( | ) |
Constructs a QDataSchema plugin. This is invoked automatically by the Q_EXPORT_PLUGIN macro.
| QDataSchemaDriverPluginBase::~QDataSchemaDriverPluginBase | ( | ) |
Destroys the QDataSchema driver plugin.
You never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used.
| QStringList QDataSchemaDriverPluginBase::keys | ( | ) | const [pure virtual] |
Returns the list of drivers (keys) this plugin supports.
These keys are usually the class names of the custom extension that are implemented in the plugin.
| QDataSchemaDriver * QDataSchemaDriverPluginBase::create | ( | const QString & | key | ) | [pure virtual] |
Creates and returns a QDataSchemaDriver object for the driver key key. The driver key is usually the class name of the required driver.
1.5.1