diseqcsettings.cpp File Reference

Go to the source code of this file.

Classes

class  DeviceTypeSetting
class  DeviceDescrSetting
class  DeviceRepeatSetting
class  SwitchTypeSetting
class  SwitchPortsSetting
class  RotorTypeSetting
class  RotorLoSpeedSetting
class  RotorHiSpeedSetting
class  RotorPosConfig
class  lnb_preset
class  LNBPresetSetting
class  LNBTypeSetting
class  LNBLOFSwitchSetting
class  LNBLOFLowSetting
class  LNBLOFHighSetting
class  LNBPolarityInvertedSetting
class  SwitchSetting
class  RotorSetting
class  USALSRotorSetting

Enumerations

enum  OLD_DISEQC_TYPES {
  DISEQC_SINGLE = 0, DISEQC_MINI_2 = 1, DISEQC_SWITCH_2_1_0 = 2, DISEQC_SWITCH_2_1_1 = 3,
  DISEQC_SWITCH_4_1_0 = 4, DISEQC_SWITCH_4_1_1 = 5, DISEQC_POSITIONER_1_2 = 6, DISEQC_POSITIONER_X = 7,
  DISEQC_POSITIONER_1_2_SWITCH_2 = 8, DISEQC_POSITIONER_X_SWITCH_2 = 9, DISEQC_SW21 = 10, DISEQC_SW64 = 11
}

Functions

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

Variables

static lnb_preset lnb_presets []


Enumeration Type Documentation

Enumerator:
DISEQC_SINGLE 
DISEQC_MINI_2 
DISEQC_SWITCH_2_1_0 
DISEQC_SWITCH_2_1_1 
DISEQC_SWITCH_4_1_0 
DISEQC_SWITCH_4_1_1 
DISEQC_POSITIONER_1_2 
DISEQC_POSITIONER_X 
DISEQC_POSITIONER_1_2_SWITCH_2 
DISEQC_POSITIONER_X_SWITCH_2 
DISEQC_SW21 
DISEQC_SW64 

Definition at line 1336 of file diseqcsettings.cpp.


Function Documentation

static GlobalLineEdit* DiSEqCLatitude ( void   )  [static]

Definition at line 17 of file diseqcsettings.cpp.

Referenced by RotorConfig::RotorConfig().

static GlobalLineEdit* DiSEqCLongitude ( void   )  [static]

Definition at line 28 of file diseqcsettings.cpp.

Referenced by RotorConfig::RotorConfig().

static QString AngleToString ( double  angle  )  [static]

Definition at line 353 of file diseqcsettings.cpp.

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

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

Definition at line 365 of file diseqcsettings.cpp.

Referenced by USALSRotorSetting::load().

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

Definition at line 377 of file diseqcsettings.cpp.

Referenced by RotorPosMap::edit(), and USALSRotorSetting::save().

uint FindPreset ( const DiSEqCDevLNB lnb  ) 

Definition at line 567 of file diseqcsettings.cpp.

Referenced by LNBPresetSetting::load().

bool convert_diseqc_db ( void   ) 

Definition at line 1353 of file diseqcsettings.cpp.

Referenced by doUpgradeTVDatabaseSchema().


Variable Documentation

lnb_preset lnb_presets[] [static]

Initial value:

{
    
    lnb_preset(DeviceTree::tr("Single (Europe)"),
               DiSEqCDevLNB::kTypeVoltageControl,       0,  9750000),
    lnb_preset(DeviceTree::tr("Universal (Europe)"),
               DiSEqCDevLNB::kTypeVoltageAndToneControl,
               11700000,  9750000, 10600000),
    lnb_preset(DeviceTree::tr("Circular (N. America)"),
               DiSEqCDevLNB::kTypeVoltageControl,       0, 11250000),
    lnb_preset(DeviceTree::tr("Linear (N. America)"),
               DiSEqCDevLNB::kTypeVoltageControl,       0, 10750000),
    lnb_preset(DeviceTree::tr("C Band"),
               DiSEqCDevLNB::kTypeVoltageControl,       0,  5150000),
    lnb_preset(DeviceTree::tr("DishPro Bandstacked"),
               DiSEqCDevLNB::kTypeBandstacked,          0, 11250000, 14350000),
    lnb_preset(QString::null, DiSEqCDevLNB::kTypeVoltageControl),
}

Definition at line 548 of file diseqcsettings.cpp.


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5