1#ifndef RECORDINGTYPES_H_
2#define RECORDINGTYPES_H_
40 {
return QVariant::fromValue(
static_cast<int>(rectype)); }
59 {
return QVariant::fromValue(
static_cast<int>(recdupin)); }
75 {
return QVariant::fromValue(
static_cast<int>(recdupmeth)); }
90 {
return QVariant::fromValue(
static_cast<int>(recsearch)); }
104 {
return QVariant::fromValue(
static_cast<int>(extType)); }
MTV_PUBLIC bool newEpifromDupIn(RecordingDupInType recdupin)
static QVariant toVariant(RecordingType rectype)
MTV_PUBLIC QString toDescription(RecordingType rectype)
Converts "rectype" into a human readable description.
MTV_PUBLIC QString toString(RecordingType rectype)
Converts "rectype" into a human readable string.
MTV_PUBLIC RecSearchType searchTypeFromString(const QString &type)
MTV_PUBLIC RecordingDupInType dupInFromStringAndBool(const QString &type, bool newEpisodesOnly)
MTV_PUBLIC QChar toQChar(RecordingType rectype)
Converts "rectype" into a human readable character.
MTV_PUBLIC int RecTypePrecedence(RecordingType rectype)
Converts a RecordingType to a simple integer so it's specificity can be compared to another.
MTV_PUBLIC RecordingDupInType dupInFromString(const QString &type)
MTV_PUBLIC RecordingType recTypeFromString(const QString &type)
MTV_PUBLIC RecordingDupMethodType dupMethodFromString(const QString &type)
MTV_PUBLIC QString toRawString(RecordingType rectype)
Converts "rectype" into an untranslated string.
MTV_PUBLIC AutoExtendType autoExtendTypeFromInt(uint8_t type)
MTV_PUBLIC AutoExtendType autoExtendTypeFromString(const QString &type)