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
}
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 

Definition at line 8 of file recordingtypes.h.

Enumerator:
kDupsInRecorded 
kDupsInOldRecorded 
kDupsInAll 
kDupsNewEpi 

Definition at line 29 of file recordingtypes.h.

Enumerator:
kDupCheckNone 
kDupCheckSub 
kDupCheckDesc 
kDupCheckSubDesc 
kDupCheckSubThenDesc 

Definition at line 39 of file recordingtypes.h.

Enumerator:
kNoSearch 
kPowerSearch 
kTitleSearch 
kKeywordSearch 
kPeopleSearch 
kManualSearch 

Definition at line 50 of file recordingtypes.h.


Function Documentation

MPUBLIC QString toString ( RecordingType   ) 

Converts "rectype" into a human readable description.

Definition at line 27 of file recordingtypes.cpp.

MPUBLIC QString toRawString ( RecordingType   ) 

Converts "rectype" into an untranslated description.

Definition at line 56 of file recordingtypes.cpp.

Referenced by FillRecRuleInfo().

MPUBLIC QChar toQChar ( RecordingType   ) 

Converts "rectype" into a human readable character.

Definition at line 109 of file recordingtypes.cpp.

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

MPUBLIC RecordingType recTypeFromString ( QString   ) 

Definition at line 84 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(), ProgramRecTypeSort::operator()(), ProgramRecPrioritySort::operator()(), and TitleSort::operator()().

MPUBLIC QString toRawString ( RecordingDupInType   ) 

Definition at line 141 of file recordingtypes.cpp.

MPUBLIC RecordingDupInType dupInFromString ( QString   ) 

Definition at line 158 of file recordingtypes.cpp.

Referenced by Dvr::AddRecordSchedule().

MPUBLIC QString toRawString ( RecordingDupMethodType   ) 

Definition at line 172 of file recordingtypes.cpp.

MPUBLIC RecordingDupMethodType dupMethodFromString ( QString   ) 

Definition at line 191 of file recordingtypes.cpp.

Referenced by Dvr::AddRecordSchedule().

MPUBLIC QString toRawString ( RecSearchType   ) 

Definition at line 207 of file recordingtypes.cpp.

MPUBLIC RecSearchType searchTypeFromString ( QString   ) 

Definition at line 228 of file recordingtypes.cpp.

Referenced by Dvr::AddRecordSchedule().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri Feb 10 06:41:44 2012 for MythTV by  doxygen 1.6.3