|
MythTV
0.26-pre
|
#include <programdata.h>
Public Types | |
| enum | Role { kUnknown = 0, kActor, kDirector, kProducer, kExecutiveProducer, kWriter, kGuestStar, kHost, kAdapter, kPresenter, kCommentator, kGuest } |
Public Member Functions | |
| DBPerson (const DBPerson &) | |
| DBPerson (Role _role, const QString &_name) | |
| DBPerson (const QString &_role, const QString &_name) | |
| QString | GetRole (void) const |
| uint | InsertDB (MSqlQuery &query, uint chanid, const QDateTime &starttime) const |
Private Member Functions | |
| uint | GetPersonDB (MSqlQuery &query) const |
| uint | InsertPersonDB (MSqlQuery &query) const |
| uint | InsertCreditsDB (MSqlQuery &query, uint personid, uint chanid, const QDateTime &starttime) const |
Private Attributes | |
| Role | role |
| QString | name |
Definition at line 23 of file programdata.h.
| enum DBPerson::Role |
| kUnknown | |
| kActor | |
| kDirector | |
| kProducer | |
| kExecutiveProducer | |
| kWriter | |
| kGuestStar | |
| kHost | |
| kAdapter | |
| kPresenter | |
| kCommentator | |
| kGuest |
Definition at line 26 of file programdata.h.
| DBPerson::DBPerson | ( | const DBPerson & | other | ) |
Definition at line 32 of file programdata.cpp.
| DBPerson::DBPerson | ( | Role | _role, |
| const QString & | _name | ||
| ) |
Definition at line 38 of file programdata.cpp.
| DBPerson::DBPerson | ( | const QString & | _role, |
| const QString & | _name | ||
| ) |
Definition at line 44 of file programdata.cpp.
| QString DBPerson::GetRole | ( | void | ) | const |
Definition at line 58 of file programdata.cpp.
Referenced by InsertCreditsDB().
| uint DBPerson::InsertDB | ( | MSqlQuery & | query, |
| uint | chanid, | ||
| const QDateTime & | starttime | ||
| ) | const |
Definition at line 65 of file programdata.cpp.
| uint DBPerson::GetPersonDB | ( | MSqlQuery & | query | ) | const [private] |
Definition at line 75 of file programdata.cpp.
Referenced by InsertDB().
| uint DBPerson::InsertPersonDB | ( | MSqlQuery & | query | ) | const [private] |
Definition at line 91 of file programdata.cpp.
Referenced by InsertDB().
| uint DBPerson::InsertCreditsDB | ( | MSqlQuery & | query, |
| uint | personid, | ||
| uint | chanid, | ||
| const QDateTime & | starttime | ||
| ) | const [private] |
Definition at line 105 of file programdata.cpp.
Referenced by InsertDB().
Role DBPerson::role [private] |
Definition at line 58 of file programdata.h.
Referenced by DBPerson(), and GetRole().
QString DBPerson::name [private] |
Definition at line 59 of file programdata.h.
Referenced by DBPerson(), GetPersonDB(), and InsertPersonDB().
1.7.6.1