|
|
|
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
|
|
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>class KIconLoader</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 KIconLoader</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">tdecore 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>tdecore</td>
|
|
|
|
</tr>
|
|
|
|
<tr><td>Class</td>
|
|
|
|
<td>KIconLoader</td>
|
|
|
|
</tr>
|
|
|
|
<tr><td>Inherits</td>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<h3>methods</h3><ul>
|
|
|
|
<li><b>KIconLoader</b> (appname = TQString .null, dirs = 0)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconLoader instance</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>appname</td><td>TQString</td><td>TQString .null</td></tr>
|
|
|
|
<tr><td>dirs</td><td>KStandardDirs</td><td>0</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>addAppDir</b> (appname)
|
|
|
|
<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>appname</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>addExtraDesktopThemes</b> ()
|
|
|
|
<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></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>alphaBlending</b> (group)
|
|
|
|
<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>group</td><td>KIcon.Group</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>currentSize</b> (group)
|
|
|
|
<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>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>enableDelayedIconSetLoading</b> (enable)
|
|
|
|
<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>enable</td><td>bool</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>extraDesktopThemesAdded</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>iconEffect</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KIconEffect)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>iconPath</b> (name, group_or_size, canReturnNull = 0)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</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>
|
|
|
|
<tr><td>group_or_size</td><td>int</td><td></td></tr>
|
|
|
|
<tr><td>canReturnNull</td><td>bool</td><td>0</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>isDelayedIconSetLoadingEnabled</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>loadAnimated</b> (name, group, size = 0)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</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>
|
|
|
|
<tr><td>group</td><td>KIcon.Group</td><td></td></tr>
|
|
|
|
<tr><td>size</td><td>int</td><td>0</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>loadIcon</b> (name, group, size = 0, state = KIcon .DefaultState, path_store = 0, canReturnNull = 0)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</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>
|
|
|
|
<tr><td>group</td><td>KIcon.Group</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>path_store</td><td>TQString</td><td>0</td></tr>
|
|
|
|
<tr><td>canReturnNull</td><td>bool</td><td>0</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>loadIconSet</b> (name, group, size, canReturnNull, immediateExistenceCheck)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQIconSet)</i></td></tr>
|
|
|
|
<tr><td>In versions KDE 3.5.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>TQString</td><td></td></tr>
|
|
|
|
<tr><td>group</td><td>KIcon.Group</td><td></td></tr>
|
|
|
|
<tr><td>size</td><td>int</td><td></td></tr>
|
|
|
|
<tr><td>canReturnNull</td><td>bool</td><td></td></tr>
|
|
|
|
<tr><td>immediateExistenceCheck</td><td>bool</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>loadIconSet</b> (name, group, size, canReturnNull)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQIconSet)</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>TQString</td><td></td></tr>
|
|
|
|
<tr><td>group</td><td>KIcon.Group</td><td></td></tr>
|
|
|
|
<tr><td>size</td><td>int</td><td></td></tr>
|
|
|
|
<tr><td>canReturnNull</td><td>bool</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>loadIconSet</b> (name, group, size = 0)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQIconSet)</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>
|
|
|
|
<tr><td>group</td><td>KIcon.Group</td><td></td></tr>
|
|
|
|
<tr><td>size</td><td>int</td><td>0</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>loadMovie</b> (name, group, size = 0)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQMovie)</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>
|
|
|
|
<tr><td>group</td><td>KIcon.Group</td><td></td></tr>
|
|
|
|
<tr><td>size</td><td>int</td><td>0</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>moviePath</b> (name, group, size = 0)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</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>
|
|
|
|
<tr><td>group</td><td>KIcon.Group</td><td></td></tr>
|
|
|
|
<tr><td>size</td><td>int</td><td>0</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>queryIcons</b> (group_or_size, context = KIcon .Any)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>group_or_size</td><td>int</td><td></td></tr>
|
|
|
|
<tr><td>context</td><td>KIcon.Context</td><td>KIcon .Any</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>queryIconsByContext</b> (group_or_size, context = KIcon .Any)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
|
|
<tr><td>group_or_size</td><td>int</td><td></td></tr>
|
|
|
|
<tr><td>context</td><td>KIcon.Context</td><td>KIcon .Any</td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>queryIconsByDir</b> (iconsDir)
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</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>iconsDir</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>reconfigure</b> (_appname, _dirs)
|
|
|
|
<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>_appname</td><td>TQString</td><td></td></tr>
|
|
|
|
<tr><td>_dirs</td><td>KStandardDirs</td><td></td></tr>
|
|
|
|
</table>
|
|
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>theme</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KIconTheme)</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
<li><b>unknown</b> ()
|
|
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr>
|
|
|
|
<tr><td><i>static</i></td></tr>
|
|
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|