MythTV  0.26-pre
Typedefs | Enumerations | Functions
recordingtypes.h File Reference

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, kTimeslotRecord, kChannelRecord,
  kAllRecord, kWeekslotRecord, kFindOneRecord, kOverrideRecord,
  kDontRecord, kFindDailyRecord, kFindWeeklyRecord, kTemplateRecord
}
enum  RecordingDupInTypes { kDupsInRecorded = 0x01, kDupsInOldRecorded = 0x02, kDupsInAll = 0x0F, kDupsNewEpi = 0x10 }
enum  RecordingDupMethodType {
  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 description.
MPUBLIC QString toRawString (RecordingType)
 Converts "rectype" into an untranslated description.
MPUBLIC QChar toQChar (RecordingType)
 Converts "rectype" into a human readable character.
MPUBLIC RecordingType recTypeFromString (QString)
MPUBLIC int RecTypePriority (RecordingType rectype)
 Converts a RecordingType to a simple integer so it's specificity can be compared to another.
MPUBLIC QString toRawString (RecordingDupInType)
MPUBLIC RecordingDupInType dupInFromString (QString)
MPUBLIC QString toRawString (RecordingDupMethodType)
MPUBLIC RecordingDupMethodType dupMethodFromString (QString)
MPUBLIC QString toRawString (RecSearchType)
MPUBLIC RecSearchType searchTypeFromString (QString)

Typedef Documentation


Enumeration Type Documentation

Enumerator:
kNotRecording 
kSingleRecord 
kTimeslotRecord 
kChannelRecord 
kAllRecord 
kWeekslotRecord 
kFindOneRecord 
kOverrideRecord 
kDontRecord 
kFindDailyRecord 
kFindWeeklyRecord 
kTemplateRecord 

Definition at line 8 of file recordingtypes.h.

Enumerator:
kDupsInRecorded 
kDupsInOldRecorded 
kDupsInAll 
kDupsNewEpi 

Definition at line 30 of file recordingtypes.h.

Enumerator:
kDupCheckNone 
kDupCheckSub 
kDupCheckDesc 
kDupCheckSubDesc 
kDupCheckSubThenDesc 

Definition at line 40 of file recordingtypes.h.

Enumerator:
kNoSearch 
kPowerSearch 
kTitleSearch 
kKeywordSearch 
kPeopleSearch 
kManualSearch 

Definition at line 51 of file recordingtypes.h.


Function Documentation

MPUBLIC QString toString ( RecordingType  )

Converts "rectype" into a human readable description.

Definition at line 28 of file recordingtypes.cpp.

MPUBLIC QString toRawString ( RecordingType  )

Converts "rectype" into an untranslated description.

Definition at line 59 of file recordingtypes.cpp.

Referenced by FillRecRuleInfo().

MPUBLIC QChar toQChar ( RecordingType  )

Converts "rectype" into a human readable character.

Definition at line 116 of file recordingtypes.cpp.

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

MPUBLIC RecordingType recTypeFromString ( QString  )

Definition at line 87 of file recordingtypes.cpp.

Referenced by Dvr::AddRecordSchedule().

MPUBLIC int RecTypePriority ( 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(), comp_priority(), TitleSort::operator()(), ProgramRecPrioritySort::operator()(), and ProgramRecTypeSort::operator()().

MPUBLIC QString toRawString ( RecordingDupInType  )

Definition at line 150 of file recordingtypes.cpp.

MPUBLIC RecordingDupInType dupInFromString ( QString  )

Definition at line 167 of file recordingtypes.cpp.

Referenced by Dvr::AddRecordSchedule().

MPUBLIC QString toRawString ( RecordingDupMethodType  )

Definition at line 181 of file recordingtypes.cpp.

Definition at line 200 of file recordingtypes.cpp.

Referenced by Dvr::AddRecordSchedule().

MPUBLIC QString toRawString ( RecSearchType  )

Definition at line 216 of file recordingtypes.cpp.

MPUBLIC RecSearchType searchTypeFromString ( QString  )

Definition at line 237 of file recordingtypes.cpp.

Referenced by Dvr::AddRecordSchedule().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends