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.
210 lines
12 KiB
210 lines
12 KiB
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
|
<html>
|
|
<head>
|
|
<title>kdecore globals</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>kdecore Globals</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">kdecore Classes</a></td></tr>
|
|
<tr><td align="right"><a href="../allclasses.html">All Classes</a></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr></table>
|
|
<h3>global methods</h3><ul>
|
|
<li><b>BarIcon</b> (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>size</td><td>int</td><td>0</td></tr>
|
|
<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>BarIcon</b> (name, instance)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>instance</td><td>KInstance</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>BarIconSet</b> (name, size = 0, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QIconSet)</i></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>size</td><td>int</td><td>0</td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>DesktopIcon</b> (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>size</td><td>int</td><td>0</td></tr>
|
|
<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>DesktopIcon</b> (name, instance)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>instance</td><td>KInstance</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>DesktopIconSet</b> (name, size = 0, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QIconSet)</i></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>size</td><td>int</td><td>0</td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>IconSize</b> (group, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>group</td><td>KIcon.Group</td><td></td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>MainBarIcon</b> (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>size</td><td>int</td><td>0</td></tr>
|
|
<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>MainBarIcon</b> (name, instance)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>instance</td><td>KInstance</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>MainBarIconSet</b> (name, size = 0, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QIconSet)</i></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>size</td><td>int</td><td>0</td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>SmallIcon</b> (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>size</td><td>int</td><td>0</td></tr>
|
|
<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>SmallIcon</b> (name, instance)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>instance</td><td>KInstance</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>SmallIconSet</b> (name, size = 0, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QIconSet)</i></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>size</td><td>int</td><td>0</td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>UserIcon</b> (name, state = KIcon .DefaultState, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>state</td><td>int</td><td>KIcon .DefaultState</td></tr>
|
|
<tr><td>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>UserIcon</b> (name, instance)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></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>instance</td><td>KInstance</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>UserIconSet</b> (name, instance = KGlobal .instance ())
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QIconSet)</i></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>instance</td><td>KInstance</td><td>KGlobal .instance ()</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>checkAccess</b> (pathname, mode)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>i18n</b> (text)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>text</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>i18n</b> (comment, text)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>comment</td><td>char</td><td></td></tr>
|
|
<tr><td>text</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>i18n</b> (singular, plural, n)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>singular</td><td>char</td><td></td></tr>
|
|
<tr><td>plural</td><td>char</td><td></td></tr>
|
|
<tr><td>n</td><td>ulong</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>kasciistricmp</b> (str1, str2)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>str1</td><td>char</td><td></td></tr>
|
|
<tr><td>str2</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>testKEntryMap</b> (dict)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QMap<KEntryKey,KEntry),</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>dict</td><td>KEntryMap</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>urlcmp</b> (_url1, _url2)
|
|
<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>_url1</td><td>QString</td><td></td></tr>
|
|
<tr><td>_url2</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>urlcmp</b> (_url1, _url2, _ignore_trailing, _ignore_ref)
|
|
<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>_url1</td><td>QString</td><td></td></tr>
|
|
<tr><td>_url2</td><td>QString</td><td></td></tr>
|
|
<tr><td>_ignore_trailing</td><td>bool</td><td></td></tr>
|
|
<tr><td>_ignore_ref</td><td>bool</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
</ul>
|
|
|
|
</body>
|
|
</html>
|