|
MythTV
0.26-pre
|
#include <gamescan.h>
Public Member Functions | |
| GameScannerThread (QObject *parent) | |
| ~GameScannerThread () | |
| virtual void | run (void) |
| Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead. | |
| void | SetHandlers (QList< GameHandler * > handlers) |
| void | SetProgressDialog (MythUIProgressDialog *dialog) |
| bool | getDataChanged () |
Private Member Functions | |
| void | removeOrphan (const int id) |
| void | verifyFiles () |
| void | updateDB () |
| bool | buildFileList () |
| void | SendProgressEvent (uint progress, uint total=0, QString message=QString()) |
Private Attributes | |
| QObject * | m_parent |
| bool | m_HasGUI |
| QList< GameHandler * > | m_handlers |
| RomFileInfoList | m_files |
| QList< uint > | m_remove |
| QList< RomInfo * > | m_dbgames |
| MythUIProgressDialog * | m_dialog |
| bool | m_DBDataChanged |
Definition at line 31 of file gamescan.h.
| GameScannerThread::GameScannerThread | ( | QObject * | parent | ) |
Definition at line 21 of file gamescan.cpp.
Definition at line 28 of file gamescan.cpp.
| void GameScannerThread::run | ( | void | ) | [virtual] |
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
Reimplemented from MThread.
Definition at line 32 of file gamescan.cpp.
| void GameScannerThread::SetHandlers | ( | QList< GameHandler * > | handlers | ) | [inline] |
Definition at line 39 of file gamescan.h.
Referenced by GameScanner::doScan().
| void GameScannerThread::SetProgressDialog | ( | MythUIProgressDialog * | dialog | ) | [inline] |
Definition at line 40 of file gamescan.h.
Referenced by GameScanner::doScan().
| bool GameScannerThread::getDataChanged | ( | ) | [inline] |
Definition at line 42 of file gamescan.h.
Referenced by GameScanner::finishedScan().
| void GameScannerThread::removeOrphan | ( | const int | id | ) | [private] |
Definition at line 50 of file gamescan.cpp.
Referenced by updateDB().
| void GameScannerThread::verifyFiles | ( | ) | [private] |
Definition at line 61 of file gamescan.cpp.
Referenced by run().
| void GameScannerThread::updateDB | ( | ) | [private] |
Definition at line 105 of file gamescan.cpp.
Referenced by run().
| bool GameScannerThread::buildFileList | ( | ) | [private] |
Definition at line 136 of file gamescan.cpp.
Referenced by run().
| void GameScannerThread::SendProgressEvent | ( | uint | progress, |
| uint | total = 0, |
||
| QString | message = QString() |
||
| ) | [private] |
Definition at line 183 of file gamescan.cpp.
Referenced by buildFileList(), updateDB(), and verifyFiles().
QObject* GameScannerThread::m_parent [private] |
Definition at line 56 of file gamescan.h.
bool GameScannerThread::m_HasGUI [private] |
Definition at line 57 of file gamescan.h.
Referenced by buildFileList(), updateDB(), and verifyFiles().
QList<GameHandler*> GameScannerThread::m_handlers [private] |
Definition at line 59 of file gamescan.h.
Referenced by buildFileList(), and SetHandlers().
RomFileInfoList GameScannerThread::m_files [private] |
Definition at line 61 of file gamescan.h.
Referenced by buildFileList(), run(), updateDB(), and verifyFiles().
QList<uint> GameScannerThread::m_remove [private] |
Definition at line 62 of file gamescan.h.
Referenced by run(), updateDB(), and verifyFiles().
QList<RomInfo*> GameScannerThread::m_dbgames [private] |
Definition at line 63 of file gamescan.h.
Referenced by run(), and verifyFiles().
MythUIProgressDialog* GameScannerThread::m_dialog [private] |
Definition at line 65 of file gamescan.h.
Referenced by SendProgressEvent(), and SetProgressDialog().
bool GameScannerThread::m_DBDataChanged [private] |
Definition at line 67 of file gamescan.h.
Referenced by getDataChanged(), and updateDB().
1.7.6.1