MythTV
master
|
#include <libmythbase/recordingstatus.h>
Public Types | |
enum | Type { Pending = -15, Failing = -14, MissedFuture = -11, Tuning = -10, Failed = -9, TunerBusy = -8, LowDiskSpace = -7, Cancelled = -6, Missed = -5, Aborted = -4, Recorded = -3, Recording = -2, WillRecord = -1, Unknown = 0, DontRecord = 1, PreviousRecording = 2, CurrentRecording = 3, EarlierShowing = 4, TooManyRecordings = 5, NotListed = 6, Conflict = 7, LaterShowing = 8, Repeat = 9, Inactive = 10, NeverRecord = 11, Offline = 12 } |
Public Member Functions | |
Q_INVOKABLE | RecStatus (QObject *parent=nullptr) |
Static Public Member Functions | |
static QString | toUIState (RecStatus::Type recstatus) |
static QString | toString (RecStatus::Type recstatus, uint id) |
Converts "recstatus" into a short (unreadable) string. More... | |
static QString | toString (RecStatus::Type recstatus, const QString &name) |
Converts "recstatus" into a short (unreadable) string. More... | |
static QString | toString (RecStatus::Type recstatus, RecordingType type=kNotRecording) |
Converts "recstatus" into a human readable string. More... | |
static QString | toDescription (Type recstatus, RecordingType rectype, const QDateTime &recstartts) |
Converts "recstatus" into a long human readable description. More... | |
static void | InitializeCustomTypes () |
Definition at line 10 of file recordingstatus.h.
enum RecStatus::Type |
Definition at line 16 of file recordingstatus.h.
|
inlineexplicit |
Definition at line 59 of file recordingstatus.h.
|
static |
Definition at line 5 of file recordingstatus.cpp.
Referenced by ProgLister::HandleVisible(), Scheduler::SlaveConnected(), PrevRecordedList::UpdateList(), ProgFinder::updateTimesList(), and ViewScheduleDiff::updateUIList().
|
static |
Converts "recstatus" into a short (unreadable) string.
Definition at line 40 of file recordingstatus.cpp.
Referenced by DTVRecorder::BufferedWrite(), StatusBox::doScheduleStatus(), TVRec::FinishedRecording(), Scheduler::HandleRecordingStatusChange(), DTVRecorder::HandleTimestamps(), ProgDetails::loadPage(), Scheduler::PrintRec(), RecordingExtender::processActiveRecordings(), RecordingExtender::processNewRecordings(), Dvr::RecStatusToString(), V2Dvr::RecStatusToString(), RecorderBase::SetRecordingStatus(), TVRec::SetRecordingStatus(), ProgramInfo::ToMap(), TVRec::TuningNewRecorder(), TVRec::TuningSignalCheck(), ProgramRecPriority::updateInfo(), ProgramRecPriority::UpdateList(), Scheduler::UpdateRecStatus(), and ViewScheduleDiff::updateUIList().
|
static |
Converts "recstatus" into a short (unreadable) string.
Definition at line 46 of file recordingstatus.cpp.
|
static |
Converts "recstatus" into a human readable string.
Definition at line 124 of file recordingstatus.cpp.
|
static |
Converts "recstatus" into a long human readable description.
Definition at line 188 of file recordingstatus.cpp.
Referenced by ScheduleCommon::EditRecording(), Dvr::RecStatusToDescription(), V2Dvr::RecStatusToDescription(), ViewScheduleDiff::showStatus(), and ProgramInfo::ToMap().
|
inlinestatic |
Definition at line 65 of file recordingstatus.h.
Referenced by DTC::RecordingInfo::InitializeCustomTypes().