Search for usage in LXR

QCAPlugin Class Referenceabstract

#include <QtCrypto>

Public Member Functions

virtual ~QCAPlugin ()
virtual QCA::ProvidercreateProvider ()=0

Detailed Description

Provider plugin base class.

QCA loads cryptographic provider plugins with QPluginLoader. The QObject obtained when loading the plugin must implement the QCAPlugin interface. This is done by inheriting QCAPlugin, and including Q_INTERFACES(QCAPlugin) in your class declaration.

For example:

class MyPlugin : public QObject, public QCAPlugin
virtual Provider *createProvider() { ... }

There is only one function to reimplement, called createProvider(). This function should return a newly allocated Provider instance.

Definition at line 82 of file qcaprovider.h.

Constructor & Destructor Documentation

virtual QCAPlugin::~QCAPlugin ( )

Destructs the object.

Definition at line 88 of file qcaprovider.h.

Member Function Documentation

virtual QCA::Provider* QCAPlugin::createProvider ( )
pure virtual

Returns a newly allocated Provider instance.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Sep 25 2021 23:05:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.