MythTV  master
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
ScannerEvent Class Reference

#include <scanmonitor.h>

Inheritance diagram for ScannerEvent:
Inheritance graph
[legend]
Collaboration diagram for ScannerEvent:
Collaboration graph
[legend]

Public Member Functions

 ScannerEvent (QEvent::Type type)
 
QString strValue () const
 
void strValue (const QString &str)
 
int intValue () const
 
void intValue (int intvalue)
 
bool boolValue () const
 
Configurable * ConfigurableValue () const
 
void ConfigurableValue (Configurable *cfg_ptr)
 

Static Public Attributes

static const Type kScanComplete
 
static const Type kScanShutdown
 
static const Type kScanErrored
 
static const Type kAppendTextToLog
 
static const Type kSetStatusText
 
static const Type kSetStatusTitleText
 
static const Type kSetPercentComplete
 
static const Type kSetStatusRotorPosition
 
static const Type kSetStatusSignalToNoise
 
static const Type kSetStatusSignalStrength
 
static const Type kSetStatusSignalLock
 
static const Type kSetStatusChannelTuned
 

Private Member Functions

 ~ScannerEvent () override=default
 

Private Attributes

QString m_str
 
int m_intValue {0}
 
Configurable * m_cfgPtr {nullptr}
 

Friends

class QObject
 

Detailed Description

Definition at line 86 of file scanmonitor.h.

Constructor & Destructor Documentation

◆ ScannerEvent()

ScannerEvent::ScannerEvent ( QEvent::Type  type)
inlineexplicit

Definition at line 92 of file scanmonitor.h.

◆ ~ScannerEvent()

ScannerEvent::~ScannerEvent ( )
overrideprivatedefault

Member Function Documentation

◆ strValue() [1/2]

QString ScannerEvent::strValue ( ) const
inline

◆ strValue() [2/2]

void ScannerEvent::strValue ( const QString &  str)
inline

Definition at line 95 of file scanmonitor.h.

◆ intValue() [1/2]

int ScannerEvent::intValue ( ) const
inline

◆ intValue() [2/2]

void ScannerEvent::intValue ( int  intvalue)
inline

Definition at line 98 of file scanmonitor.h.

◆ boolValue()

bool ScannerEvent::boolValue ( ) const
inline

◆ ConfigurableValue() [1/2]

Configurable* ScannerEvent::ConfigurableValue ( ) const
inline

Definition at line 102 of file scanmonitor.h.

◆ ConfigurableValue() [2/2]

void ScannerEvent::ConfigurableValue ( Configurable *  cfg_ptr)
inline

Definition at line 103 of file scanmonitor.h.

Friends And Related Function Documentation

◆ QObject

friend class QObject
friend

Definition at line 88 of file scanmonitor.h.

Member Data Documentation

◆ kScanComplete

const QEvent::Type ScannerEvent::kScanComplete
static

◆ kScanShutdown

const QEvent::Type ScannerEvent::kScanShutdown
static

◆ kScanErrored

const QEvent::Type ScannerEvent::kScanErrored
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 108 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ScanMonitor::ScanErrored().

◆ kAppendTextToLog

const QEvent::Type ScannerEvent::kAppendTextToLog
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 109 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ScanMonitor::ScanAppendTextToLog().

◆ kSetStatusText

const QEvent::Type ScannerEvent::kSetStatusText
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 110 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ScanMonitor::ScanUpdateStatusText().

◆ kSetStatusTitleText

const QEvent::Type ScannerEvent::kSetStatusTitleText
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 111 of file scanmonitor.h.

Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ScanMonitor::ScanUpdateStatusTitleText().

◆ kSetPercentComplete

const QEvent::Type ScannerEvent::kSetPercentComplete
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 112 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ScanMonitor::ScanPercentComplete().

◆ kSetStatusRotorPosition

const QEvent::Type ScannerEvent::kSetStatusRotorPosition
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 113 of file scanmonitor.h.

Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ScanMonitor::StatusRotorPosition().

◆ kSetStatusSignalToNoise

const QEvent::Type ScannerEvent::kSetStatusSignalToNoise
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 114 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ScanMonitor::StatusSignalToNoise().

◆ kSetStatusSignalStrength

const QEvent::Type ScannerEvent::kSetStatusSignalStrength
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 115 of file scanmonitor.h.

Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ScanMonitor::StatusSignalStrength().

◆ kSetStatusSignalLock

const QEvent::Type ScannerEvent::kSetStatusSignalLock
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 116 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ScanMonitor::StatusSignalLock().

◆ kSetStatusChannelTuned

const QEvent::Type ScannerEvent::kSetStatusChannelTuned
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 117 of file scanmonitor.h.

Referenced by ScanMonitor::StatusChannelTuned().

◆ m_str

QString ScannerEvent::m_str
private

Definition at line 123 of file scanmonitor.h.

Referenced by strValue().

◆ m_intValue

int ScannerEvent::m_intValue {0}
private

Definition at line 124 of file scanmonitor.h.

Referenced by boolValue(), and intValue().

◆ m_cfgPtr

Configurable* ScannerEvent::m_cfgPtr {nullptr}
private

Definition at line 125 of file scanmonitor.h.

Referenced by ConfigurableValue().


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