mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 00:22:31 -06:00
committed by
Vladimir Golovnev (Glassez)
parent
a14b50e48c
commit
54dffa1051
@@ -232,6 +232,11 @@ namespace
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TorrentsController::countAction()
|
||||||
|
{
|
||||||
|
setResult(QString::number(BitTorrent::Session::instance()->torrents().count()));
|
||||||
|
}
|
||||||
|
|
||||||
// Returns all the torrents in JSON format.
|
// Returns all the torrents in JSON format.
|
||||||
// The return value is a JSON-formatted list of dictionaries.
|
// The return value is a JSON-formatted list of dictionaries.
|
||||||
// The dictionary keys are:
|
// The dictionary keys are:
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ public:
|
|||||||
using APIController::APIController;
|
using APIController::APIController;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
void countAction();
|
||||||
void infoAction();
|
void infoAction();
|
||||||
void propertiesAction();
|
void propertiesAction();
|
||||||
void trackersAction();
|
void trackersAction();
|
||||||
|
|||||||
Reference in New Issue
Block a user