MythTV
master
|
#include <mythplugins/mythgame/mythgame/rominfo.h>
Public Member Functions | |
RomInfo (int lid=0, QString lromname="", QString lsystem="", QString lgamename="", QString lgenre="", QString lyear="", bool lfavorite=false, QString lrompath="", QString lcountry="", QString lcrc_value="", int ldiskcount=0, QString lgametype="", int lromcount=0, QString lallsystems="", QString lplot="", QString lpublisher="", QString lversion="", QString lscreenshot="", QString lfanart="", QString lboxart="", QString linetref="") | |
RomInfo (const RomInfo &lhs)=default | |
~RomInfo ()=default | |
int | Id () const |
void | setId (int lid) |
QString | Rompath () const |
void | setRompath (const QString &lrompath) |
QString | Screenshot () const |
void | setScreenshot (const QString &lscreenshot) |
QString | Fanart () const |
void | setFanart (const QString &lfanart) |
QString | Boxart () const |
void | setBoxart (const QString &lboxart) |
QString | Romname () const |
void | setRomname (const QString &lromname) |
QString | System () const |
void | setSystem (const QString &lsystem) |
QString | Gamename () const |
void | setGamename (const QString &lgamename) |
QString | Genre () const |
void | setGenre (const QString &lgenre) |
QString | Country () const |
void | setCountry (const QString &lcountry) |
QString | GameType () const |
void | setGameType (const QString &lgametype) |
int | RomCount () const |
void | setRomCount (int lromcount) |
QString | AllSystems () const |
void | setAllSystems (const QString &lallsystems) |
int | DiskCount () const |
void | setDiskCount (int ldiskcount) |
QString | CRC_VALUE () const |
void | setCRC_VALUE (const QString &lcrc_value) |
QString | Plot () const |
void | setPlot (const QString &lplot) |
QString | Publisher () const |
void | setPublisher (const QString &lpublisher) |
QString | Version () const |
void | setVersion (const QString &lversion) |
QString | Year () const |
void | setYear (const QString &lyear) |
QString | Inetref () const |
void | setInetref (const QString &linetref) |
bool | Favorite () const |
void | setFavorite (bool updateDatabase=false) |
QString | getExtension () const |
QString | toString () const |
void | setField (const QString &field, const QString &data) |
void | fillData () |
void | SaveToDatabase () const |
void | DeleteFromDatabase () const |
Static Public Member Functions | |
static QList< RomInfo * > | GetAllRomInfo () |
static RomInfo * | GetRomInfoById (int id) |
static bool | FindImage (QString BaseFileName, QString *result) |
Protected Attributes | |
int | m_id |
QString | m_romname |
QString | m_system |
QString | m_gamename |
QString | m_genre |
QString | m_country |
QString | m_crcValue |
QString | m_gametype |
QString | m_allsystems |
QString | m_plot |
QString | m_publisher |
QString | m_version |
int | m_romcount |
int | m_diskcount |
QString | m_year |
bool | m_favorite |
QString | m_rompath |
QString | m_screenshot |
QString | m_fanart |
QString | m_boxart |
QString | m_inetref |
|
inlineexplicit |
Definition at line 20 of file rominfo.h.
Referenced by GetAllRomInfo(), and GetRomInfoById().
|
default |
|
default |
|
static |
Definition at line 320 of file rominfo.cpp.
Referenced by GameScannerThread::run().
|
static |
Definition at line 368 of file rominfo.cpp.
Referenced by GameScannerThread::removeOrphan().
|
static |
Definition at line 144 of file rominfo.cpp.
|
inline |
Definition at line 57 of file rominfo.h.
Referenced by toString().
|
inline |
Definition at line 58 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 60 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), DeleteFromDatabase(), GameHandler::Launchgame(), SaveToDatabase(), and toString().
|
inline |
Definition at line 61 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 63 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), EditRomInfoDialog::fillWidgets(), SaveToDatabase(), and GameUI::updateRomInfo().
|
inline |
Definition at line 64 of file rominfo.h.
Referenced by fillData(), and EditRomInfoDialog::SetScreenshot().
|
inline |
Definition at line 66 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), EditRomInfoDialog::fillWidgets(), SaveToDatabase(), and GameUI::updateRomInfo().
|
inline |
Definition at line 67 of file rominfo.h.
Referenced by fillData(), and EditRomInfoDialog::SetFanart().
|
inline |
Definition at line 69 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), EditRomInfoDialog::fillWidgets(), SaveToDatabase(), and GameUI::updateRomInfo().
|
inline |
Definition at line 70 of file rominfo.h.
Referenced by fillData(), and EditRomInfoDialog::SetBoxart().
|
inline |
Definition at line 72 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), DeleteFromDatabase(), fillData(), getExtension(), GameHandler::Launchgame(), operator==(), SaveToDatabase(), and toString().
|
inline |
Definition at line 73 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 75 of file rominfo.h.
Referenced by GameHandler::GetHandler(), SaveToDatabase(), and GameUI::updateRomInfo().
|
inline |
Definition at line 76 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 78 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), EditRomInfoDialog::fillWidgets(), SaveToDatabase(), toString(), and GameUI::updateRomInfo().
|
inline |
Definition at line 79 of file rominfo.h.
Referenced by fillData(), GameUI::OnGameSearchDone(), and EditRomInfoDialog::SetGamename().
|
inline |
Definition at line 81 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), EditRomInfoDialog::fillWidgets(), SaveToDatabase(), and GameUI::updateRomInfo().
|
inline |
Definition at line 82 of file rominfo.h.
Referenced by fillData(), and EditRomInfoDialog::SetGenre().
|
inline |
Definition at line 84 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), EditRomInfoDialog::fillWidgets(), and SaveToDatabase().
|
inline |
Definition at line 85 of file rominfo.h.
Referenced by fillData(), and EditRomInfoDialog::SetCountry().
|
inline |
Definition at line 87 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), and SaveToDatabase().
|
inline |
Definition at line 88 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 90 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 91 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 93 of file rominfo.h.
Referenced by GameDetailsPopup::Create().
|
inline |
|
inline |
Definition at line 96 of file rominfo.h.
Referenced by GameHandler::Launchgame().
|
inline |
Definition at line 97 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 99 of file rominfo.h.
Referenced by GameDetailsPopup::Create().
|
inline |
Definition at line 100 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 102 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), EditRomInfoDialog::fillWidgets(), SaveToDatabase(), and GameUI::updateRomInfo().
|
inline |
Definition at line 103 of file rominfo.h.
Referenced by fillData(), and EditRomInfoDialog::SetPlot().
|
inline |
Definition at line 105 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), EditRomInfoDialog::fillWidgets(), and SaveToDatabase().
|
inline |
Definition at line 106 of file rominfo.h.
Referenced by fillData(), and EditRomInfoDialog::SetPublisher().
|
inline |
Definition at line 108 of file rominfo.h.
Referenced by SaveToDatabase().
|
inline |
Definition at line 109 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 111 of file rominfo.h.
Referenced by GameDetailsPopup::Create(), EditRomInfoDialog::fillWidgets(), SaveToDatabase(), and GameUI::updateRomInfo().
|
inline |
Definition at line 112 of file rominfo.h.
Referenced by fillData(), and EditRomInfoDialog::SetYear().
|
inline |
Definition at line 114 of file rominfo.h.
Referenced by SaveToDatabase().
|
inline |
Definition at line 115 of file rominfo.h.
Referenced by fillData().
|
inline |
Definition at line 117 of file rominfo.h.
Referenced by EditRomInfoDialog::fillWidgets(), SaveToDatabase(), GameUI::updateChangedNode(), and GameUI::updateRomInfo().
Definition at line 213 of file rominfo.cpp.
Referenced by EditRomInfoDialog::ToggleFavorite(), and GameUI::toggleFavorite().
QString RomInfo::getExtension | ( | ) | const |
Definition at line 234 of file rominfo.cpp.
Referenced by GameHandler::Launchgame().
QString RomInfo::toString | ( | ) | const |
Definition at line 416 of file rominfo.cpp.
void RomInfo::setField | ( | const QString & | field, |
const QString & | data | ||
) |
Definition at line 172 of file rominfo.cpp.
Referenced by fillData(), and GameUI::fillNode().
void RomInfo::fillData | ( | ) |
Definition at line 247 of file rominfo.cpp.
Referenced by GameUI::nodeChanged().
void RomInfo::SaveToDatabase | ( | ) | const |
Definition at line 20 of file rominfo.cpp.
Referenced by GameScannerThread::updateDB().
void RomInfo::DeleteFromDatabase | ( | ) | const |
Definition at line 97 of file rominfo.cpp.
|
protected |
Definition at line 130 of file rominfo.h.
Referenced by Id(), SaveToDatabase(), and setId().
|
protected |
Definition at line 131 of file rominfo.h.
Referenced by fillData(), Romname(), setFavorite(), and setRomname().
|
protected |
Definition at line 132 of file rominfo.h.
Referenced by fillData(), setField(), setSystem(), and System().
|
protected |
Definition at line 133 of file rominfo.h.
Referenced by fillData(), Gamename(), setField(), and setGamename().
|
protected |
Definition at line 134 of file rominfo.h.
Referenced by Genre(), setField(), and setGenre().
|
protected |
Definition at line 135 of file rominfo.h.
Referenced by Country(), setCountry(), and setField().
|
protected |
Definition at line 136 of file rominfo.h.
Referenced by CRC_VALUE(), setCRC_VALUE(), and setField().
|
protected |
Definition at line 137 of file rominfo.h.
Referenced by fillData(), GameType(), setField(), and setGameType().
|
protected |
Definition at line 138 of file rominfo.h.
Referenced by AllSystems(), fillData(), and setAllSystems().
|
protected |
Definition at line 139 of file rominfo.h.
Referenced by Plot(), setField(), and setPlot().
|
protected |
Definition at line 140 of file rominfo.h.
Referenced by Publisher(), setField(), and setPublisher().
|
protected |
Definition at line 141 of file rominfo.h.
Referenced by setVersion(), and Version().
|
protected |
Definition at line 142 of file rominfo.h.
Referenced by RomCount(), setField(), and setRomCount().
|
protected |
Definition at line 143 of file rominfo.h.
Referenced by DiskCount(), setDiskCount(), and setField().
|
protected |
Definition at line 144 of file rominfo.h.
Referenced by setField(), setYear(), and Year().
|
protected |
Definition at line 145 of file rominfo.h.
Referenced by Favorite(), setFavorite(), and setField().
|
protected |
Definition at line 146 of file rominfo.h.
Referenced by Rompath(), setField(), and setRompath().
|
protected |
Definition at line 147 of file rominfo.h.
Referenced by Screenshot(), setField(), and setScreenshot().
|
protected |
Definition at line 148 of file rominfo.h.
Referenced by Fanart(), setFanart(), and setField().
|
protected |
Definition at line 149 of file rominfo.h.
Referenced by Boxart(), setBoxart(), and setField().
|
protected |
Definition at line 150 of file rominfo.h.
Referenced by Inetref(), setField(), and setInetref().