GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontend::ChannelObject Class Reference

object which in channel system is called "channel" More...

#include <ChannelObject.h>

Inheritance diagram for GpgFrontend::ChannelObject:
Inheritance graph
Collaboration diagram for GpgFrontend::ChannelObject:
Collaboration graph

Public Member Functions

 ChannelObject () noexcept
 Construct a new Default Channel Object object.
 
virtual ~ChannelObject () noexcept
 Destroy the Channel Object object.
 
 ChannelObject (int channel, QString type)
 Construct a new Channel Object object. More...
 
auto GetChannel () const -> int
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Static Public Member Functions

static auto GetDefaultChannel () -> int
 Get the Default Channel object. More...
 

Private Attributes

int channel_ = kGpgFrontendDefaultChannel
 The channel id.
 
QString type_
 

Detailed Description

object which in channel system is called "channel"

Constructor & Destructor Documentation

◆ ChannelObject()

GpgFrontend::ChannelObject::ChannelObject ( int  channel,
QString  type 
)
explicit

Construct a new Channel Object object.

Parameters
channel

Member Function Documentation

◆ GetChannel()

auto GpgFrontend::ChannelObject::GetChannel ( ) const -> int

Get the Channel object.

Returns
int

References channel_.

Referenced by GpgFrontend::SingletonFunctionObject< T >::GetChannel().

◆ GetDefaultChannel()

auto GpgFrontend::ChannelObject::GetDefaultChannel ( ) -> int
static

Get the Default Channel object.

Returns
int

Referenced by GpgFrontend::SingletonFunctionObject< T >::GetDefaultChannel().

◆ SetChannel()

void GpgFrontend::ChannelObject::SetChannel ( int  channel)

Set the Channel object.

Parameters
channel

References channel_.


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