mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
FEATURE: Added full regex support to RSS downloader
This commit is contained in:
@@ -60,6 +60,8 @@ public:
|
||||
inline bool isValid() const { return !m_name.isEmpty(); }
|
||||
inline QString mustContain() const { return m_mustContain.join(" "); }
|
||||
inline QString mustNotContain() const { return m_mustNotContain.join(" "); }
|
||||
inline bool useRegex() const { return m_useRegex; }
|
||||
inline void setUseRegex(bool enabled) { m_useRegex = enabled; }
|
||||
QStringList findMatchingArticles(const RssFeed* feed) const;
|
||||
// Operators
|
||||
bool operator==(const RssDownloadRule &other);
|
||||
@@ -72,6 +74,7 @@ private:
|
||||
QString m_label;
|
||||
bool m_enabled;
|
||||
QStringList m_rssFeeds;
|
||||
bool m_useRegex;
|
||||
};
|
||||
|
||||
#endif // RSSDOWNLOADRULE_H
|
||||
|
||||
Reference in New Issue
Block a user