KDE 4.5 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

KBookmarkContextMenu Class Reference

from PyKDE4.kio import *

Inherits: KMenu → QMenu → QWidget → QObject
Subclasses: KonqBookmarkContextMenu

Detailed Description

This class provides a bookmark menu. It is typically used in cooperation with KActionMenu but doesn't have to be.

If you use this class by itself, then it will use KDE defaults for everything -- the bookmark path, bookmark editor, bookmark launcher.. everything. These defaults reside in the classes KBookmarkOwner (editing bookmarks) and KBookmarkManager (almost everything else). If you wish to change the defaults in any way, you must reimplement either this class or KBookmarkOwner.

Using this class is very simple:

1) Create a popup menu (either KActionMenu or KMenu will do) 2) Instantiate a new KBookmarkMenu object using the above popup menu as a parameter 3) Insert your (now full) popup menu wherever you wish


Methods

 __init__ (self, KBookmark bm, KBookmarkManager manager, KBookmarkOwner owner, QWidget parent=0)
 addActions (self)
 addBookmark (self)
 addBookmarkActions (self)
 addFolderActions (self)
 addOpenFolderInTabs (self)
 addProperties (self)
KBookmark bookmark (self)
KBookmarkManager manager (self)
KBookmarkOwner owner (self)
 slotCopyLocation (self)
 slotEditAt (self)
 slotInsert (self)
 slotOpenFolderInTabs (self)
 slotProperties (self)
 slotRemove (self)

Method Documentation

__init__ (  self,
KBookmark  bm,
KBookmarkManager  manager,
KBookmarkOwner  owner,
QWidget  parent=0
)
addActions (   self )
addBookmark (   self )
addBookmarkActions (   self )
addFolderActions (   self )
addOpenFolderInTabs (   self )
addProperties (   self )
KBookmark bookmark (   self )
KBookmarkManager manager (   self )
KBookmarkOwner owner (   self )
slotCopyLocation (   self )
slotEditAt (   self )
slotInsert (   self )
slotOpenFolderInTabs (   self )
slotProperties (   self )
slotRemove (   self )
  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal