mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
RSS: Remove last singleton
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include "rssfolder.h"
|
||||
|
||||
class DownloadThread;
|
||||
class RssDownloadRuleList;
|
||||
|
||||
class RssManager;
|
||||
typedef QSharedPointer<RssManager> RssManagerPtr;
|
||||
@@ -49,9 +50,10 @@ public:
|
||||
virtual ~RssManager();
|
||||
|
||||
inline DownloadThread* rssDownloader() const { return m_rssDownloader; }
|
||||
static void insertSortElem(RssArticleList &list, const RssArticlePtr &item);
|
||||
static void sortNewsList(RssArticleList& news_list);
|
||||
|
||||
RssDownloadRuleList* downloadRules() const;
|
||||
|
||||
public slots:
|
||||
void loadStreamList();
|
||||
void saveStreamList() const;
|
||||
@@ -68,7 +70,7 @@ private:
|
||||
QTimer m_refreshTimer;
|
||||
uint m_refreshInterval;
|
||||
DownloadThread *m_rssDownloader;
|
||||
|
||||
RssDownloadRuleList *m_downloadRules;
|
||||
};
|
||||
|
||||
#endif // RSSMANAGER_H
|
||||
|
||||
Reference in New Issue
Block a user