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.
pytde/doc/classref/tdeio/Observer.html

290 lines
16 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
"http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
<title>class Observer</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 Observer</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">tdeio 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>tdeio</td>
</tr>
<tr><td>Class</td>
<td>Observer</td>
</tr>
<tr><td>Inherits</td>
<td>TQObject, DCOPObject </td>
</tr>
</table>
<h3>methods</h3><ul>
<li><b>Observer</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a Observer instance</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>functions</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QCStringList)</i></td></tr>
<tr><td>In versions KDE 3.1.4 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>interfaces</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QCStringList)</i></td></tr>
<tr><td>In versions KDE 3.1.4 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>jobFinished</b> (progressId)
<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>progressId</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>killJob</b> (progressId)
<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>progressId</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>messageBox</b> (progressId, type, text, caption, buttonYes, buttonNo)
<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>progressId</td><td>int</td><td></td></tr>
<tr><td>type</td><td>int</td><td></td></tr>
<tr><td>text</td><td>TQString</td><td></td></tr>
<tr><td>caption</td><td>TQString</td><td></td></tr>
<tr><td>buttonYes</td><td>TQString</td><td></td></tr>
<tr><td>buttonNo</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>messageBox</b> (progressId, type, text, caption, buttonYes, buttonNo, dontAskAgainName)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.3.0 and above only</td></tr>
<tr><td><i>static</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>progressId</td><td>int</td><td></td></tr>
<tr><td>type</td><td>int</td><td></td></tr>
<tr><td>text</td><td>TQString</td><td></td></tr>
<tr><td>caption</td><td>TQString</td><td></td></tr>
<tr><td>buttonYes</td><td>TQString</td><td></td></tr>
<tr><td>buttonNo</td><td>TQString</td><td></td></tr>
<tr><td>dontAskAgainName</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>metadata</b> (progressId)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(_TDEIO.MetaData)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>progressId</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>mounting</b> (a0, dev, point)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>dev</td><td>TQString</td><td></td></tr>
<tr><td>point</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>newJob</b> (job, showProgress)
<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>job</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>showProgress</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>openPassDlg</b> (prompt, user, pass, readOnly)
<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>prompt</td><td>TQString</td><td></td></tr>
<tr><td>user</td><td>TQString</td><td></td></tr>
<tr><td>pass</td><td>TQString</td><td></td></tr>
<tr><td>readOnly</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>openPassDlg</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>_TDEIO.AuthInfo</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>open_RenameDlg</b> (job, caption, src, dest, mode, newDest, sizeSrc = -1, sizeDest = -1, ctimeSrc = -1, ctimeDest = -1, mtimeSrc = -1, mtimeDest = -1)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(_TDEIO.RenameDlg_Result)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>job</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>caption</td><td>TQString</td><td></td></tr>
<tr><td>src</td><td>TQString</td><td></td></tr>
<tr><td>dest</td><td>TQString</td><td></td></tr>
<tr><td>mode</td><td>_TDEIO.RenameDlg_Mode</td><td></td></tr>
<tr><td>newDest</td><td>TQString</td><td></td></tr>
<tr><td>sizeSrc</td><td>_TDEIO.filesize_t</td><td>-1</td></tr>
<tr><td>sizeDest</td><td>_TDEIO.filesize_t</td><td>-1</td></tr>
<tr><td>ctimeSrc</td><td>time_t</td><td>-1</td></tr>
<tr><td>ctimeDest</td><td>time_t</td><td>-1</td></tr>
<tr><td>mtimeSrc</td><td>time_t</td><td>-1</td></tr>
<tr><td>mtimeDest</td><td>time_t</td><td>-1</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>open_SkipDlg</b> (job, multi, error_text)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(_TDEIO.SkipDlg_Result)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>job</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>multi</td><td>bool</td><td></td></tr>
<tr><td>error_text</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>process</b> (fun, data, replyType, replyData)
<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.4 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>fun</td><td>TQCString</td><td></td></tr>
<tr><td>data</td><td>TQByteArray</td><td></td></tr>
<tr><td>replyType</td><td>TQCString</td><td></td></tr>
<tr><td>replyData</td><td>TQByteArray</td><td></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>(Observer)</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>
<li><b>slotCanResume</b> (a0, offset)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>offset</td><td>_TDEIO.filesize_t</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>slotCopying</b> (a0, from, to)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>from</td><td>KURL</td><td></td></tr>
<tr><td>to</td><td>KURL</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>slotCreatingDir</b> (a0, dir)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>dir</td><td>KURL</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>slotDeleting</b> (a0, url)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>url</td><td>KURL</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>slotInfoMessage</b> (a0, msg)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>msg</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>slotMoving</b> (a0, from, to)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>from</td><td>KURL</td><td></td></tr>
<tr><td>to</td><td>KURL</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>slotPercent</b> (a0, percent)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>percent</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>slotProcessedDirs</b> (a0, 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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>dirs</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>slotProcessedFiles</b> (a0, files)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>files</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>slotProcessedSize</b> (a0, size)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>size</td><td>_TDEIO.filesize_t</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>slotSpeed</b> (a0, speed)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>speed</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>slotTotalDirs</b> (a0, 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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>dirs</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>slotTotalFiles</b> (a0, files)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>files</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>slotTotalSize</b> (a0, size)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>size</td><td>_TDEIO.filesize_t</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>slotTransferring</b> (a0, url)
<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>_TDEIO.Job</td><td></td></tr>
<tr><td>url</td><td>KURL</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>stating</b> (a0, url)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>url</td><td>KURL</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>unmounting</b> (a0, point)
<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>a0</td><td>_TDEIO.Job</td><td></td></tr>
<tr><td>point</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>~Observer</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>
</ul>
</body>
</html>