|
|
|
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
|
|
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>class KFileMetaInfo</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 KFileMetaInfo</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>KFileMetaInfo</td>
|
|
|
|
</tr>
|
|
|
|
<tr><td>Inherits</td>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<h3>enums</h3><ul>
|
|
|
|
<li><b>What</b> = {Fastest, DontCare, TechnicalInfo, ContentInfo, ExtenedAttr, Thumbnail, Preferred, Everything
|
|
|
|
}</ul>
|
|
|
|
<h3>methods</h3><ul>
|
|
|
|
<li><b>KFileMetaInfo</b> (path, mimeType = TQString .null, what = Fastest)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KFileMetaInfo instance</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>path</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>mimeType</td><td>TQString</td><td>TQString .null</td></tr>
|
|
|
|
<tr><td>what</td><td>uint</td><td>Fastest</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>KFileMetaInfo</b> (url, mimeType = TQString .null, what = Fastest)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KFileMetaInfo instance</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>url</td><td>KURL</td><td></td></tr>
|
|
|
|
<tr><td>mimeType</td><td>TQString</td><td>TQString .null</td></tr>
|
|
|
|
<tr><td>what</td><td>uint</td><td>Fastest</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>KFileMetaInfo</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KFileMetaInfo instance</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>KFileMetaInfo</b> (original)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KFileMetaInfo instance</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>original</td><td>KFileMetaInfo</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>addGroup</b> (name)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>name</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>appendGroup</b> (name)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileMetaInfoGroup)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>name</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>applyChanges</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>applyChanges</b> (path)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
|
|
<tr><td>In versions KDE 3.5.3 and above only</td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>path</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>contains</b> (key)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>containsGroup</b> (key)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>deref</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>editableGroups</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>group</b> (key)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileMetaInfoGroup)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>groups</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>isEmpty</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>isValid</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>item</b> (key)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileMetaInfoItem)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>item</b> (hint)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileMetaInfoItem)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>hint</td><td>Hint</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>mimeType</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>path</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>plugin</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFilePlugin)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>preferredGroups</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>preferredKeys</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>ref</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>removeGroup</b> (name)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>name</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>removedGroups</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>saveItem</b> (key, preferredGroup = TQString .null, createGroup = 1)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileMetaInfoItem)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>preferredGroup</td><td>TQString</td><td>TQString .null</td></tr>
|
|
|
|
<tr><td>createGroup</td><td>bool</td><td>1</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>supportedGroups</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>supportedKeys</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>url</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KURL)</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>value</b> (key)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQVariant)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
</ul>
|
|
|
|
<h2>operators</h2><ul>
|
|
|
|
<li><b>operator []</b> (key)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileMetaInfoGroup),</i></td></tr>
|
|
|
|
<tr><td>In versions KDE 3.1.4 and above only</td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|