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.
205 lines
11 KiB
205 lines
11 KiB
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
|
<html>
|
|
<head>
|
|
<title>class KMJobManager</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 KMJobManager</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">tdeprint 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>tdeprint</td>
|
|
</tr>
|
|
<tr><td>Class</td>
|
|
<td>KMJobManager</td>
|
|
</tr>
|
|
<tr><td>Inherits</td>
|
|
<td>TQObject </td>
|
|
</tr>
|
|
</table>
|
|
<h3>enums</h3><ul>
|
|
<li><b>JobType</b> = {ActiveJobs, CompletedJobs
|
|
}</ul>
|
|
<h3>methods</h3><ul>
|
|
<li><b>KMJobManager</b> (parent = 0, name = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KMJobManager 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>parent</td><td>TQObject</td><td>0</td></tr>
|
|
<tr><td>name</td><td>char</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>actions</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</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>addJob</b> (a0)
|
|
<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>a0</td><td>KMJob</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>addPrinter</b> (pr, type = ActiveJobs, isSpecial = 0)
|
|
<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.2 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>pr</td><td>TQString</td><td></td></tr>
|
|
<tr><td>type</td><td>KMJobManager.JobType</td><td>ActiveJobs</td></tr>
|
|
<tr><td>isSpecial</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>addPrinter</b> (a0, a1 = ActiveJobs)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions <i>less than</i> KDE 3.2.2 only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>a0</td><td>TQString</td><td></td></tr>
|
|
<tr><td>a1</td><td>KMJobManager.JobType</td><td>ActiveJobs</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>clearFilter</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>createPluginActions</b> (a0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQValueList<TDEAction)</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>a0</td><td>TDEActionCollection</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>discardAllJobs</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>doPluginAction</b> (a0, a1)
|
|
<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>a0</td><td>int</td><td></td></tr>
|
|
<tr><td>a1</td><td>TQPtrList<KMJob></td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>filter</b> ()
|
|
<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>findJob</b> (uri)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KMJob)</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>uri</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>jobList</b> (reload = 1)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPtrList<KMJob>)</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>reload</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>limit</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</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>listJobs</b> (prname, type, limit = 0)
|
|
<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>prname</td><td>TQString</td><td></td></tr>
|
|
<tr><td>type</td><td>KMJobManager.JobType</td><td></td></tr>
|
|
<tr><td>limit</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>removeDiscardedJobs</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>removePrinter</b> (pr, type = ActiveJobs)
|
|
<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>pr</td><td>TQString</td><td></td></tr>
|
|
<tr><td>type</td><td>KMJobManager.JobType</td><td>ActiveJobs</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>self</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KMJobManager)</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</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>
|
|
<li><b>sendCommand</b> (uri, action, arg = TQString .null)
|
|
<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>uri</td><td>TQString</td><td></td></tr>
|
|
<tr><td>action</td><td>int</td><td></td></tr>
|
|
<tr><td>arg</td><td>TQString</td><td>TQString .null</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>sendCommand</b> (jobs, action, arg = TQString .null)
|
|
<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>jobs</td><td>TQPtrList<KMJob></td><td></td></tr>
|
|
<tr><td>action</td><td>int</td><td></td></tr>
|
|
<tr><td>arg</td><td>TQString</td><td>TQString .null</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>sendCommandSystemJob</b> (jobs, action, arg = TQString .null)
|
|
<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>jobs</td><td>TQPtrList<KMJob></td><td></td></tr>
|
|
<tr><td>action</td><td>int</td><td></td></tr>
|
|
<tr><td>arg</td><td>TQString</td><td>TQString .null</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>sendCommandThreadJob</b> (jobs, action, arg = TQString .null)
|
|
<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>jobs</td><td>TQPtrList<KMJob></td><td></td></tr>
|
|
<tr><td>action</td><td>int</td><td></td></tr>
|
|
<tr><td>arg</td><td>TQString</td><td>TQString .null</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setLimit</b> (val)
|
|
<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>val</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>threadJob</b> ()
|
|
<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>validatePluginActions</b> (a0, a1)
|
|
<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>a0</td><td>TDEActionCollection</td><td></td></tr>
|
|
<tr><td>a1</td><td>TQPtrList<KMJob></td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
</ul>
|
|
|
|
</body>
|
|
</html>
|