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)
 
RecordingDupInType dupInFromString (const QString &type)
 
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)
 

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/3]

QString toString ( RecordingType  rectype)

Converts "rectype" into a human readable string.

Definition at line 25 of file recordingtypes.cpp.

◆ toDescription() [1/3]

QString toDescription ( RecordingType  rectype)

Converts "rectype" into a human readable description.

Definition at line 50 of file recordingtypes.cpp.

Referenced by Dvr::DupInToDescription(), Dvr::DupMethodToDescription(), SchedOptMixin::Load(), ScheduleEditor::Load(), and Dvr::RecTypeToDescription().

◆ toRawString() [1/4]

QString toRawString ( RecordingType  rectype)

Converts "rectype" into an untranslated string.

Definition at line 76 of file recordingtypes.cpp.

Referenced by FillChannelInfo(), and FillRecRuleInfo().

◆ 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/3]

QString toString ( RecordingDupInType  recdupin)

Definition at line 154 of file recordingtypes.cpp.

◆ toDescription() [2/3]

QString toDescription ( RecordingDupInType  recdupin)

Definition at line 171 of file recordingtypes.cpp.

◆ toRawString() [2/4]

QString toRawString ( RecordingDupInType  recdupin)

Definition at line 189 of file recordingtypes.cpp.

◆ dupInFromString()

RecordingDupInType dupInFromString ( const QString &  type)

◆ toString() [3/3]

QString toString ( RecordingDupMethodType  duptype)

Definition at line 219 of file recordingtypes.cpp.

◆ toDescription() [3/3]

QString toDescription ( RecordingDupMethodType  duptype)

Definition at line 238 of file recordingtypes.cpp.

◆ toRawString() [3/4]

QString toRawString ( RecordingDupMethodType  duptype)

Definition at line 257 of file recordingtypes.cpp.

◆ dupMethodFromString()

RecordingDupMethodType dupMethodFromString ( const QString &  type)

◆ toRawString() [4/4]

QString toRawString ( RecSearchType  searchtype)

Definition at line 291 of file recordingtypes.cpp.

◆ searchTypeFromString()

RecSearchType searchTypeFromString ( const QString &  type)