mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 17:12:31 -06:00
WebUI: Implement server-side torrent filtering.
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
#include <QCoreApplication>
|
||||
#include <QString>
|
||||
|
||||
class QTorrentHandle;
|
||||
|
||||
class btjson
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(misc)
|
||||
@@ -42,7 +44,7 @@ private:
|
||||
btjson() {}
|
||||
|
||||
public:
|
||||
static QByteArray getTorrents();
|
||||
static QByteArray getTorrents(QString filter = "all", QString label = QString());
|
||||
static QByteArray getTrackersForTorrent(const QString& hash);
|
||||
static QByteArray getPropertiesForTorrent(const QString& hash);
|
||||
static QByteArray getFilesForTorrent(const QString& hash);
|
||||
|
||||
Reference in New Issue
Block a user