ark
singlefileplugin.cpp
Go to the documentation of this file.
48 bool LibSingleFileInterface::copyFiles(const QList<QVariant> & files, const QString & destinationDirectory, Kerfuffle::ExtractionOptions options)
69 emit error(i18nc("@info", "Ark could not extract <filename>%1</filename>.", outputFile.fileName()));
77 emit error(i18nc("@info", "Ark could not open <filename>%1</filename> for extraction.", filename()));
91 emit error(i18nc("@info", "There was an error while reading <filename>%1</filename> during extraction.", filename()));
virtual ~LibSingleFileInterface()
Definition: singlefileplugin.cpp:44
const QString uncompressedFileName() const
Definition: singlefileplugin.cpp:144
QString errorString() const
QString fileName() const
int size() const
void userQuery(Query *query)
QString filename() const
Returns the filename of the archive currently being handled.
Definition: archiveinterface.cpp:48
bool exists() const
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
void chop(int n)
void entry(const ArchiveEntry &archiveEntry)
QString overwriteFileName(QString &filename)
Definition: singlefileplugin.cpp:121
bool isEmpty() const
virtual bool copyFiles(const QList< QVariant > &files, const QString &destinationDirectory, Kerfuffle::ExtractionOptions options)
Extract files from archive.
Definition: singlefileplugin.cpp:48
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
qint64 read(char *data, qint64 maxSize)
LibSingleFileInterface(QObject *parent, const QVariantList &args)
Definition: singlefileplugin.cpp:39
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
void error(const QString &message, const QString &details=QString())
QStringList m_possibleExtensions
Definition: singlefileplugin.h:47
void setMultiMode(bool enableMultiMode)
Definition: queries.cpp:155
Definition: queries.h:77
char * data()
qint64 write(const char *data, qint64 maxSize)
int size() const
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.