WebUI: Implement limit/offset.

This commit is contained in:
Vladimir Golovnev (Glassez)
2014-11-25 09:27:22 +03:00
parent 59ff08c107
commit e279dcf904
3 changed files with 26 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ private:
public:
static QByteArray getTorrents(QString filter = "all", QString label = QString(),
QString sortedColumn = "name", bool reverse = false);
QString sortedColumn = "name", bool reverse = false, int limit = 0, int offset = 0);
static QByteArray getTrackersForTorrent(const QString& hash);
static QByteArray getPropertiesForTorrent(const QString& hash);
static QByteArray getFilesForTorrent(const QString& hash);