ark
#include <archiveinterface.h>
|
| ReadOnlyArchiveInterface (QObject *parent, const QVariantList &args) |
|
virtual | ~ReadOnlyArchiveInterface () |
|
virtual bool | copyFiles (const QList< QVariant > &files, const QString &destinationDirectory, ExtractionOptions options)=0 |
|
virtual bool | doKill () |
|
virtual bool | doResume () |
|
virtual bool | doSuspend () |
|
QString | filename () const |
|
virtual bool | isReadOnly () const |
|
virtual bool | list ()=0 |
|
virtual bool | open () |
|
void | setPassword (const QString &password) |
|
bool | waitForFinishedSignal () |
|
| QObject (QObject *parent) |
|
| QObject (QObject *parent, const char *name) |
|
virtual | ~QObject () |
|
bool | blockSignals (bool block) |
|
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
|
const QObjectList & | children () const |
|
const char * | className () const |
|
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const QObject *receiver, const char *method) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name) const |
|
QList< T > | findChildren (const QRegExp ®Exp) const |
|
QList< T > | findChildren (const QString &name) const |
|
bool | inherits (const char *className) const |
|
void | insertChild (QObject *object) |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isA (const char *className) const |
|
bool | isWidgetType () const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const |
|
void | moveToThread (QThread *targetThread) |
|
const char * | name () const |
|
const char * | name (const char *defaultName) const |
|
QString | objectName () const |
|
QObject * | parent () const |
|
QVariant | property (const char *name) const |
|
void | removeChild (QObject *object) |
|
void | removeEventFilter (QObject *obj) |
|
void | setName (const char *name) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | signalsBlocked () const |
|
int | startTimer (int interval) |
|
QThread * | thread () const |
|
|
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
QByteArray | normalizeSignalSlot (const char *signalSlot) |
|
| objectName |
|
Definition at line 43 of file archiveinterface.h.
Kerfuffle::ReadOnlyArchiveInterface::ReadOnlyArchiveInterface |
( |
QObject * |
parent, |
|
|
const QVariantList & |
args |
|
) |
| |
|
explicit |
Kerfuffle::ReadOnlyArchiveInterface::~ReadOnlyArchiveInterface |
( |
| ) |
|
|
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:37 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.