Go to the documentation of this file. 1 #ifndef NETGRABBERMANAGER_H
2 #define NETGRABBERMANAGER_H
9 #if QT_VERSION >= QT_VERSION_CHECK(5,14,0)
10 #include <QRecursiveMutex>
29 const QString& author,
32 const QString& description,
33 const QString& commandline,
37 const QString&
GetTitle()
const {
return m_title; }
38 const QString&
GetImage()
const {
return m_image; }
40 const QString&
GetAuthor()
const {
return m_author; }
42 const bool&
GetTree()
const {
return m_tree; }
47 void run(
void)
override;
57 void parseDBTree(
const QString &feedtitle,
const QString &path,
58 const QString &pathThumb, QDomElement& domElem,
60 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
61 mutable QMutex m_lock {QMutex::Recursive};
98 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
99 mutable QMutex m_lock {QMutex::Recursive};
103 QTimer *m_timer {
nullptr};
105 std::chrono::hours m_updateFreq {24h};
107 bool m_refreshAll {
false};
141 QObject *m_parent {
nullptr};
144 bool m_refreshAll {
false};
158 void resetSearch(
void);
159 void executeSearch(
const QString &script,
const QString &query,
160 const QString &pagenum =
"");
164 void SetData(QByteArray data);
191 void finishedSearch(
Search *item);
192 void searchTimedOut(
Search *item);
195 void slotProcessSearchExit(
uint exitcode);
196 void slotProcessSearchExit(
void);
const ArticleType & GetType() const
Q_DECLARE_METATYPE(GrabberScript *)
const QString & GetAuthor() const
const QString & GetCommandline() const
ResultItem::resultList m_videoList
GrabberScript::scriptList m_scripts
const QString & GetImage() const
const QString & GetDescription() const
const QString & GetTitle() const
ResultItem::resultList GetVideoList()
QList< GrabberScript * > scriptList
const int kGrabberUpdateEventType
virtual void run(void)
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
const double & GetVersion() const
const bool & GetTree() const
This is a wrapper around QThread that does several additional things.
QList< ResultItem * > resultList
QList< GrabberScript * > m_scripts
const bool & GetSearch() const