Go to the documentation of this file. 1 #ifndef RECORDINGTYPES_H_
2 #define RECORDINGTYPES_H_
41 {
return QVariant::fromValue(
static_cast<int>(rectype)); }
60 {
return QVariant::fromValue(
static_cast<int>(recdupin)); }
76 {
return QVariant::fromValue(
static_cast<int>(recdupmeth)); }
91 {
return QVariant::fromValue(
static_cast<int>(recsearch)); }
105 {
return QVariant::fromValue(
static_cast<int>(extType)); }
MBASE_PUBLIC RecordingDupInType dupInFromString(const QString &type)
MBASE_PUBLIC bool newEpifromDupIn(RecordingDupInType recdupin)
MBASE_PUBLIC RecordingType recTypeFromString(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 QString toString(RecordingType rectype)
Converts "rectype" into a human readable string.
MBASE_PUBLIC QChar toQChar(RecordingType rectype)
Converts "rectype" into a human readable character.
static QVariant toVariant(RecordingType rectype)
MBASE_PUBLIC AutoExtendType autoExtendTypeFromString(const QString &type)
MBASE_PUBLIC RecordingDupInType dupInFromStringAndBool(const QString &type, bool newEpisodesOnly)
MBASE_PUBLIC QString toDescription(RecordingType rectype)
Converts "rectype" into a human readable description.
MBASE_PUBLIC RecordingDupMethodType dupMethodFromString(const QString &type)
MBASE_PUBLIC RecSearchType searchTypeFromString(const QString &type)
MBASE_PUBLIC AutoExtendType autoExtendTypeFromInt(uint8_t type)