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.
198 lines
11 KiB
198 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 KParts.BrowserRun</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 KParts.BrowserRun</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">kparts 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>kparts</td>
|
|
</tr>
|
|
<tr><td>Class</td>
|
|
<td>KParts.BrowserRun</td>
|
|
</tr>
|
|
<tr><td>Inherits</td>
|
|
<td>KRun </td>
|
|
</tr>
|
|
</table>
|
|
<h3>enums</h3><ul>
|
|
<li><b>AskEmbedOrSaveFlags</b> = {InlineDisposition, AttachmentDisposition
|
|
}<li><b>AskSaveResult</b> = {Save, Open, Cancel
|
|
}</ul>
|
|
<h3>methods</h3><ul>
|
|
<li><b>BrowserRun</b> (url, args, part, window, removeReferrer, trustedSource)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a BrowserRun instance</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>url</td><td>KURL</td><td></td></tr>
|
|
<tr><td>args</td><td>KParts.URLArgs</td><td></td></tr>
|
|
<tr><td>part</td><td>KParts.ReadOnlyPart</td><td></td></tr>
|
|
<tr><td>window</td><td>TQWidget</td><td></td></tr>
|
|
<tr><td>removeReferrer</td><td>bool</td><td></td></tr>
|
|
<tr><td>trustedSource</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>BrowserRun</b> (url, args, part, window, removeReferrer, trustedSource, hideErrorDialog)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a BrowserRun 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>url</td><td>KURL</td><td></td></tr>
|
|
<tr><td>args</td><td>KParts.URLArgs</td><td></td></tr>
|
|
<tr><td>part</td><td>KParts.ReadOnlyPart</td><td></td></tr>
|
|
<tr><td>window</td><td>TQWidget</td><td></td></tr>
|
|
<tr><td>removeReferrer</td><td>bool</td><td></td></tr>
|
|
<tr><td>trustedSource</td><td>bool</td><td></td></tr>
|
|
<tr><td>hideErrorDialog</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>allowExecution</b> (serviceType, url)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></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>serviceType</td><td>TQString</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>askEmbedOrSave</b> (url, mimeType, suggestedFilename = TQString .null, flags = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KParts.BrowserRun.AskSaveResult)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.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>url</td><td>KURL</td><td></td></tr>
|
|
<tr><td>mimeType</td><td>TQString</td><td></td></tr>
|
|
<tr><td>suggestedFilename</td><td>TQString</td><td>TQString .null</td></tr>
|
|
<tr><td>flags</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>askSave</b> (url, offer, mimeType, suggestedFilename = TQString .null)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KParts.BrowserRun.AskSaveResult)</i></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>url</td><td>KURL</td><td></td></tr>
|
|
<tr><td>offer</td><td>KService.Ptr</td><td></td></tr>
|
|
<tr><td>mimeType</td><td>TQString</td><td></td></tr>
|
|
<tr><td>suggestedFilename</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>contentDisposition</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.5.2 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>handleError</b> (job)
|
|
<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>job</td><td>KIO.Job</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>handleNonEmbeddable</b> (mimeType)
|
|
<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>hideErrorDialog</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>init</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>isExecutable</b> (serviceType)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></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>serviceType</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>isTextExecutable</b> (serviceType)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></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>serviceType</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>save</b> (url, suggestedFilename)
|
|
<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>url</td><td>KURL</td><td></td></tr>
|
|
<tr><td>suggestedFilename</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>scanFile</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>
|
|
<li><b>serverSuggestsSave</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.5.2 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>simpleSave</b> (url, suggestedFilename, window)
|
|
<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.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>url</td><td>KURL</td><td></td></tr>
|
|
<tr><td>suggestedFilename</td><td>TQString</td><td></td></tr>
|
|
<tr><td>window</td><td>TQWidget</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>simpleSave</b> (url, suggestedFilename)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></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>url</td><td>KURL</td><td></td></tr>
|
|
<tr><td>suggestedFilename</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>slotBrowserMimetype</b> (job, type)
|
|
<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>job</td><td>KIO.Job</td><td></td></tr>
|
|
<tr><td>type</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>slotBrowserScanFinished</b> (job)
|
|
<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>job</td><td>KIO.Job</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>slotCopyToTempFileResult</b> (job)
|
|
<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>job</td><td>KIO.Job</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>slotStatResult</b> (job)
|
|
<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>job</td><td>KIO.Job</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>suggestedFilename</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>url</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KURL)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
</ul>
|
|
|
|
</body>
|
|
</html>
|