QDataSchemaDriverPluginBase Class Reference

The QDataSchemaDriverPluginBase class provides an abstract base for custom QDataSchemaDriver plugins. More...

#include <qdataschemadriverplugin.h>

List of all members.

Public Member Functions

 QDataSchemaDriverPluginBase ()
 ~QDataSchemaDriverPluginBase ()
virtual QStringList keys () const=0
virtual QDataSchemaDrivercreate (const QString &key)=0


Detailed Description

The QDataSchemaDriverPluginBase class provides an abstract base for custom QDataSchemaDriver plugins.

Class for work with extensions


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

See also:
create()

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.

See also:
keys()


The documentation for this class was generated from the following files:
Generated on Wed Feb 21 09:36:10 2007 for QT Database Schema library. by  doxygen 1.5.1