The QStylePlugin class provides an abstract base for custom QStyle plugins.
.PP
The style plugin is a simple plugin interface that makes it easy to create custom styles that can be loaded dynamically into applications with a QStyleFactory.
.PP
Writing a style plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and exporting the class with the \fCQ_EXPORT_PLUGIN\fR macro. See the plugins documentation for an example.
.PP
See also Plugins.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QStylePlugin::QStylePlugin ()"
Constructs a style plugin. This is invoked automatically by the \fCQ_EXPORT_PLUGIN\fR macro.
.SH "QStylePlugin::~QStylePlugin ()"
Destroys the style plugin.
.PP
You never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used.