mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
committed by
GitHub
parent
4a20a1660e
commit
cecbb44a03
@@ -234,6 +234,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