KIdentityManagementQuick::CryptographyBackendInterface Class
class KIdentityManagementQuick::CryptographyBackendInterfaceDefines the interface used by the Cryptography Editor Backend. More...
| Header: | #include <KIdentityManagementQuick/CryptographyBackendInterface> |
| CMake: | find_package(KPim6IdentityManagementQuick REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::IdentityManagementQuick) |
Public Functions
| virtual | ~CryptographyBackendInterface() |
| virtual QAbstractItemModel * | openPgpKeyListModel() const = 0 |
| virtual QAbstractItemModel * | smimeKeyListModel() const = 0 |
Protected Functions
| virtual KIdentityManagementCore::Identity | identity() const = 0 |
| virtual void | setIdentity(const KIdentityManagementCore::Identity &identity) = 0 |
Detailed Description
This class is held by the CryptographyBackend, which exposes what is needed to the Cryptography Editor QtQuick UI.
Contains utility methods to access required objects and data for identity-related cryptography editing.
Member Function Documentation
[virtual noexcept] CryptographyBackendInterface::~CryptographyBackendInterface()
Destroys the cryptography backend interface.
[pure virtual protected] KIdentityManagementCore::Identity CryptographyBackendInterface::identity() const
The identity that affects what data to show.
See also setIdentity().
[pure virtual] QAbstractItemModel *CryptographyBackendInterface::openPgpKeyListModel() const
A list model providing a list of OpenPGP keys.
[pure virtual protected] void CryptographyBackendInterface::setIdentity(const KIdentityManagementCore::Identity &identity)
Sets the identity that affects what data to show.
See also identity().
[pure virtual] QAbstractItemModel *CryptographyBackendInterface::smimeKeyListModel() const
A list model providing a list of S/MIME keys.