|
MythTV
0.27pre
|
#include <programdata.h>


Public Member Functions | |
| DBEvent (uint _listingsource) | |
| DBEvent (const QString &_title, const QString &_subtitle, const QString &_desc, const QString &_category, ProgramInfo::CategoryType _category_type, const QDateTime &_start, const QDateTime &_end, unsigned char _subtitleType, unsigned char _audioProps, unsigned char _videoProps, float _stars, const QString &_seriesId, const QString &_programId, uint32_t _listingsource) | |
| virtual | ~DBEvent () |
| void | AddPerson (DBPerson::Role, const QString &name) |
| void | AddPerson (const QString &role, const QString &name) |
| uint | UpdateDB (MSqlQuery &query, uint chanid, int match_threshold) const |
| bool | HasCredits (void) const |
| bool | HasTimeConflict (const DBEvent &other) const |
| DBEvent & | operator= (const DBEvent &) |
Public Attributes | |
| QString | title |
| QString | subtitle |
| QString | description |
| QString | category |
| QDateTime | starttime |
| QDateTime | endtime |
| uint16_t | airdate |
| movie year / production year | |
| QDate | originalairdate |
| origial broadcast date | |
| DBCredits * | credits |
| uint16_t | partnumber |
| uint16_t | parttotal |
| QString | syndicatedepisodenumber |
| unsigned char | subtitleType |
| unsigned char | audioProps |
| unsigned char | videoProps |
| float | stars |
| ProgramInfo::CategoryType | categoryType |
| QString | seriesId |
| QString | programId |
| bool | previouslyshown |
| uint32_t | listingsource |
| QList< EventRating > | ratings |
Protected Member Functions | |
| uint | GetOverlappingPrograms (MSqlQuery &, uint chanid, vector< DBEvent > &programs) const |
| int | GetMatch (const vector< DBEvent > &programs, int &bestmatch) const |
| uint | UpdateDB (MSqlQuery &, uint chanid, const vector< DBEvent > &p, int match) const |
| uint | UpdateDB (MSqlQuery &, uint chanid, const DBEvent &match) const |
| bool | MoveOutOfTheWayDB (MSqlQuery &, uint chanid, const DBEvent &nonmatch) const |
| virtual uint | InsertDB (MSqlQuery &, uint chanid) const |
| virtual void | Squeeze (void) |
Definition at line 71 of file programdata.h.
|
inline |
Definition at line 74 of file programdata.h.
|
inline |
Definition at line 95 of file programdata.h.
|
inlinevirtual |
Definition at line 124 of file programdata.h.
| void DBEvent::AddPerson | ( | DBPerson::Role | role, |
| const QString & | name | ||
| ) |
Definition at line 187 of file programdata.cpp.
Referenced by EITFixUp::FixAUFreeview(), EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixPremiere(), and parseCredits().
| void DBEvent::AddPerson | ( | const QString & | role, |
| const QString & | name | ||
| ) |
Definition at line 195 of file programdata.cpp.
Definition at line 209 of file programdata.cpp.
Referenced by UpdateDB(), and DBEventEIT::UpdateDB().
Definition at line 131 of file programdata.h.
Definition at line 203 of file programdata.cpp.
Definition at line 126 of file programdata.cpp.
|
protected |
Definition at line 242 of file programdata.cpp.
Referenced by UpdateDB().
Definition at line 371 of file programdata.cpp.
Referenced by UpdateDB().
|
protected |
Definition at line 445 of file programdata.cpp.
Definition at line 468 of file programdata.cpp.
|
protected |
Definition at line 677 of file programdata.cpp.
Referenced by UpdateDB().
Reimplemented in ProgInfo.
Definition at line 701 of file programdata.cpp.
Referenced by UpdateDB().
Reimplemented in ProgInfo.
Definition at line 176 of file programdata.cpp.
Referenced by operator=().
| QString DBEvent::title |
Definition at line 151 of file programdata.h.
Referenced by ProgramData::DeleteOverlaps(), EITFixUp::Fix(), EITFixUp::FixAUDescription(), EITFixUp::FixAUNine(), EITFixUp::FixComHem(), EITFixUp::FixDK(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixNRK_DVBT(), EITFixUp::FixPremiere(), EITFixUp::FixUK(), GetMatch(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseFile(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| QString DBEvent::subtitle |
Definition at line 152 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixAUFreeview(), EITFixUp::FixAUNine(), EITFixUp::FixComHem(), EITFixUp::FixDK(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixNRK_DVBT(), EITFixUp::FixRTL(), EITFixUp::FixUK(), GetMatch(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| QString DBEvent::description |
Definition at line 153 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixAUDescription(), EITFixUp::FixAUFreeview(), EITFixUp::FixAUNine(), EITFixUp::FixAUSeven(), EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixDK(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixPremiere(), EITFixUp::FixRTL(), EITFixUp::FixUK(), GetMatch(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseFile(), XMLTVParser::parseProgram(), EITFixUp::SetUKSubtitle(), Squeeze(), and UpdateDB().
| QString DBEvent::category |
Definition at line 154 of file programdata.h.
Referenced by EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixNL(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| QDateTime DBEvent::starttime |
Definition at line 155 of file programdata.h.
Referenced by ProgramData::DeleteOverlaps(), EITFixUp::FixCategory(), EITFixUp::FixComHem(), GetMatch(), GetOverlappingPrograms(), HasTimeConflict(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), MoveOutOfTheWayDB(), operator=(), XMLTVParser::parseProgram(), start_time_less_than(), and UpdateDB().
| QDateTime DBEvent::endtime |
Definition at line 156 of file programdata.h.
Referenced by ProgramData::DeleteOverlaps(), EITFixUp::FixCategory(), GetMatch(), GetOverlappingPrograms(), HasTimeConflict(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), MoveOutOfTheWayDB(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| uint16_t DBEvent::airdate |
movie year / production year
Definition at line 157 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| QDate DBEvent::originalairdate |
origial broadcast date
Definition at line 158 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| DBCredits* DBEvent::credits |
Definition at line 159 of file programdata.h.
Referenced by AddPerson(), InsertDB(), ProgInfo::InsertDB(), operator=(), and UpdateDB().
| uint16_t DBEvent::partnumber |
Definition at line 160 of file programdata.h.
Referenced by EITFixUp::FixComHem(), GetOverlappingPrograms(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| uint16_t DBEvent::parttotal |
Definition at line 161 of file programdata.h.
Referenced by EITFixUp::FixComHem(), EITFixUp::FixDK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| QString DBEvent::syndicatedepisodenumber |
Definition at line 162 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| unsigned char DBEvent::subtitleType |
Definition at line 163 of file programdata.h.
Referenced by EITFixUp::FixDK(), EITFixUp::FixUK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| unsigned char DBEvent::audioProps |
Definition at line 164 of file programdata.h.
Referenced by EITFixUp::FixDK(), EITFixUp::FixUK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), parseAudio(), and UpdateDB().
| unsigned char DBEvent::videoProps |
Definition at line 165 of file programdata.h.
Referenced by EITFixUp::FixDK(), EITFixUp::FixUK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), parseVideo(), and UpdateDB().
| float DBEvent::stars |
Definition at line 166 of file programdata.h.
Referenced by InsertDB(), and operator=().
| ProgramInfo::CategoryType DBEvent::categoryType |
Definition at line 167 of file programdata.h.
Referenced by EITFixUp::FixBellExpressVu(), EITFixUp::FixCategory(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| QString DBEvent::seriesId |
Definition at line 168 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixDK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| QString DBEvent::programId |
Definition at line 169 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixDK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| bool DBEvent::previouslyshown |
Definition at line 170 of file programdata.h.
Referenced by EITFixUp::FixDK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| uint32_t DBEvent::listingsource |
Definition at line 171 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), operator=(), and UpdateDB().
| QList<EventRating> DBEvent::ratings |
Definition at line 172 of file programdata.h.
Referenced by ProgInfo::InsertDB(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
1.8.1.2