ark
#include <archiveinterface.h>
Definition at line 43 of file archiveinterface.h.
Kerfuffle::ReadOnlyArchiveInterface::ReadOnlyArchiveInterface |
( |
QObject * |
parent, |
|
|
const QVariantList & |
args |
|
) |
| |
|
explicit |
Kerfuffle::ReadOnlyArchiveInterface::~ReadOnlyArchiveInterface |
( |
| ) |
|
|
virtual |
virtual bool Kerfuffle::ReadOnlyArchiveInterface::copyFiles |
( |
const QList< QVariant > & |
files, |
|
|
const QString & |
destinationDirectory, |
|
|
ExtractionOptions |
options |
|
) |
| |
|
pure 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.
Implemented in Kerfuffle::CliInterface, LibSingleFileInterface, and KArchiveInterface.
bool Kerfuffle::ReadOnlyArchiveInterface::doKill |
( |
| ) |
|
|
virtual |
bool Kerfuffle::ReadOnlyArchiveInterface::doResume |
( |
| ) |
|
|
virtual |
bool Kerfuffle::ReadOnlyArchiveInterface::doSuspend |
( |
| ) |
|
|
virtual |
void Kerfuffle::ReadOnlyArchiveInterface::entry |
( |
const ArchiveEntry & |
archiveEntry | ) |
|
|
signal |
void Kerfuffle::ReadOnlyArchiveInterface::entryRemoved |
( |
const QString & |
path | ) |
|
|
signal |
void Kerfuffle::ReadOnlyArchiveInterface::error |
( |
const QString & |
message, |
|
|
const QString & |
details = QString() |
|
) |
| |
|
signal |
QString Kerfuffle::ReadOnlyArchiveInterface::filename |
( |
| ) |
const |
Returns the filename of the archive currently being handled.
Definition at line 48 of file archiveinterface.cpp.
void Kerfuffle::ReadOnlyArchiveInterface::finished |
( |
bool |
result | ) |
|
|
signal |
void Kerfuffle::ReadOnlyArchiveInterface::info |
( |
const QString & |
info | ) |
|
|
signal |
bool Kerfuffle::ReadOnlyArchiveInterface::isReadOnly |
( |
| ) |
const |
|
virtual |
virtual bool Kerfuffle::ReadOnlyArchiveInterface::list |
( |
| ) |
|
|
pure virtual |
bool Kerfuffle::ReadOnlyArchiveInterface::open |
( |
| ) |
|
|
virtual |
QString Kerfuffle::ReadOnlyArchiveInterface::password |
( |
| ) |
const |
|
protected |
void Kerfuffle::ReadOnlyArchiveInterface::progress |
( |
double |
progress | ) |
|
|
signal |
void Kerfuffle::ReadOnlyArchiveInterface::setPassword |
( |
const QString & |
password | ) |
|
void Kerfuffle::ReadOnlyArchiveInterface::setWaitForFinishedSignal |
( |
bool |
value | ) |
|
|
protected |
Setting this option to true will not exit the thread with the exit of the various functions, but rather when finished(bool) is called.
Doing this one can use the event loop easily while doing the operation.
Definition at line 105 of file archiveinterface.cpp.
void Kerfuffle::ReadOnlyArchiveInterface::userQuery |
( |
Query * |
query | ) |
|
|
signal |
bool Kerfuffle::ReadOnlyArchiveInterface::waitForFinishedSignal |
( |
| ) |
|
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:11 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.