MythTV  master
Classes | Functions | Variables
diseqcsettings.cpp File Reference
#include <cmath>
#include "mythdbcon.h"
#include "mythlogging.h"
#include "diseqcsettings.h"
Include dependency graph for diseqcsettings.cpp:

Go to the source code of this file.

Classes

class  DeviceTypeSetting
 
class  DeviceDescrSetting
 
class  DeviceRepeatSetting
 
class  SwitchTypeSetting
 
class  SwitchAddressSetting
 
class  SwitchPortsSetting
 
class  RotorTypeSetting
 
class  RotorLoSpeedSetting
 
class  RotorHiSpeedSetting
 
class  RotorPosTextEdit
 
class  SCRUserBandSetting
 
class  SCRFrequencySetting
 
class  SCRPINSetting
 
class  lnb_preset
 
class  LNBPresetSetting
 
class  LNBTypeSetting
 
class  LNBLOFSwitchSetting
 
class  LNBLOFLowSetting
 
class  LNBLOFHighSetting
 
class  LNBPolarityInvertedSetting
 
class  SwitchSetting
 
class  RotorSetting
 
class  USALSRotorSetting
 
class  SCRPositionSetting
 

Functions

static GlobalTextEditSettingDiSEqCLatitude (void)
 
static GlobalTextEditSettingDiSEqCLongitude (void)
 
static QString AngleToString (double angle)
 
static double AngleToEdit (double angle, QString &hemi)
 
static double AngleToFloat (const QString &angle, bool translated=true)
 
static uint FindPreset (const DiSEqCDevLNB &lnb)
 

Variables

static lnb_preset lnb_presets []
 

Function Documentation

◆ DiSEqCLatitude()

static GlobalTextEditSetting* DiSEqCLatitude ( void  )
static

Definition at line 17 of file diseqcsettings.cpp.

Referenced by RotorConfig::RotorConfig().

◆ DiSEqCLongitude()

static GlobalTextEditSetting* DiSEqCLongitude ( void  )
static

Definition at line 27 of file diseqcsettings.cpp.

Referenced by RotorConfig::RotorConfig().

◆ AngleToString()

static QString AngleToString ( double  angle)
static

Definition at line 423 of file diseqcsettings.cpp.

Referenced by RotorSetting::Load(), and RotorPosMap::PopulateList().

◆ AngleToEdit()

static double AngleToEdit ( double  angle,
QString &  hemi 
)
static

Definition at line 435 of file diseqcsettings.cpp.

Referenced by USALSRotorSetting::Load().

◆ AngleToFloat()

static double AngleToFloat ( const QString &  angle,
bool  translated = true 
)
static

Definition at line 447 of file diseqcsettings.cpp.

Referenced by USALSRotorSetting::Save(), and RotorPosMap::valueChanged().

◆ FindPreset()

static uint FindPreset ( const DiSEqCDevLNB lnb)
static

Definition at line 706 of file diseqcsettings.cpp.

Referenced by LNBPresetSetting::Load().

Variable Documentation

◆ lnb_presets

lnb_preset lnb_presets[]
static
Initial value:
=
{
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "Universal (Europe)"),
11700000, 9750000, 10600000),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "Single (Europe)"),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "Circular (N. America)"),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "Linear (N. America)"),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "C Band"),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "DishPro Bandstacked"),
DiSEqCDevLNB::kTypeBandstacked, 0, 11250000, 14350000),
}

Definition at line 686 of file diseqcsettings.cpp.

Referenced by FindPreset(), LNBPresetSetting::LNBPresetSetting(), and LNBConfig::SetPreset().