mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -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.
|
||||
// The return value is a JSON-formatted list of dictionaries.
|
||||
// The dictionary keys are:
|
||||
|
||||
@@ -39,6 +39,7 @@ public:
|
||||
using APIController::APIController;
|
||||
|
||||
private slots:
|
||||
void countAction();
|
||||
void infoAction();
|
||||
void propertiesAction();
|
||||
void trackersAction();
|
||||
|
||||
Reference in New Issue
Block a user