66 QHash<QString, WatchedFolderOptions>
folders()
const;
static void initInstance()
void removeWatchedFolder(const QString &path)
TorrentFilesWatcher(QObject *parent=nullptr)
void watchedFolderRemoved(const QString &path)
static void freeInstance()
QHash< QString, WatchedFolderOptions > folders() const
void onTorrentFound(const BitTorrent::TorrentInfo &torrentInfo, const BitTorrent::AddTorrentParams &addTorrentParams)
QHash< QString, WatchedFolderOptions > m_watchedFolders
static TorrentFilesWatcher * instance()
~TorrentFilesWatcher() override
static QString makeCleanPath(const QString &path)
void doSetWatchedFolder(const QString &path, const WatchedFolderOptions &options)
static TorrentFilesWatcher * m_instance
void onMagnetFound(const BitTorrent::MagnetUri &magnetURI, const BitTorrent::AddTorrentParams &addTorrentParams)
void setWatchedFolder(const QString &path, const WatchedFolderOptions &options)
void watchedFolderSet(const QString &path, const WatchedFolderOptions &options)
BitTorrent::AddTorrentParams addTorrentParams