KAr Class
A class for reading ar archives. More...
- Header:
#include <KAr> - CMake:
find_package(KF6 REQUIRED COMPONENTS Archive)
target_link_libraries(mytarget PRIVATE KF6::Archive) - Inherits: KArchive
List of all members, including inherited members
Public Functions
Detailed Description
KAr is a class for reading archives in ar format. Writing is not supported. Reading archives that contain files bigger than INT_MAX - 32 bytes is not supported.
Member Function Documentation
[explicit] KAr::KAr(QIODevice *dev)
Creates an instance that operates on the given device.
The device can be compressed (KCompressionDevice) or not (QFile, etc.).
dev the device to read from
[explicit] KAr::KAr(const QString &filename)
Creates an instance that operates on the given filename.
filename is a local path (e.g. "/home/holger/myfile.ar")
[override virtual noexcept] KAr::~KAr()
If the ar file is still opened, then it will be closed automatically by the destructor.