Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jan Paul Batrina
Ark
Commits
587907db
Commit
587907db
authored
Jun 10, 2009
by
Raphael Kubo da Costa
Browse files
Constify.
svn path=/trunk/KDE/kdeutils/ark/; revision=979512
parent
3337324f
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/libarchive/libarchivehandler.cpp
View file @
587907db
...
...
@@ -606,7 +606,7 @@ int LibArchiveInterface::extractionFlags() const
return
result
;
}
void
LibArchiveInterface
::
copyData
(
QString
filename
,
struct
archive
*
dest
,
bool
partialprogress
)
void
LibArchiveInterface
::
copyData
(
const
QString
&
filename
,
struct
archive
*
dest
,
bool
partialprogress
)
{
char
buff
[
ARCHIVE_DEFAULT_BYTES_PER_BLOCK
];
ssize_t
readBytes
;
...
...
plugins/libarchive/libarchivehandler.h
View file @
587907db
...
...
@@ -49,8 +49,8 @@ class LibArchiveInterface: public ReadWriteArchiveInterface
private:
void
emitEntryFromArchiveEntry
(
struct
archive_entry
*
entry
);
int
extractionFlags
()
const
;
void
copyData
(
const
QString
&
filename
,
struct
archive
*
dest
,
bool
partialprogress
=
true
);
void
copyData
(
struct
archive
*
source
,
struct
archive
*
dest
,
bool
partialprogress
=
true
);
void
copyData
(
QString
filename
,
struct
archive
*
dest
,
bool
partialprogress
=
true
);
bool
writeFile
(
const
QString
&
fileName
,
struct
archive
*
arch
,
struct
archive_entry
*
entry
);
int
m_cachedArchiveEntryCount
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment