ark
addtoarchive.cpp
Go to the documentation of this file.
140 KMessageBox::error(NULL, i18n("You need to either supply a filename for the archive or a suffix (such as rar, tar.gz) with the <command>--autofilename</command> argument."));
161 finalName = base + QLatin1Char( '_' ) + QString::number(appendNumber) + QLatin1Char( '.' ) + m_autoFilenameSuffix;
169 KMessageBox::error(NULL, i18n("Failed to create the new archive. Permissions might not be sufficient."));
void setAutoFilenameSuffix(const QString &suffix)
Definition: addtoarchive.cpp:57
const T & at(int i) const
void setFilename(const KUrl &path)
Definition: addtoarchive.cpp:67
Definition: jobs.h:140
T * data() const
Definition: adddialog.h:39
void chop(int n)
int size() const
QString number(int n, int base)
bool isEmpty() const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
QDir dir() const
T & first()
Definition: archive.h:88
void setMimeType(const QString &mimeType)
Definition: addtoarchive.cpp:72
void setChangeToFirstPath(bool value)
Definition: addtoarchive.cpp:62
QString absolutePath() const
AddJob * addFiles(const QStringList &files, const CompressionOptions &options=CompressionOptions())
Compression options that should be handled by all interfaces:
Definition: archive.cpp:174
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:36 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:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.