|
MythTV
0.26-pre
|
#include <deletethread.h>
Public Member Functions | |
| DeleteThread (void) | |
| void | run (void) |
| Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead. | |
| bool | AddFile (QString path) |
| bool | AddFile (DeleteHandler *handler) |
| void | Stop (void) |
| DeleteThread (MainServer *ms, QString filename, QString title, uint chanid, QDateTime recstartts, QDateTime recendts, bool forceMetadataDelete) | |
| void | start (void) |
| void | run (void) |
| Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead. | |
Private Member Functions | |
| void | ProcessNew (void) |
| void | ProcessOld (void) |
Private Attributes | |
| size_t | m_increment |
| bool | m_slow |
| bool | m_link |
| bool | m_run |
| QList< DeleteHandler * > | m_newfiles |
| QMutex | m_newlock |
| QList< DeleteHandler * > | m_files |
Definition at line 22 of file deletethread.h.
Definition at line 29 of file deletethread.cpp.
| DeleteThread::DeleteThread | ( | MainServer * | ms, |
| QString | filename, | ||
| QString | title, | ||
| uint | chanid, | ||
| QDateTime | recstartts, | ||
| QDateTime | recendts, | ||
| bool | forceMetadataDelete | ||
| ) | [inline] |
Definition at line 73 of file mainserver.h.
| void DeleteThread::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 36 of file deletethread.cpp.
| bool DeleteThread::AddFile | ( | QString | path | ) |
Definition at line 63 of file deletethread.cpp.
Referenced by FileServerHandler::HandleDeleteFile().
| bool DeleteThread::AddFile | ( | DeleteHandler * | handler | ) |
Definition at line 76 of file deletethread.cpp.
| void DeleteThread::Stop | ( | void | ) | [inline] |
Definition at line 30 of file deletethread.h.
| void DeleteThread::ProcessNew | ( | void | ) | [private] |
Definition at line 84 of file deletethread.cpp.
Referenced by run().
| void DeleteThread::ProcessOld | ( | void | ) | [private] |
Definition at line 202 of file deletethread.cpp.
Referenced by run().
| void DeleteThread::start | ( | void | ) | [inline] |
Definition at line 78 of file mainserver.h.
Referenced by MainServer::DoHandleDeleteRecording(), and FileServerHandler::RunDeleteThread().
| void DeleteThread::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.
size_t DeleteThread::m_increment [private] |
Definition at line 36 of file deletethread.h.
Referenced by ProcessOld().
bool DeleteThread::m_slow [private] |
Definition at line 37 of file deletethread.h.
Referenced by DeleteThread(), and ProcessOld().
bool DeleteThread::m_link [private] |
Definition at line 38 of file deletethread.h.
Referenced by DeleteThread(), and ProcessNew().
bool DeleteThread::m_run [private] |
Definition at line 39 of file deletethread.h.
Referenced by run().
QList<DeleteHandler*> DeleteThread::m_newfiles [private] |
Definition at line 41 of file deletethread.h.
Referenced by AddFile(), and ProcessNew().
QMutex DeleteThread::m_newlock [private] |
Definition at line 42 of file deletethread.h.
Referenced by AddFile(), and ProcessNew().
QList<DeleteHandler*> DeleteThread::m_files [private] |
Definition at line 44 of file deletethread.h.
Referenced by ProcessNew(), ProcessOld(), and run().
1.7.6.1