ark
#include <karchiveplugin.h>

Public Member Functions | |
KArchiveInterface (QObject *parent=0, const QVariantList &args=QVariantList()) | |
~KArchiveInterface () | |
bool | addFiles (const QStringList &files, const CompressionOptions &options) |
bool | copyFiles (const QList< QVariant > &files, const QString &destinationDirectory, ExtractionOptions options) |
bool | deleteFiles (const QList< QVariant > &files) |
bool | list () |
![]() | |
ReadWriteArchiveInterface (QObject *parent, const QVariantList &args) | |
virtual | ~ReadWriteArchiveInterface () |
virtual bool | isReadOnly () const |
![]() | |
ReadOnlyArchiveInterface (QObject *parent, const QVariantList &args) | |
virtual | ~ReadOnlyArchiveInterface () |
virtual bool | doKill () |
virtual bool | doResume () |
virtual bool | doSuspend () |
QString | filename () const |
virtual bool | open () |
void | setPassword (const QString &password) |
bool | waitForFinishedSignal () |
Additional Inherited Members | |
![]() | |
void | entry (const ArchiveEntry &archiveEntry) |
void | entryRemoved (const QString &path) |
void | error (const QString &message, const QString &details=QString()) |
void | finished (bool result) |
void | info (const QString &info) |
void | progress (double progress) |
void | userQuery (Query *query) |
![]() | |
QString | password () const |
void | setWaitForFinishedSignal (bool value) |
Detailed Description
Definition at line 31 of file karchiveplugin.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 34 of file karchiveplugin.cpp.
KArchiveInterface::~KArchiveInterface | ( | ) |
Definition at line 40 of file karchiveplugin.cpp.
Member Function Documentation
|
virtual |
Implements Kerfuffle::ReadWriteArchiveInterface.
Definition at line 222 of file karchiveplugin.cpp.
|
virtual |
Extract files from archive.
Globally recognized extraction options:
- PreservePaths - preserve file paths (extract flat if false)
- RootNode - node in the archive which will correspond to the
- destinationDirectory When subclassing, you can block as long as you need, the function runs in its own thread.
- Returns
- whether the listing succeeded.
- Note
- If returning false, make sure to emit the error() signal beforewards to notify the user of the error condition.
Implements Kerfuffle::ReadOnlyArchiveInterface.
Definition at line 86 of file karchiveplugin.cpp.
|
virtual |
Implements Kerfuffle::ReadWriteArchiveInterface.
Definition at line 268 of file karchiveplugin.cpp.
|
virtual |
List archive contents.
This runs the process of reading archive contents. When subclassing, you can block as long as you need, the function runs in its own thread.
- Returns
- whether the listing succeeded.
- Note
- If returning false, make sure to emit the error() signal beforewards to notify the user of the error condition.
Implements Kerfuffle::ReadOnlyArchiveInterface.
Definition at line 61 of file karchiveplugin.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.