ark
clirarplugin/cliplugin.cpp
Go to the documentation of this file.
72 p[ListArgs] = QStringList() << QLatin1String( "vt" ) << QLatin1String( "-c-" ) << QLatin1String( "-v" ) << QLatin1String( "$Archive" );
83 p[DeleteArgs] = QStringList() << QLatin1String( "d" ) << QLatin1String( "$Archive" ) << QLatin1String( "$Files" );
94 p[AddArgs] = QStringList() << QLatin1String( "a" ) << QLatin1String( "$Archive" ) << QLatin1String( "$Files" );
98 p[WrongPasswordPatterns] = QStringList() << QLatin1String("password incorrect") << QLatin1String("wrong password");
99 p[ExtractionFailedPatterns] = QStringList() << QLatin1String( "CRC failed" ) << QLatin1String( "Cannot find volume" );
109 static const QLatin1String columnDescription1String(" Size Packed Ratio Date Time Attr CRC Meth Ver");
110 static const QLatin1String columnDescription2String(" Host OS Solid Old"); // Only present in unrar-nonfree
143 m_isPasswordProtected = m_entryDetails.value(QLatin1String("flags")).contains(QLatin1String("encrypted"));
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QStringList Default: empty A list of regexp patterns that will cause the extraction to exit with a ge...
Definition: cliinterface.h:194
iterator insert(const Key &key, const T &value)
QStringList The names to the program that will handle extracting of this archive (eg "rar")...
Definition: cliinterface.h:84
QDateTime addYears(int nyears) const
QString fromNativeSeparators(const QString &pathName)
virtual QString escapeFileName(const QString &fileName) const
Performs any additional escaping and processing on fileName before passing it to the underlying proce...
Definition: clirarplugin/cliplugin.cpp:54
QStringList The names to the program that will handle adding in this archive format (eg "rar")...
Definition: cliinterface.h:210
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
Definition: cliinterface.h:224
Definition: cli7zplugin/cliplugin.h:29
QStringList The arguments that are passed to the program above for listing the archive.
Definition: cliinterface.h:75
const T & at(int i) const
QString Default: empty A regexp pattern that matches the program's password prompt.
Definition: cliinterface.h:58
QTime fromString(const QString &string, Qt::DateFormat format)
void chop(int n)
void entry(const ArchiveEntry &archiveEntry)
void clear()
QDate fromString(const QString &string, Qt::DateFormat format)
virtual Kerfuffle::ParameterList parameterList() const
Definition: cli7zplugin/cliplugin.cpp:47
QStringList This should be a qstringlist with either two elements.
Definition: cliinterface.h:122
QStringList Default: empty A list of regexp patterns that will alert the user that the password was w...
Definition: cliinterface.h:201
bool isEmpty() const
QString trimmed() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
QStringList The arguments that are passed to the program above for extracting the archive...
Definition: cliinterface.h:100
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
QString This is a regexp, defining how to recognize a "File already exists" prompt when extracting...
Definition: cliinterface.h:148
int year() const
CliPlugin(QObject *parent, const QVariantList &args)
Definition: cli7zplugin/cliplugin.cpp:36
void clear()
QString toLower() const
const T value(const Key &key) const
Bool (default false) Will look for the %-sign in the stdout while working, in the form of (2%...
Definition: cliinterface.h:51
QDateTime fromString(const QString &string, Qt::DateFormat format)
QStringList The arguments that are passed to the program above for deleting from the archive...
Definition: cliinterface.h:187
QStringList (default empty) The format of the root node switch.
Definition: cliinterface.h:141
QString mid(int position, int n) const
QDate date() const
char * toString(const T &value)
QStringList The names to the program that will handle deleting of elements in this archive format (eg...
Definition: cliinterface.h:178
bool isEmpty() const
void setListEmptyLines(bool emptyLines)
Sets if the listing should include empty lines.
Definition: cliinterface.cpp:83
QStringList The various responses that can be supplied as a response to the "file exists" prompt...
Definition: cliinterface.h:169
QStringList The arguments that are passed to the program above for adding to the archive.
Definition: cliinterface.h:219
const QChar at(int position) const
virtual bool readListLine(const QString &line)
Definition: cli7zplugin/cliplugin.cpp:78
int length() const
QString left(int n) const
QStringList (default empty) The format of the root node switch.
Definition: cliinterface.h:130
QStringList The names to the program that will handle listing of this archive (eg "rar")...
Definition: cliinterface.h:67
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.