MythTV  master
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ScanInfo Class Reference

#include <scaninfo.h>

Collaboration diagram for ScanInfo:
Collaboration graph

Public Member Functions

 ScanInfo ()=default
 ScanInfo (uint scanid, uint cardid, uint sourceid, bool processed, QDateTime scandate)

Static Public Member Functions

static bool MarkProcessed (uint scanid)
static bool DeleteScan (uint scanid)
static void DeleteScansFromSource (uint sourceid)

Public Attributes

uint m_scanid {0}
uint m_cardid {0}
uint m_sourceid {0}
bool m_processed {false}
QDateTime m_scandate

Detailed Description

Definition at line 17 of file scaninfo.h.

Constructor & Destructor Documentation

◆ ScanInfo() [1/2]

ScanInfo::ScanInfo ( )

◆ ScanInfo() [2/2]

ScanInfo::ScanInfo ( uint  scanid,
uint  cardid,
uint  sourceid,
bool  processed,
QDateTime  scandate 

Definition at line 15 of file scaninfo.cpp.

Member Function Documentation

◆ MarkProcessed()

bool ScanInfo::MarkProcessed ( uint  scanid)

Definition at line 200 of file scaninfo.cpp.

Referenced by ChannelImporter::Process().

◆ DeleteScan()

bool ScanInfo::DeleteScan ( uint  scanid)

Definition at line 218 of file scaninfo.cpp.

Referenced by DeleteScansFromSource(), and SaveScan().

◆ DeleteScansFromSource()

void ScanInfo::DeleteScansFromSource ( uint  sourceid)

Definition at line 257 of file scaninfo.cpp.

Referenced by SourceUtil::DeleteSource().

Member Data Documentation

◆ m_scanid

uint ScanInfo::m_scanid {0}

Definition at line 29 of file scaninfo.h.

◆ m_cardid

uint ScanInfo::m_cardid {0}

Definition at line 30 of file scaninfo.h.

◆ m_sourceid

uint ScanInfo::m_sourceid {0}

Definition at line 31 of file scaninfo.h.

◆ m_processed

bool ScanInfo::m_processed {false}

Definition at line 32 of file scaninfo.h.

◆ m_scandate

QDateTime ScanInfo::m_scandate

Definition at line 33 of file scaninfo.h.

The documentation for this class was generated from the following files: