QCAPlugin
QCAPlugin Class Referenceabstract
#include <QtCrypto>
Public Member Functions | |
virtual | ~QCAPlugin () |
virtual QCA::Provider * | createProvider ()=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:
{
public:
virtual Provider *createProvider() { ... }
};
virtual QCA::Provider * createProvider()=0
Returns a newly allocated Provider instance.
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
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
◆ ~QCAPlugin()
|
inlinevirtual |
Destructs the object.
Definition at line 88 of file qcaprovider.h.
Member Function Documentation
◆ 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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.