KonqPopupMenu Class Reference
This class implements the popup menu for URLs in konqueror and kdesktop It's usage is very simple : on right click, create the KonqPopupMenu instance with the correct arguments, then exec() to make it appear, then destroy it. More...
#include <konq_popupmenu.h>
Inheritance diagram for KonqPopupMenu:

Public Types | |
typedef uint | KonqPopupFlags |
enum | { NoFlags = 0, ShowProperties = 1, IsLink = 2, ShowNewWindow = 4 } |
Public Slots | |
void | slotPopupNewDir () |
void | slotPopupNewView () |
void | slotPopupEmptyTrashBin () |
void | slotPopupOpenWith () |
void | slotPopupAddToBookmark () |
void | slotRunService () |
void | slotPopupMimeType () |
void | slotPopupProperties () |
void | slotOpenShareFileDialog () |
Public Member Functions | |
KonqPopupMenu (KBookmarkManager *manager, const KFileItemList &items, KURL viewURL, KActionCollection &actions, KNewMenu *newMenu, bool showPropertiesAndFileType=true) KDE_DEPRECATED | |
KonqPopupMenu (KBookmarkManager *manager, const KFileItemList &items, KURL viewURL, KActionCollection &actions, KNewMenu *newMenu, QWidget *parentWidget, bool showPropertiesAndFileType=true) KDE_DEPRECATED | |
KonqPopupMenu (KBookmarkManager *manager, const KFileItemList &items, const KURL &viewURL, KActionCollection &actions, KNewMenu *newMenu, QWidget *parentWidget, KonqPopupFlags kpf, KParts::BrowserExtension::PopupFlags f) | |
~KonqPopupMenu () | |
void | setURLTitle (const QString &urlTitle) |
virtual KAction * | action (const QDomElement &element) const |
virtual KActionCollection * | actionCollection () const |
QString | mimeType () const |
KURL | url () const |
KFileItemList | fileItemList () const |
KURL::List | popupURLList () const |
ProtocolInfo | protocolInfo () const |
Protected Attributes | |
KActionCollection & | m_actions |
KActionCollection | m_ownActions |
Detailed Description
This class implements the popup menu for URLs in konqueror and kdesktop It's usage is very simple : on right click, create the KonqPopupMenu instance with the correct arguments, then exec() to make it appear, then destroy it.Definition at line 51 of file konq_popupmenu.h.
Member Typedef Documentation
|
Flags set by the calling application (konqueror/kdesktop), unlike KParts::BrowserExtension::PopupFlags, which are set by the calling part. Definition at line 60 of file konq_popupmenu.h. Referenced by KonqPopupMenu(). |
Constructor & Destructor Documentation
|
References KonqPopupFlags. |
|
References KonqPopupFlags. |
|
Constructor.
References KonqPopupFlags. |
|
Don't forget to destroy the object. Definition at line 871 of file konq_popupmenu.cc. |
Member Function Documentation
|
Set the title of the URL, when the popupmenu is opened for a single URL. This is used if the user chooses to add a bookmark for this URL. Definition at line 880 of file konq_popupmenu.cc. |
|
Reimplemented for internal purpose. Definition at line 974 of file konq_popupmenu.cc. |
The documentation for this class was generated from the following files: