ark
cliplugin-example/cliplugin.cpp
Go to the documentation of this file.
52 p[ListArgs] = QStringList() << QLatin1String("v") << QLatin1String("-c-") << QLatin1String("$Archive");
53 p[ExtractArgs] = QStringList() << QLatin1String("-p-") << QLatin1String("$PreservePathSwitch") << QLatin1String("$PasswordSwitch") << QLatin1String("$RootNodeSwitch") << QLatin1String("$Archive") << QLatin1String("$Files");
58 p[DeleteArgs] = QStringList() << QLatin1String("d") << QLatin1String("$Archive") << QLatin1String("$Files");
69 p[AddArgs] = QStringList() << QLatin1String("a") << QLatin1String("$Archive") << QLatin1String("$Files");
QStringList Default: empty A list of regexp patterns that will cause the extraction to exit with a ge...
Definition: cliinterface.h:194
iterator remove(iterator pos)
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
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
QTime fromString(const QString &string, Qt::DateFormat format)
QString & remove(int position, int n)
void entry(const ArchiveEntry &archiveEntry)
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
CliPlugin(QObject *parent, const QVariantList &args)
Definition: cli7zplugin/cliplugin.cpp:36
Bool (default false) Will look for the %-sign in the stdout while working, in the form of (2%...
Definition: cliinterface.h:51
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
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
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.