mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 23:52:31 -06:00
Use new JSON parser/generator.
Qt4: Use QJson (http://qjson.sourceforge.net). Qt5: Use native Qt JSON API.
This commit is contained in:
@@ -41,11 +41,11 @@ private:
|
||||
btjson() {}
|
||||
|
||||
public:
|
||||
static QString getTorrents();
|
||||
static QString getTrackersForTorrent(const QString& hash);
|
||||
static QString getPropertiesForTorrent(const QString& hash);
|
||||
static QString getFilesForTorrent(const QString& hash);
|
||||
static QString getTransferInfo();
|
||||
static QByteArray getTorrents();
|
||||
static QByteArray getTrackersForTorrent(const QString& hash);
|
||||
static QByteArray getPropertiesForTorrent(const QString& hash);
|
||||
static QByteArray getFilesForTorrent(const QString& hash);
|
||||
static QByteArray getTransferInfo();
|
||||
}; // class btjson
|
||||
|
||||
#endif // BTJSON_H
|
||||
|
||||
Reference in New Issue
Block a user