|
|
|
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
|
|
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>class KFilePlugin</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 KFilePlugin</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>KFilePlugin <a href = "sip/glossary.html#abstract">(<i>abstract</i>)</a></td>
|
|
|
|
</tr>
|
|
|
|
<tr><td>Inherits</td>
|
|
|
|
<td>TQObject </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<h3>methods</h3><ul>
|
|
|
|
<li><b>KFilePlugin</b> (parent, name, args)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KFilePlugin instance</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>parent</td><td>TQObject</td><td></td></tr>
|
|
|
|
<tr><td>name</td><td>char</td><td></td></tr>
|
|
|
|
<tr><td>args</td><td>TQStringList</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>addGroupInfo</b> (info, key, translatedKey)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileMimeTypeInfo.GroupInfo)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>info</td><td>KFileMimeTypeInfo</td><td></td></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>translatedKey</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>addItemInfo</b> (gi, key, translatedKey, type)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileMimeTypeInfo.ItemInfo)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>gi</td><td>KFileMimeTypeInfo.GroupInfo</td><td></td></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>translatedKey</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>type</td><td>TQVariant.Type</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>addMimeTypeInfo</b> (mimeType)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileMimeTypeInfo)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>mimeType</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>addVariableInfo</b> (gi, type, attr)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>gi</td><td>KFileMimeTypeInfo.GroupInfo</td><td></td></tr>
|
|
|
|
<tr><td>type</td><td>TQVariant.Type</td><td></td></tr>
|
|
|
|
<tr><td>attr</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>appendGroup</b> (info, 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>info</td><td>KFileMetaInfo</td><td></td></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>appendItem</b> (group, key, value)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>group</td><td>KFileMetaInfoGroup</td><td></td></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>value</td><td>TQVariant</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>createValidator</b> (mimeType, group, key, parent, name)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQValidator)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>mimeType</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>group</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>key</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>parent</td><td>TQObject</td><td></td></tr>
|
|
|
|
<tr><td>name</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>readInfo</b> (info, what = KFileMetaInfo .Fastest) = 0
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>info</td><td>KFileMetaInfo</td><td></td></tr>
|
|
|
|
<tr><td>what</td><td>uint</td><td>KFileMetaInfo .Fastest</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>setAttributes</b> (gi, attr)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>gi</td><td>KFileMimeTypeInfo.GroupInfo</td><td></td></tr>
|
|
|
|
<tr><td>attr</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>setAttributes</b> (item, attr)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>item</td><td>KFileMimeTypeInfo.ItemInfo</td><td></td></tr>
|
|
|
|
<tr><td>attr</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>setHint</b> (item, hint)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>item</td><td>KFileMimeTypeInfo.ItemInfo</td><td></td></tr>
|
|
|
|
<tr><td>hint</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>setPrefix</b> (item, prefix)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>item</td><td>KFileMimeTypeInfo.ItemInfo</td><td></td></tr>
|
|
|
|
<tr><td>prefix</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>setSuffix</b> (item, suffix)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>item</td><td>KFileMimeTypeInfo.ItemInfo</td><td></td></tr>
|
|
|
|
<tr><td>suffix</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>setUnit</b> (item, unit)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>item</td><td>KFileMimeTypeInfo.ItemInfo</td><td></td></tr>
|
|
|
|
<tr><td>unit</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>writeInfo</b> (info)
|
|
|
|
<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>info</td><td>KFileMetaInfo</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|