GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontend::Module::Event Class Reference
Collaboration diagram for GpgFrontend::Module::Event:
Collaboration graph

Classes

class  Impl
 
struct  ParameterInitializer
 

Public Types

using ParameterValue = std::any
 
using EventIdentifier = QString
 
using ListenerIdentifier = QString
 
using EventCallback = std::function< void(EventIdentifier, ListenerIdentifier, DataObjectPtr)>
 

Public Member Functions

 Event (const QString &, std::initializer_list< ParameterInitializer >={}, EventCallback=nullptr)
 
auto operator[] (const QString &key) const -> std::optional< ParameterValue >
 
auto operator== (const Event &other) const -> bool
 
auto operator!= (const Event &other) const -> bool
 
auto operator< (const Event &other) const -> bool
 
auto operator<= (const Event &other) const -> bool
 
 operator QString () const
 
auto GetIdentifier () -> EventIdentifier
 
auto GetTriggerIdentifier () -> EventTriggerIdentifier
 
void AddParameter (const QString &key, const QString &value)
 
void ExecuteCallback (ListenerIdentifier, DataObjectPtr)
 
auto ToModuleEvent () -> GFModuleEvent *
 

Private Attributes

SecureUniquePtr< Implp_
 

The documentation for this class was generated from the following files: