WebUI: Add missing comments

This commit is contained in:
Gabriele 2014-12-14 10:00:00 +01:00
parent accfbdd304
commit 2aa344bb0a

View file

@ -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()
{ {