| 503 | } |
| 504 | |
| 505 | qint64 QuaZipFile::writeData(const char* data, qint64 maxSize) |
| 506 | { |
| 507 | p->setZipError(ZIP_OK); |
| 508 | p->setZipError(zipWriteInFileInZip(p->zip->getZipFile(), data, static_cast<uint>(maxSize))); |
| 509 | if (p->zipError != ZIP_OK) { |
| 510 | return -1; |
| 511 | } |
| 512 | p->writePos += maxSize; |
| 513 | return maxSize; |
| 514 | } |
| 515 | |
| 516 | QString QuaZipFile::getFileName() const |
| 517 | { |
nothing calls this directly
no test coverage detected