Commit de71d695 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

Fix constness of extractFile() parameters in the header file.

'options' is a const parameter in archivemodel.cpp, and should be so in
the header declaration as well.

This should fix compilation with Sun Studio.

Patch by tropikhajma AT gmail.com, thanks!

Forward-port of r1170166.

CCBUG: 249552

svn path=/trunk/KDE/kdeutils/ark/; revision=1170167
parent 69da9ac4
......@@ -68,7 +68,7 @@ public:
Kerfuffle::ArchiveEntry entryForIndex(const QModelIndex &index);
int childCount(const QModelIndex &index);
Kerfuffle::ExtractJob* extractFile(const QVariant& fileName, const QString & destinationDir, Kerfuffle::ExtractionOptions options = Kerfuffle::ExtractionOptions()) const;
Kerfuffle::ExtractJob* extractFile(const QVariant& fileName, const QString & destinationDir, const Kerfuffle::ExtractionOptions options = Kerfuffle::ExtractionOptions()) const;
Kerfuffle::ExtractJob* extractFiles(const QList<QVariant>& files, const QString & destinationDir, const Kerfuffle::ExtractionOptions options = Kerfuffle::ExtractionOptions()) const;
Kerfuffle::AddJob* addFiles(const QStringList & paths, const Kerfuffle::CompressionOptions& options = Kerfuffle::CompressionOptions());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment