|
libktorrent
2.1.1
|
This class is used for loading/storing torrent stats in a file. More...
#include <statsfile.h>
Public Member Functions | |
| StatsFile (const QString &filename) | |
| A constructor. Constructs StatsFile object and calls readSync(). | |
| bool | hasKey (const QString &key) const |
| bool | readBoolean (const QString &key) |
| float | readFloat (const QString &key) |
| int | readInt (const QString &key) |
| QString | readString (const QString &key) |
| Uint64 | readUint64 (const QString &key) |
| unsigned long | readULong (const QString &key) |
| void | sync () |
| Sync with disk. | |
| void | write (const QString &key, const QString &value) |
Definition at line 54 of file statsfile.h.
| bool bt::StatsFile::hasKey | ( | const QString & | key | ) | const |
See if there is a key in the stats file
| key | The key |
1.8.18