Classes | |
| class | TorrentParserTest |
| TorrentParser class testing unit. More... | |
| class | TorrentTest |
| Torrent class testing unit. More... | |
Functions | |
| bool | readTorrentFile (const QString &fileName, QByteArray &rawFileData) |
| Reads all data from the torrent file specified by fileName. | |
| bool | loadTorrentData (const QString &fileName, Torrent &torrent) |
| Loads torrent data from file named fileName into torrent. | |
| CPPUNIT_TEST_SUITE_REGISTRATION (TorrentParserTest) | |
| CPPUNIT_TEST_SUITE_REGISTRATION (TorrentTest) | |
|
|
|
|
|
|
|
||||||||||||
|
Loads torrent data from file named fileName into torrent. Returns true if everything went ok, false otherwise (file cannot be opened or there were some parsing error).
Definition at line 63 of file TorrentLoadFunctions.h. |
|
||||||||||||
|
Reads all data from the torrent file specified by fileName. Reads all data from the torrent file specified by fileName into rawFileData. Returns true if everything was read ok, false otherwise. rawFileData will be left unchanged only if the file cannot be opened. Definition at line 44 of file TorrentLoadFunctions.h. |