ark
cli7zplugin/cliplugin.cpp
Go to the documentation of this file.
53 p[ListProgram] = p[ExtractProgram] = p[DeleteProgram] = p[AddProgram] = QStringList() << QLatin1String( "7z" ) << QLatin1String( "7za" ) << QLatin1String( "7zr" );
55 p[ListArgs] = QStringList() << QLatin1String( "l" ) << QLatin1String( "-slt" ) << QLatin1String( "$Archive" );
56 p[ExtractArgs] = QStringList() << QLatin1String( "$PreservePathSwitch" ) << QLatin1String( "$PasswordSwitch" ) << QLatin1String( "$Archive" ) << QLatin1String( "$Files" );
61 p[AddArgs] = QStringList() << QLatin1String( "a" ) << QLatin1String( "$Archive" ) << QLatin1String( "$Files" );
62 p[DeleteArgs] = QStringList() << QLatin1String( "d" ) << QLatin1String( "$Archive" ) << QLatin1String( "$Files" );
QStringList The names to the program that will handle extracting of this archive (eg "rar")...
Definition: cliinterface.h:84
QString fromNativeSeparators(const QString &pathName)
QStringList The names to the program that will handle adding in this archive format (eg "rar")...
Definition: cliinterface.h:210
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
int size() const
QString Default: empty A regexp pattern that matches the program's password prompt.
Definition: cliinterface.h:58
void entry(const ArchiveEntry &archiveEntry)
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
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
CliPlugin(QObject *parent, const QVariantList &args)
Definition: cli7zplugin/cliplugin.cpp:36
QString right(int n) const
void clear()
bool contains(QChar ch, Qt::CaseSensitivity cs) const
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
QStringList The names to the program that will handle deleting of elements in this archive format (eg...
Definition: cliinterface.h:178
bool isEmpty() const
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
bool contains(const Key &key) const
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.