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)); }
MBASE_PUBLIC QChar toQChar(RecordingType rectype)
Converts "rectype" into a human readable character.
MBASE_PUBLIC bool newEpifromDupIn(RecordingDupInType recdupin)
MBASE_PUBLIC RecordingDupInType dupInFromString(const QString &type)
static QVariant toVariant(RecordingType rectype)
MBASE_PUBLIC RecSearchType searchTypeFromString(const QString &type)
MBASE_PUBLIC int RecTypePrecedence(RecordingType rectype)
Converts a RecordingType to a simple integer so it's specificity can be compared to another.
MBASE_PUBLIC QString toRawString(RecordingType rectype)
Converts "rectype" into an untranslated string.
MBASE_PUBLIC RecordingType recTypeFromString(const QString &type)
MBASE_PUBLIC QString toDescription(RecordingType rectype)
Converts "rectype" into a human readable description.
MBASE_PUBLIC RecordingDupMethodType dupMethodFromString(const QString &type)
MBASE_PUBLIC AutoExtendType autoExtendTypeFromInt(uint8_t type)
MBASE_PUBLIC QString toString(RecordingType rectype)
Converts "rectype" into a human readable string.
MBASE_PUBLIC RecordingDupInType dupInFromStringAndBool(const QString &type, bool newEpisodesOnly)
MBASE_PUBLIC AutoExtendType autoExtendTypeFromString(const QString &type)