MythTV  master
Typedefs | Enumerations | Functions
recordingtypes.h File Reference
#include <QString>
#include "mythexp.h"
Include dependency graph for recordingtypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum RecordingTypes RecordingType
 
typedef enum RecordingDupInTypes RecordingDupInType
 
typedef enum RecordingDupMethodType RecordingDupMethodType
 
typedef enum RecSearchTypes RecSearchType
 

Enumerations

enum  RecordingTypes {
  kNotRecording = 0, kSingleRecord = 1, kDailyRecord = 2, kAllRecord = 4,
  kWeeklyRecord = 5, kOneRecord = 6, kOverrideRecord = 7, kDontRecord = 8,
  kTemplateRecord = 11
}
 
enum  RecordingDupInTypes {
  kDupsUnset = 0x00, kDupsInRecorded = 0x01, kDupsInOldRecorded = 0x02, kDupsInAll = 0x0F,
  kDupsNewEpi = 0x10
}
 
enum  RecordingDupMethodType {
  kDupCheckUnset = 0x00, kDupCheckNone = 0x01, kDupCheckSub = 0x02, kDupCheckDesc = 0x04,
  kDupCheckSubDesc = 0x06, kDupCheckSubThenDesc = 0x08
}
 
enum  RecSearchTypes {
  kNoSearch = 0, kPowerSearch, kTitleSearch, kKeywordSearch,
  kPeopleSearch, kManualSearch
}
 

Functions

MPUBLIC QString toString (RecordingType)
 Converts "rectype" into a human readable string. More...
 
MPUBLIC QString toDescription (RecordingType)
 Converts "rectype" into a human readable description. More...
 
MPUBLIC QString toRawString (RecordingType)
 Converts "rectype" into an untranslated string. More...
 
MPUBLIC QChar toQChar (RecordingType)
 Converts "rectype" into a human readable character. More...
 
MPUBLIC RecordingType recTypeFromString (QString)
 
MPUBLIC int RecTypePrecedence (RecordingType rectype)
 Converts a RecordingType to a simple integer so it's specificity can be compared to another. More...
 
MPUBLIC QString toString (RecordingDupInType)
 
MPUBLIC QString toDescription (RecordingDupInType)
 
MPUBLIC QString toRawString (RecordingDupInType)
 
MPUBLIC RecordingDupInType dupInFromString (QString)
 
MPUBLIC QString toString (RecordingDupMethodType)
 
MPUBLIC QString toDescription (RecordingDupMethodType)
 
MPUBLIC QString toRawString (RecordingDupMethodType)
 
MPUBLIC RecordingDupMethodType dupMethodFromString (QString)
 
MPUBLIC QString toString (RecSearchType)
 
MPUBLIC QString toRawString (RecSearchType)
 
MPUBLIC RecSearchType searchTypeFromString (QString)
 

Typedef Documentation

◆ RecordingType

◆ RecordingDupInType

◆ RecordingDupMethodType

◆ RecSearchType

Enumeration Type Documentation

◆ RecordingTypes

Enumerator
kNotRecording 
kSingleRecord 
kDailyRecord 
kAllRecord 
kWeeklyRecord 
kOneRecord 
kOverrideRecord 
kDontRecord 
kTemplateRecord 

Definition at line 19 of file recordingtypes.h.

◆ RecordingDupInTypes

Enumerator
kDupsUnset 
kDupsInRecorded 
kDupsInOldRecorded 
kDupsInAll 
kDupsNewEpi 

Definition at line 42 of file recordingtypes.h.

◆ RecordingDupMethodType

Enumerator
kDupCheckUnset 
kDupCheckNone 
kDupCheckSub 
kDupCheckDesc 
kDupCheckSubDesc 
kDupCheckSubThenDesc 

Definition at line 55 of file recordingtypes.h.

◆ RecSearchTypes

Enumerator
kNoSearch 
kPowerSearch 
kTitleSearch 
kKeywordSearch 
kPeopleSearch 
kManualSearch 

Definition at line 69 of file recordingtypes.h.

Function Documentation

◆ toString() [1/4]

MPUBLIC QString toString ( RecordingType  )

Converts "rectype" into a human readable string.

Definition at line 25 of file recordingtypes.cpp.

◆ toDescription() [1/3]

MPUBLIC QString toDescription ( RecordingType  )

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]

MPUBLIC QString toRawString ( RecordingType  )

Converts "rectype" into an untranslated string.

Definition at line 76 of file recordingtypes.cpp.

Referenced by FillRecRuleInfo().

◆ toQChar()

MPUBLIC QChar toQChar ( RecordingType  )

Converts "rectype" into a human readable character.

Definition at line 127 of file recordingtypes.cpp.

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

◆ recTypeFromString()

MPUBLIC RecordingType recTypeFromString ( QString  )

◆ RecTypePrecedence()

MPUBLIC 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() [2/4]

MPUBLIC QString toString ( RecordingDupInType  )

Definition at line 155 of file recordingtypes.cpp.

◆ toDescription() [2/3]

MPUBLIC QString toDescription ( RecordingDupInType  )

Definition at line 172 of file recordingtypes.cpp.

◆ toRawString() [2/4]

MPUBLIC QString toRawString ( RecordingDupInType  )

Definition at line 190 of file recordingtypes.cpp.

◆ dupInFromString()

MPUBLIC RecordingDupInType dupInFromString ( QString  )

◆ toString() [3/4]

MPUBLIC QString toString ( RecordingDupMethodType  )

Definition at line 221 of file recordingtypes.cpp.

◆ toDescription() [3/3]

MPUBLIC QString toDescription ( RecordingDupMethodType  )

Definition at line 240 of file recordingtypes.cpp.

◆ toRawString() [3/4]

MPUBLIC QString toRawString ( RecordingDupMethodType  )

Definition at line 259 of file recordingtypes.cpp.

◆ dupMethodFromString()

MPUBLIC RecordingDupMethodType dupMethodFromString ( QString  )

◆ toString() [4/4]

MPUBLIC QString toString ( RecSearchType  )

◆ toRawString() [4/4]

MPUBLIC QString toRawString ( RecSearchType  )

Definition at line 294 of file recordingtypes.cpp.

◆ searchTypeFromString()

MPUBLIC RecSearchType searchTypeFromString ( QString  )