#### PyKDE - Python Bindings for KDE

# class KParts.BrowserRun |
Table of contents
Modules
tdeparts Classes
All Classes

Module | tdeparts
Class | KParts.BrowserRun
Inherits | KRun

### enums

- AskEmbedOrSaveFlags = {InlineDisposition, AttachmentDisposition }
- AskSaveResult = {Save, Open, Cancel }

### methods

- BrowserRun (url, args, part, window, removeReferrer, trustedSource)

  returns a BrowserRun instance
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  args | KParts.URLArgs |
  part | KParts.ReadOnlyPart |
  window | TQWidget |
  removeReferrer | bool |
  trustedSource | bool |

- BrowserRun (url, args, part, window, removeReferrer, trustedSource, hideErrorDialog)

  returns a BrowserRun instance
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  args | KParts.URLArgs |
  part | KParts.ReadOnlyPart |
  window | TQWidget |
  removeReferrer | bool |
  trustedSource | bool |
  hideErrorDialog | bool |

- allowExecution (serviceType, url)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  serviceType | TQString |
  url | KURL |

- askEmbedOrSave (url, mimeType, suggestedFilename = TQString .null, flags = 0)

  returns (KParts.BrowserRun.AskSaveResult)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  mimeType | TQString |
  suggestedFilename | TQString | TQString .null
  flags | int | 0

- askSave (url, offer, mimeType, suggestedFilename = TQString .null)

  returns (KParts.BrowserRun.AskSaveResult)
  static
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  offer | KService.Ptr |
  mimeType | TQString |
  suggestedFilename | TQString | TQString .null

- contentDisposition ()

  returns (TQString)
  In versions KDE 3.5.2 and above only

- handleError (job)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  job | _TDEIO.Job |

- handleNonEmbeddable (mimeType)

  Not Implemented

- hideErrorDialog ()

  returns (bool)
  In versions KDE 3.1.0 and above only

- init ()

  returns nothing
  In versions KDE 3.1.0 and above only

- isExecutable (serviceType)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  serviceType | TQString |

- isTextExecutable (serviceType)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  serviceType | TQString |

- save (url, suggestedFilename)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  suggestedFilename | TQString |

- scanFile ()

  returns nothing

- serverSuggestsSave ()

  returns (bool)
  In versions KDE 3.5.2 and above only

- simpleSave (url, suggestedFilename, window)

  returns nothing
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  suggestedFilename | TQString |
  window | TQWidget |

- simpleSave (url, suggestedFilename)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  suggestedFilename | TQString |

- slotBrowserMimetype (job, type)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  job | _TDEIO.Job |
  type | TQString |

- slotBrowserScanFinished (job)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  job | _TDEIO.Job |

- slotCopyToTempFileResult (job)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  job | _TDEIO.Job |

- slotStatResult (job)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  job | _TDEIO.Job |

- suggestedFilename ()

  returns (TQString)
  In versions KDE 3.2.0 and above only

- url ()

  returns (KURL)