Browse Source

WebUI: Add missing comments

adaptive-webui-19844
Gabriele 10 years ago
parent
commit
2aa344bb0a
  1. 4
      src/webui/btjson.cpp

4
src/webui/btjson.cpp

@ -245,6 +245,8 @@ static QVariantMap toMap(const QTorrentHandle& h)
* - "ratio": Torrent share ratio * - "ratio": Torrent share ratio
* - "eta": Torrent ETA * - "eta": Torrent ETA
* - "state": Torrent state * - "state": Torrent state
* - "seq_dl": Torrent sequential download state
* - "f_l_piece_prio": Torrent first last piece priority state
*/ */
QByteArray btjson::getTorrents(QString filter, QString label, QByteArray btjson::getTorrents(QString filter, QString label,
QString sortedColumn, bool reverse, int limit, int offset) QString sortedColumn, bool reverse, int limit, int offset)
@ -446,6 +448,8 @@ QByteArray btjson::getFilesForTorrent(const QString& hash)
* - "dl_info_data": Data downloaded this session * - "dl_info_data": Data downloaded this session
* - "up_info_speed": Global upload rate * - "up_info_speed": Global upload rate
* - "up_info_data": Data uploaded this session * - "up_info_data": Data uploaded this session
* - "dl_rate_limit": Download rate limit
* - "up_rate_limit": Upload rate limit
*/ */
QByteArray btjson::getTransferInfo() QByteArray btjson::getTransferInfo()
{ {

Loading…
Cancel
Save