#### PyKDE - Python Bindings for KDE

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

Module | tdeparts
Class | KParts.BrowserExtension
Inherits | TQObject

### enums

- (anonymous) = {DefaultPopupItems, ShowNavigationItems, ShowUp, ShowReload, ShowBookmark, ShowCreateDirectory, ShowTextSelectionItems, NoDeletion }
- (anonymous) = {DefaultPopupItems, ShowNavigationItems, ShowUp, ShowReload, ShowBookmark, ShowCreateDirectory, ShowTextSelectionItems }
- (anonymous) = {DefaultPopupItems, ShowNavigationItems, ShowUp, ShowReload, ShowBookmark, ShowCreateDirectory }

### methods

- BrowserExtension (parent, name = 0)

  returns a BrowserExtension instance
  Argument | Type | Default
  --- | --- | ---
  parent | KParts.ReadOnlyPart |
  name | char | 0

- actionSlotMap ()

  returns (KParts.BrowserExtension.ActionSlotMap)
  static

- actionSlotMapPtr ()

  returns (KParts.BrowserExtension.ActionSlotMap)
  static

- actionText (name)

  returns (TQString)
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | char |

- addWebSideBar (url, name)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  name | TQString |

- browserInterface ()

  returns (KParts.BrowserInterface)

- childObject (obj)

  returns (KParts.BrowserExtension)
  static
  Argument | Type | Default
  --- | --- | ---
  obj | TQObject |

- createNewWindow (url, args = KParts .URLArgs ())

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  args | KParts.URLArgs | KParts .URLArgs ()

- createNewWindow (url, args, windowArgs, part)

  Not Implemented

- enableAction (name, enabled)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  name | char |
  enabled | bool |

- infoMessage (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |

- isActionEnabled (name)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  name | char |

- isURLDropHandlingEnabled ()

  returns (bool)

- loadingProgress (percent)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  percent | int |

- mouseOverInfo (item)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  item | KFileItem |

- moveTopLevelWidget (x, y)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  x | int |
  y | int |

- openURLNotify ()

  returns nothing

- openURLRequest (url, args = KParts .URLArgs ())

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  args | KParts.URLArgs | KParts .URLArgs ()

- openURLRequestDelayed (url, args = KParts .URLArgs ())

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  args | KParts.URLArgs | KParts .URLArgs ()

- pasteRequest ()

  returns nothing
  In versions KDE 3.2.0 and above only

- popupMenu (global, items)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  global | TQPoint |
  items | KFileItemList |

- popupMenu (client, global, items)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |
  global | TQPoint |
  items | KFileItemList |

- popupMenu (client, global, items, args, i)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |
  global | TQPoint |
  items | KFileItemList |
  args | KParts.URLArgs |
  i | KParts.BrowserExtension.PopupFlags |

- popupMenu (global, url, mimeType, mode = -1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  global | TQPoint |
  url | KURL |
  mimeType | TQString |
  mode | mode_t | -1

- popupMenu (client, global, url, mimeType, mode = -1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |
  global | TQPoint |
  url | KURL |
  mimeType | TQString |
  mode | mode_t | -1

- popupMenu (client, global, url, args, i, mode = -1)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |
  global | TQPoint |
  url | KURL |
  args | KParts.URLArgs |
  i | KParts.BrowserExtension.PopupFlags |
  mode | mode_t | -1

- requestFocus (part)

  returns nothing
  In versions KDE 3.3.1 and above only
  Argument | Type | Default
  --- | --- | ---
  part | KParts.ReadOnlyPart |

- resizeTopLevelWidget (w, h)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  w | int |
  h | int |

- restoreState (stream)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  stream | TQDataStream |

- saveState (stream)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  stream | TQDataStream |

- selectionInfo (items)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  items | KFileItemList |

- selectionInfo (text)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- selectionInfo (urls)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  urls | KURL.List |

- setActionText (name, text)

  returns nothing
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | char |
  text | TQString |

- setBrowserInterface (impl)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  impl | KParts.BrowserInterface |

- setIconURL (url)

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

- setLocationBarURL (url)

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

- setPageSecurity (a0)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- setURLArgs (args)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  args | KParts.URLArgs |

- setURLDropHandlingEnabled (enable)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- speedProgress (bytesPerSecond)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  bytesPerSecond | int |

- urlArgs ()

  returns (KParts.URLArgs)

- xOffset ()

  returns (int)

- yOffset ()

  returns (int)