MythTV  master
Functions
recordingtypes.cpp File Reference
#include <QObject>
#include "recordingtypes.h"
Include dependency graph for recordingtypes.cpp:

Go to the source code of this file.

Functions

int RecTypePrecedence (RecordingType rectype)
 Converts a RecordingType to a simple integer so it's specificity can be compared to another. More...
 
QString toString (RecordingType rectype)
 Converts "rectype" into a human readable string. More...
 
QString toDescription (RecordingType rectype)
 Converts "rectype" into a human readable description. More...
 
QString toRawString (RecordingType rectype)
 Converts "rectype" into an untranslated string. More...
 
RecordingType recTypeFromString (const QString &type)
 
QChar toQChar (RecordingType rectype)
 Converts "rectype" into a human readable character. More...
 
QString toString (RecordingDupInType recdupin)
 
QString toDescription (RecordingDupInType recdupin)
 
QString toRawString (RecordingDupInType recdupin)
 
bool newEpifromDupIn (RecordingDupInType recdupin)
 
RecordingDupInType dupInFromString (const QString &type)
 
RecordingDupInType dupInFromStringAndBool (const QString &type, bool newEpisodesOnly)
 
QString toString (RecordingDupMethodType duptype)
 
QString toDescription (RecordingDupMethodType duptype)
 
QString toRawString (RecordingDupMethodType duptype)
 
RecordingDupMethodType dupMethodFromString (const QString &type)
 
QString toRawString (RecSearchType searchtype)
 
RecSearchType searchTypeFromString (const QString &type)
 
QString toString (AutoExtendType extType)
 
QString toDescription (AutoExtendType extType)
 
AutoExtendType autoExtendTypeFromInt (uint8_t type)
 
AutoExtendType autoExtendTypeFromString (const QString &type)
 

Function Documentation

◆ RecTypePrecedence()

int RecTypePrecedence ( RecordingType  rectype)

Converts a RecordingType to a simple integer so it's specificity can be compared to another.

Lower number means more specific.

Definition at line 7 of file recordingtypes.cpp.

Referenced by comp_overlap(), TitleSort::operator()(), ProgramRecPrioritySort::operator()(), and ProgramRecTypeSort::operator()().

◆ toString() [1/4]

QString toString ( RecordingType  rectype)

Converts "rectype" into a human readable string.

Definition at line 25 of file recordingtypes.cpp.

◆ toDescription() [1/4]

QString toDescription ( RecordingType  rectype)

◆ toRawString() [1/4]

QString toRawString ( RecordingType  rectype)

Converts "rectype" into an untranslated string.

Definition at line 76 of file recordingtypes.cpp.

Referenced by FillChannelInfo(), FillRecRuleInfo(), V2FillChannelInfo(), and V2FillRecRuleInfo().

◆ recTypeFromString()

RecordingType recTypeFromString ( const QString &  type)

◆ toQChar()

QChar toQChar ( RecordingType  rectype)

Converts "rectype" into a human readable character.

Definition at line 126 of file recordingtypes.cpp.

Referenced by Scheduler::PrintRec(), and ProgramInfo::ToMap().

◆ toString() [2/4]

QString toString ( RecordingDupInType  recdupin)

Definition at line 154 of file recordingtypes.cpp.

◆ toDescription() [2/4]

QString toDescription ( RecordingDupInType  recdupin)

Definition at line 173 of file recordingtypes.cpp.

◆ toRawString() [2/4]

QString toRawString ( RecordingDupInType  recdupin)

Definition at line 193 of file recordingtypes.cpp.

◆ newEpifromDupIn()

bool newEpifromDupIn ( RecordingDupInType  recdupin)

Definition at line 211 of file recordingtypes.cpp.

Referenced by FillRecRuleInfo(), and V2FillRecRuleInfo().

◆ dupInFromString()

RecordingDupInType dupInFromString ( const QString &  type)

◆ dupInFromStringAndBool()

RecordingDupInType dupInFromStringAndBool ( const QString &  type,
bool  newEpisodesOnly 
)

◆ toString() [3/4]

QString toString ( RecordingDupMethodType  duptype)

Definition at line 236 of file recordingtypes.cpp.

◆ toDescription() [3/4]

QString toDescription ( RecordingDupMethodType  duptype)

Definition at line 255 of file recordingtypes.cpp.

◆ toRawString() [3/4]

QString toRawString ( RecordingDupMethodType  duptype)

Definition at line 274 of file recordingtypes.cpp.

◆ dupMethodFromString()

RecordingDupMethodType dupMethodFromString ( const QString &  type)

◆ toRawString() [4/4]

QString toRawString ( RecSearchType  searchtype)

Definition at line 308 of file recordingtypes.cpp.

◆ searchTypeFromString()

RecSearchType searchTypeFromString ( const QString &  type)

◆ toString() [4/4]

QString toString ( AutoExtendType  extType)

Definition at line 346 of file recordingtypes.cpp.

◆ toDescription() [4/4]

QString toDescription ( AutoExtendType  extType)

Definition at line 361 of file recordingtypes.cpp.

◆ autoExtendTypeFromInt()

AutoExtendType autoExtendTypeFromInt ( uint8_t  type)

Definition at line 376 of file recordingtypes.cpp.

◆ autoExtendTypeFromString()

AutoExtendType autoExtendTypeFromString ( const QString &  type)

Definition at line 383 of file recordingtypes.cpp.

Referenced by V2Dvr::AddRecordSchedule(), and V2Dvr::UpdateRecordSchedule().