#include <libmythbase/netgrabbermanager.h>
|
| | GrabberScript (QString title, QString image, ArticleType type, QString author, bool search, bool tree, QString description, QString commandline, double version) |
| |
| | ~GrabberScript () override |
| |
| const QString & | GetTitle () const |
| |
| const QString & | GetImage () const |
| |
| const ArticleType & | GetType () const |
| |
| const QString & | GetAuthor () const |
| |
| const bool & | GetSearch () const |
| |
| const bool & | GetTree () const |
| |
| const QString & | GetDescription () const |
| |
| const QString & | GetCommandline () const |
| |
| const double & | GetVersion () const |
| |
| void | run (void) override |
| | Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead. More...
|
| |
| | MThread (const QString &objectName) |
| | Standard constructor. More...
|
| |
| | MThread (const QString &objectName, QRunnable *runnable) |
| | Use this constructor if you want the default run() method to run the QRunnable's run() method instead of entering the Qt event loop. More...
|
| |
| virtual | ~MThread () |
| |
| | MThread (const MThread &)=delete |
| |
| MThread & | operator= (const MThread &)=delete |
| |
| void | RunProlog (void) |
| | Sets up a thread, call this if you reimplement run(). More...
|
| |
| void | RunEpilog (void) |
| | Cleans up a thread's resources, call this if you reimplement run(). More...
|
| |
| QThread * | qthread (void) |
| | Returns the thread, this will always return the same pointer no matter how often you restart the thread. More...
|
| |
| void | setObjectName (const QString &name) |
| |
| QString | objectName (void) const |
| |
| void | setPriority (QThread::Priority priority) |
| |
| QThread::Priority | priority (void) const |
| |
| bool | isFinished (void) const |
| |
| bool | isRunning (void) const |
| |
| void | setStackSize (uint stackSize) |
| |
| uint | stackSize (void) const |
| |
| void | exit (int retcode=0) |
| | Use this to exit from the thread if you are using a Qt event loop. More...
|
| |
| void | start (QThread::Priority p=QThread::InheritPriority) |
| | Tell MThread to start running the thread in the near future. More...
|
| |
| void | terminate (void) |
| | Kill a thread unsafely. More...
|
| |
| void | quit (void) |
| | calls exit(0) More...
|
| |
| bool | wait (std::chrono::milliseconds time=std::chrono::milliseconds::max()) |
| | Wait for the MThread to exit, with a maximum timeout. More...
|
| |
|
| void | parseDBTree (const QString &feedtitle, const QString &path, const QString &pathThumb, QDomElement &domElem, ArticleType type) |
| |
Definition at line 17 of file netgrabbermanager.h.
◆ scriptList
◆ GrabberScript()
| GrabberScript::GrabberScript |
( |
QString |
title, |
|
|
QString |
image, |
|
|
ArticleType |
type, |
|
|
QString |
author, |
|
|
bool |
search, |
|
|
bool |
tree, |
|
|
QString |
description, |
|
|
QString |
commandline, |
|
|
double |
version |
|
) |
| |
|
inline |
◆ ~GrabberScript()
| GrabberScript::~GrabberScript |
( |
| ) |
|
|
override |
◆ finished
| void GrabberScript::finished |
( |
void |
| ) |
|
|
signal |
◆ GetAuthor()
| const QString & GrabberScript::GetAuthor |
( |
| ) |
const |
|
inline |
◆ GetCommandline()
| const QString & GrabberScript::GetCommandline |
( |
| ) |
const |
|
inline |
◆ GetDescription()
| const QString & GrabberScript::GetDescription |
( |
| ) |
const |
|
inline |
◆ GetImage()
| const QString & GrabberScript::GetImage |
( |
| ) |
const |
|
inline |
◆ GetSearch()
| const bool & GrabberScript::GetSearch |
( |
| ) |
const |
|
inline |
◆ GetTitle()
| const QString & GrabberScript::GetTitle |
( |
| ) |
const |
|
inline |
◆ GetTree()
| const bool & GrabberScript::GetTree |
( |
| ) |
const |
|
inline |
◆ GetType()
◆ GetVersion()
| const double & GrabberScript::GetVersion |
( |
| ) |
const |
|
inline |
◆ parseDBTree()
| void GrabberScript::parseDBTree |
( |
const QString & |
feedtitle, |
|
|
const QString & |
path, |
|
|
const QString & |
pathThumb, |
|
|
QDomElement & |
domElem, |
|
|
ArticleType |
type |
|
) |
| |
|
private |
◆ run()
| void GrabberScript::run |
( |
void |
| ) |
|
|
overridevirtual |
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
- Note
- If you override this method you must call RunProlog before you do any work and RunEpilog before you exit the run method.
Reimplemented from MThread.
Definition at line 28 of file netgrabbermanager.cpp.
Referenced by GrabberDownloadThread::run().
◆ m_author
| QString GrabberScript::m_author |
|
private |
◆ m_commandline
| QString GrabberScript::m_commandline |
|
private |
◆ m_description
| QString GrabberScript::m_description |
|
private |
◆ m_image
| QString GrabberScript::m_image |
|
private |
◆ m_lock
| QRecursiveMutex GrabberScript::m_lock |
|
mutableprivate |
◆ m_search
| bool GrabberScript::m_search |
|
private |
◆ m_title
| QString GrabberScript::m_title |
|
private |
◆ m_tree
| bool GrabberScript::m_tree |
|
private |
◆ m_type
◆ m_version
| double GrabberScript::m_version |
|
private |
The documentation for this class was generated from the following files: