ark
#include <archive.h>

Public Member Functions | |
~Archive () | |
AddJob * | addFiles (const QStringList &files, const CompressionOptions &options=CompressionOptions()) |
ExtractJob * | copyFiles (const QList< QVariant > &files, const QString &destinationDir, ExtractionOptions options=ExtractionOptions()) |
KJob * | create () |
DeleteJob * | deleteFiles (const QList< QVariant > &files) |
QString | fileName () const |
bool | isPasswordProtected () |
bool | isReadOnly () const |
bool | isSingleFolderArchive () |
ListJob * | list () |
KJob * | open () |
void | setPassword (const QString &password) |
QString | subfolderName () |
Static Public Member Functions | |
static Archive * | create (const QString &fileName, QObject *parent=0) |
static Archive * | create (const QString &fileName, const QString &fixedMimeType, QObject *parent=0) |
Detailed Description
Constructor & Destructor Documentation
Kerfuffle::Archive::~Archive | ( | ) |
Definition at line 131 of file archive.cpp.
Member Function Documentation
AddJob * Kerfuffle::Archive::addFiles | ( | const QStringList & | files, |
const CompressionOptions & | options = CompressionOptions() |
||
) |
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
Definition at line 174 of file archive.cpp.
ExtractJob * Kerfuffle::Archive::copyFiles | ( | const QList< QVariant > & | files, |
const QString & | destinationDir, | ||
ExtractionOptions | options = ExtractionOptions() |
||
) |
Definition at line 183 of file archive.cpp.
Definition at line 83 of file archive.cpp.
|
static |
Definition at line 88 of file archive.cpp.
KJob * Kerfuffle::Archive::create | ( | ) |
Definition at line 145 of file archive.cpp.
DeleteJob * Kerfuffle::Archive::deleteFiles | ( | const QList< QVariant > & | files | ) |
Definition at line 164 of file archive.cpp.
QString Kerfuffle::Archive::fileName | ( | ) | const |
Definition at line 194 of file archive.cpp.
bool Kerfuffle::Archive::isPasswordProtected | ( | ) |
Definition at line 262 of file archive.cpp.
bool Kerfuffle::Archive::isReadOnly | ( | ) | const |
Definition at line 135 of file archive.cpp.
bool Kerfuffle::Archive::isSingleFolderArchive | ( | ) |
Definition at line 256 of file archive.cpp.
ListJob * Kerfuffle::Archive::list | ( | ) |
Definition at line 150 of file archive.cpp.
KJob * Kerfuffle::Archive::open | ( | ) |
Definition at line 140 of file archive.cpp.
void Kerfuffle::Archive::setPassword | ( | const QString & | password | ) |
Definition at line 274 of file archive.cpp.
QString Kerfuffle::Archive::subfolderName | ( | ) |
Definition at line 268 of file archive.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.