#include <toxfile.h>
Definition at line 32 of file toxfile.h.
◆ FileDirection
Enumerator |
---|
SENDING | |
RECEIVING | |
Definition at line 48 of file toxfile.h.
◆ FileStatus
Enumerator |
---|
INITIALIZING | |
PAUSED | |
TRANSMITTING | |
BROKEN | |
CANCELED | |
FINISHED | |
Definition at line 36 of file toxfile.h.
◆ ToxFile() [1/2]
◆ ToxFile() [2/2]
ToxFile::ToxFile |
( |
uint32_t |
FileNum, |
|
|
uint32_t |
FriendId, |
|
|
QString |
FileName, |
|
|
QString |
filePath, |
|
|
uint64_t |
filesize, |
|
|
FileDirection |
Direction |
|
) |
| |
◆ open()
bool ToxFile::open |
( |
bool |
write | ) |
|
◆ operator!=()
bool ToxFile::operator!= |
( |
const ToxFile & |
other | ) |
const |
◆ operator==()
bool ToxFile::operator== |
( |
const ToxFile & |
other | ) |
const |
◆ setFilePath()
void ToxFile::setFilePath |
( |
QString |
path | ) |
|
◆ avatarData
QByteArray ToxFile::avatarData |
◆ direction
◆ file
std::shared_ptr<QFile> ToxFile::file |
◆ fileKind
uint8_t ToxFile::fileKind |
Data file (default) or avatar.
Definition at line 64 of file toxfile.h.
◆ fileName
QString ToxFile::fileName |
◆ fileNum
uint32_t ToxFile::fileNum |
◆ filePath
QString ToxFile::filePath |
◆ friendId
uint32_t ToxFile::friendId |
◆ hashGenerator
std::shared_ptr<QCryptographicHash> ToxFile::hashGenerator = std::make_shared<QCryptographicHash>(QCryptographicHash::Sha256) |
◆ pauseStatus
◆ progress
◆ resumeFileId
QByteArray ToxFile::resumeFileId |
◆ status
The documentation for this struct was generated from the following files: