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)
 
int boolValue () const
 
Configurable * ConfigurableValue () const
 
void ConfigurableValue (Configurable *cfg_ptr)
 

Static Public Attributes

static Type ScanComplete
 
static Type ScanShutdown
 
static Type ScanErrored
 
static Type AppendTextToLog
 
static Type SetStatusText
 
static Type SetStatusTitleText
 
static Type SetPercentComplete
 
static Type SetStatusRotorPosition
 
static Type SetStatusSignalToNoise
 
static Type SetStatusSignalStrength
 
static Type SetStatusSignalLock
 
static Type SetStatusChannelTuned
 

Private Member Functions

 ~ScannerEvent ()=default
 

Private Attributes

QString m_str
 
int m_intvalue {0}
 
Configurable * m_cfg_ptr {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 ( )
privatedefault

Member Function Documentation

◆ strValue() [1/2]

QString ScannerEvent::strValue ( ) const
inline

Definition at line 94 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), and ChannelScannerGUI::HandleEvent().

◆ 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

Definition at line 97 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), and ChannelScannerGUI::HandleEvent().

◆ intValue() [2/2]

void ScannerEvent::intValue ( int  intvalue)
inline

Definition at line 98 of file scanmonitor.h.

◆ boolValue()

int ScannerEvent::boolValue ( ) const
inline

Definition at line 100 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent().

◆ 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

◆ ScanComplete

QEvent::Type ScannerEvent::ScanComplete
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 106 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerGUI::HandleEvent(), ChannelScannerCLI::InformUser(), and ScanMonitor::ScanComplete().

◆ ScanShutdown

QEvent::Type ScannerEvent::ScanShutdown
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 107 of file scanmonitor.h.

Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerGUI::HandleEvent(), ChannelScannerGUI::quitScanning(), and ChannelScannerGUI::~ChannelScannerGUI().

◆ ScanErrored

QEvent::Type ScannerEvent::ScanErrored
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 108 of file scanmonitor.h.

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

◆ AppendTextToLog

QEvent::Type ScannerEvent::AppendTextToLog
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 109 of file scanmonitor.h.

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

◆ SetStatusText

QEvent::Type ScannerEvent::SetStatusText
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 110 of file scanmonitor.h.

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

◆ SetStatusTitleText

QEvent::Type ScannerEvent::SetStatusTitleText
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 111 of file scanmonitor.h.

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

◆ SetPercentComplete

QEvent::Type ScannerEvent::SetPercentComplete
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 112 of file scanmonitor.h.

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

◆ SetStatusRotorPosition

QEvent::Type ScannerEvent::SetStatusRotorPosition
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 113 of file scanmonitor.h.

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

◆ SetStatusSignalToNoise

QEvent::Type ScannerEvent::SetStatusSignalToNoise
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 114 of file scanmonitor.h.

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

◆ SetStatusSignalStrength

QEvent::Type ScannerEvent::SetStatusSignalStrength
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 115 of file scanmonitor.h.

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

◆ SetStatusSignalLock

QEvent::Type ScannerEvent::SetStatusSignalLock
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 116 of file scanmonitor.h.

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

◆ SetStatusChannelTuned

QEvent::Type ScannerEvent::SetStatusChannelTuned
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_cfg_ptr

Configurable* ScannerEvent::m_cfg_ptr {nullptr}
private

Definition at line 125 of file scanmonitor.h.

Referenced by ConfigurableValue().


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