ark
Kerfuffle::Archive Class Reference
#include <archive.h>

Detailed Description
Definition at line 58 of file archive.h.
Public Types | |
| enum | CopyFlag { PreservePaths = 0x1, TruncateCommonBase = 0x2 } |
Public Member Functions | |
| virtual AddJob * | addFiles (const QStringList &files, const CompressionOptions &options=CompressionOptions())=0 |
| virtual ExtractJob * | copyFiles (const QList< QVariant > &files, const QString &destinationDir, Archive::CopyFlags flags)=0 |
| virtual KJob * | create ()=0 |
| virtual DeleteJob * | deleteFiles (const QList< QVariant > &files)=0 |
| virtual QString | fileName ()=0 |
| virtual bool | isPasswordProtected ()=0 |
| virtual bool | isReadOnly ()=0 |
| virtual bool | isSingleFolderArchive ()=0 |
| virtual ListJob * | list ()=0 |
| virtual KJob * | open ()=0 |
| virtual void | setPassword (QString password)=0 |
| virtual QString | subfolderName ()=0 |
| virtual | ~Archive () |
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
| virtual AddJob* Kerfuffle::Archive::addFiles | ( | const QStringList & | files, | |
| const CompressionOptions & | options = CompressionOptions() | |||
| ) | [pure virtual] |
Compression options that should be handled by all interfaces:.
GlobalWorkDir - Change to this dir before adding the new files. The path names should then be added relative to this directory.
TODO: find a way to actually add files to specific locations in the archive (not supported yet) GlobalPathInArchive - a path relative to the archive root where the files will be added under
Implemented in Kerfuffle::ArchiveBase.
| virtual ExtractJob* Kerfuffle::Archive::copyFiles | ( | const QList< QVariant > & | files, | |
| const QString & | destinationDir, | |||
| Archive::CopyFlags | flags | |||
| ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual KJob* Kerfuffle::Archive::create | ( | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual DeleteJob* Kerfuffle::Archive::deleteFiles | ( | const QList< QVariant > & | files | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual QString Kerfuffle::Archive::fileName | ( | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual bool Kerfuffle::Archive::isPasswordProtected | ( | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual bool Kerfuffle::Archive::isReadOnly | ( | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual bool Kerfuffle::Archive::isSingleFolderArchive | ( | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual ListJob* Kerfuffle::Archive::list | ( | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual KJob* Kerfuffle::Archive::open | ( | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual void Kerfuffle::Archive::setPassword | ( | QString | password | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
| virtual QString Kerfuffle::Archive::subfolderName | ( | ) | [pure virtual] |
Implemented in Kerfuffle::ArchiveBase.
The documentation for this class was generated from the following file:
KDE 4.2 API Reference