You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytde/doc/classref/kio/KZip.html

229 lines
12 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
"http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
<title>class KZip</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="wabbit dumphtml">
</head>
<body>
<h4>PyKDE - Python Bindings for KDE</h4>
<hr>
<table width="100%"><tr>
<td width ="70%">
<h1>class KZip</h1><hr>
</td>
<td width="30%" valign="top" align="right">
<table>
<tr><td align="right"><a href="doc/index.html">Table of contents</a></td></tr>
<tr><td align="right"><a href="../index.html">Modules</a></td></tr>
<tr><td align="right"><a href="index.html">kio Classes</a></td></tr>
<tr><td align="right"><a href="../allclasses.html">All Classes</a></td></tr>
</table>
</td>
</tr></table>
<table>
<tr><td width="10%" align=left>Module</td>
<td width="30%" align=left>kio</td>
</tr>
<tr><td>Class</td>
<td>KZip</td>
</tr>
<tr><td>Inherits</td>
<td>KArchive </td>
</tr>
</table>
<h3>enums</h3><ul>
<li><b>Compression</b> = {NoCompression, DeflateCompression
}<li><b>ExtraField</b> = {NoExtraField, ModificationTime, DefaultExtraField
}</ul>
<h3>methods</h3><ul>
<li><b>KZip</b> (filename)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KZip instance</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>filename</td><td>QString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>KZip</b> (dev)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KZip instance</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>dev</td><td>QIODevice</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>closeArchive</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>compression</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KZip.Compression)</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>doneWriting</b> (size)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>size</td><td>uint</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>extraField</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KZip.ExtraField)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>fileName</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>openArchive</b> (mode)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>mode</td><td>int</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>prepareWriting</b> (name, user, group, size)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>QString</td><td></td></tr>
<tr><td>user</td><td>QString</td><td></td></tr>
<tr><td>group</td><td>QString</td><td></td></tr>
<tr><td>size</td><td>uint</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>prepareWriting</b> (name, user, group, size, perm, atime, mtime, ctime)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>QString</td><td></td></tr>
<tr><td>user</td><td>QString</td><td></td></tr>
<tr><td>group</td><td>QString</td><td></td></tr>
<tr><td>size</td><td>uint</td><td></td></tr>
<tr><td>perm</td><td>mode_t</td><td></td></tr>
<tr><td>atime</td><td>time_t</td><td></td></tr>
<tr><td>mtime</td><td>time_t</td><td></td></tr>
<tr><td>ctime</td><td>time_t</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>prepareWriting_impl</b> (name, user, group, size, perm, atime, mtime, ctime)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>QString</td><td></td></tr>
<tr><td>user</td><td>QString</td><td></td></tr>
<tr><td>group</td><td>QString</td><td></td></tr>
<tr><td>size</td><td>uint</td><td></td></tr>
<tr><td>perm</td><td>mode_t</td><td></td></tr>
<tr><td>atime</td><td>time_t</td><td></td></tr>
<tr><td>mtime</td><td>time_t</td><td></td></tr>
<tr><td>ctime</td><td>time_t</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setCompression</b> (c)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>c</td><td>KZip.Compression</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setExtraField</b> (ef)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>ef</td><td>KZip.ExtraField</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>virtual_hook</b> (id, data)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>id</td><td>int</td><td></td></tr>
<tr><td>data</td><td>void</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>writeData</b> (data, size)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>data</td><td>char</td><td></td></tr>
<tr><td>size</td><td>uint</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>writeData_impl</b> (data, size)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>data</td><td>char</td><td></td></tr>
<tr><td>size</td><td>uint</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>writeDir</b> (name, user, group)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>QString</td><td></td></tr>
<tr><td>user</td><td>QString</td><td></td></tr>
<tr><td>group</td><td>QString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>writeFile</b> (name, user, group, size, data)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>QString</td><td></td></tr>
<tr><td>user</td><td>QString</td><td></td></tr>
<tr><td>group</td><td>QString</td><td></td></tr>
<tr><td>size</td><td>uint</td><td></td></tr>
<tr><td>data</td><td>char</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>writeFile</b> (name, user, group, size, perm, atime, mtime, ctime, data)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>QString</td><td></td></tr>
<tr><td>user</td><td>QString</td><td></td></tr>
<tr><td>group</td><td>QString</td><td></td></tr>
<tr><td>size</td><td>uint</td><td></td></tr>
<tr><td>perm</td><td>mode_t</td><td></td></tr>
<tr><td>atime</td><td>time_t</td><td></td></tr>
<tr><td>mtime</td><td>time_t</td><td></td></tr>
<tr><td>ctime</td><td>time_t</td><td></td></tr>
<tr><td>data</td><td>char</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>writeSymLink</b> (name, target, user, group, perm, atime, mtime, ctime)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>QString</td><td></td></tr>
<tr><td>target</td><td>QString</td><td></td></tr>
<tr><td>user</td><td>QString</td><td></td></tr>
<tr><td>group</td><td>QString</td><td></td></tr>
<tr><td>perm</td><td>mode_t</td><td></td></tr>
<tr><td>atime</td><td>time_t</td><td></td></tr>
<tr><td>mtime</td><td>time_t</td><td></td></tr>
<tr><td>ctime</td><td>time_t</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>writeSymLink_impl</b> (name, target, user, group, perm, atime, mtime, ctime)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>QString</td><td></td></tr>
<tr><td>target</td><td>QString</td><td></td></tr>
<tr><td>user</td><td>QString</td><td></td></tr>
<tr><td>group</td><td>QString</td><td></td></tr>
<tr><td>perm</td><td>mode_t</td><td></td></tr>
<tr><td>atime</td><td>time_t</td><td></td></tr>
<tr><td>mtime</td><td>time_t</td><td></td></tr>
<tr><td>ctime</td><td>time_t</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
</ul>
</body>
</html>