ark
jobs.cpp
Go to the documentation of this file.
122 connect(archiveInterface(), SIGNAL(finished(bool)), SLOT(onFinished(bool)), Qt::DirectConnection);
240 ExtractJob::ExtractJob(const QVariantList& files, const QString& destinationDir, ExtractionOptions options, ReadOnlyArchiveInterface *interface, QObject *parent)
297 AddJob::AddJob(const QStringList& files, const CompressionOptions& options , ReadWriteArchiveInterface *interface, QObject *parent)
321 DeleteJob::DeleteJob(const QVariantList& files, ReadWriteArchiveInterface *interface, QObject *parent)
329 emit description(this, i18np("Deleting a file from the archive", "Deleting %1 files", m_files.count()));
void sleep(unsigned long secs)
Definition: queries.h:44
void userQuery(Kerfuffle::Query *)
bool isSingleFolderArchive() const
Definition: jobs.cpp:209
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
virtual bool addFiles(const QStringList &files, const CompressionOptions &options)=0
void entryRemoved(const QString &entry)
void clear()
int count(const T &value) const
const_iterator constEnd() const
void error(const QString &errorMessage, const QString &details)
bool isEmpty() const
DeleteJob(const QVariantList &files, ReadWriteArchiveInterface *interface, QObject *parent=0)
Definition: jobs.cpp:321
QFuture< T > run(Function function,...)
AddJob(const QStringList &files, const CompressionOptions &options, ReadWriteArchiveInterface *interface, QObject *parent=0)
Definition: jobs.cpp:297
ExtractionOptions extractionOptions() const
Definition: jobs.cpp:292
virtual void onEntry(const ArchiveEntry &archiveEntry)
Definition: jobs.cpp:134
QString destinationDirectory() const
Definition: jobs.cpp:287
Job(ReadOnlyArchiveInterface *interface, QObject *parent=0)
Definition: jobs.cpp:69
const_iterator constBegin() const
virtual bool copyFiles(const QList< QVariant > &files, const QString &destinationDirectory, ExtractionOptions options)=0
Extract files from archive.
virtual void onEntryRemoved(const QString &path)
Definition: jobs.cpp:149
virtual void onError(const QString &message, const QString &details)
Definition: jobs.cpp:126
void newEntry(const ArchiveEntry &)
ExtractJob(const QVariantList &files, const QString &destinationDir, ExtractionOptions options, ReadOnlyArchiveInterface *interface, QObject *parent=0)
Definition: jobs.cpp:240
ListJob(ReadOnlyArchiveInterface *interface, QObject *parent=0)
Definition: jobs.cpp:178
virtual bool deleteFiles(const QList< QVariant > &files)=0
void connectToArchiveInterfaceSignals()
Definition: jobs.cpp:115
Definition: jobs.h:46
bool contains(const Key &key) const
void quit()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
ReadOnlyArchiveInterface * archiveInterface()
Definition: jobs.cpp:93
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
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.