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
void setFilename(const KUrl &path)
Definition: addtoarchive.cpp:67
Definition: jobs.h:140
Definition: adddialog.h:39
QHash< QString, QVariant > CompressionOptions
These are the extra options for doing the compression.
Definition: archive.h:85
Definition: archive.h:88
void setMimeType(const QString &mimeType)
Definition: addtoarchive.cpp:72
void setChangeToFirstPath(bool value)
Definition: addtoarchive.cpp:62
AddJob * addFiles(const QStringList &files, const CompressionOptions &options=CompressionOptions())
Compression options that should be handled by all interfaces:
Definition: archive.cpp:174
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.