ark
batchextract.cpp
Go to the documentation of this file.
89 kDebug() << QString(QLatin1String( "Registering job from archive %1, to %2, preservePaths %3" )).arg(archive->fileName()).arg(destination).arg(preservePaths());
151 KMessageBox::informationList(0, i18n("The following files could not be extracted:"), m_failedFiles);
void setOpenDestinationAfterExtraction(bool value)
Whether to open the destination folder after all archives are extracted.
Definition: batchextract.cpp:247
Definition: queries.h:44
const T & at(int i) const
void addExtraction(Kerfuffle::Archive *archive)
Creates an ExtractJob for the given archive and puts it on the queue.
Definition: batchextract.cpp:67
bool addInput(const KUrl &url)
Adds a file to the list of files that will be extracted.
Definition: batchextract.cpp:207
Definition: extractiondialog.h:40
T * data() const
QString currentPath()
void setAutoSubfolder(bool value)
Set whether a folder should be created when necessary so the archive is extracted to it...
Definition: batchextract.cpp:111
int size() const
bool exists() const
void append(const T &value)
QString destinationFolder() const
Returns the destination directory where the archives will be extracted to.
Definition: batchextract.cpp:231
bool preservePaths() const
Whether all files should be extracted to the same directory, even if they're in different directories...
Definition: batchextract.cpp:226
bool isEmpty() const
bool isEmpty() const
Definition: archive.h:88
bool openDestinationAfterExtraction() const
Returns whether the destination folder should be open after all archives are extracted.
Definition: batchextract.cpp:221
Definition: jobs.h:118
void setPreservePaths(bool value)
Sets whether paths should be preserved during extraction.
Definition: batchextract.cpp:252
bool mkdir(const QString &dirName) const
ExtractJob * copyFiles(const QList< QVariant > &files, const QString &destinationDir, ExtractionOptions options=ExtractionOptions())
Definition: archive.cpp:183
void start()
A wrapper that calls slotStartJob() when the event loop has started.
Definition: batchextract.cpp:116
void setDestinationFolder(const QString &folder)
Sets the directory the archives will be extracted to.
Definition: batchextract.cpp:240
bool autoSubfolder() const
Whether to automatically create a folder inside the destination directory if the archive has more tha...
Definition: batchextract.cpp:106
bool showExtractDialog()
Shows the extract options dialog before extracting the files.
Definition: batchextract.cpp:257
This class schedules the extraction of all given compressed archives.
Definition: batchextract.h:54
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
const T value(const Key &key) const
singleShot
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.