kio
KFileBookmarkHandler Class Reference
#include <kfilebookmarkhandler.h>
Signals | |
void | openURL (const QString &url) |
Public Member Functions | |
virtual QString | currentURL () const |
KFileBookmarkHandler (KFileDialog *dialog) | |
KPopupMenu * | menu () const |
virtual void | openBookmarkURL (const QString &url) |
QPopupMenu * | popupMenu () |
~KFileBookmarkHandler () | |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Definition at line 29 of file kfilebookmarkhandler.h.
Constructor & Destructor Documentation
KFileBookmarkHandler::KFileBookmarkHandler | ( | KFileDialog * | dialog | ) |
Definition at line 30 of file kfilebookmarkhandler.cpp.
KFileBookmarkHandler::~KFileBookmarkHandler | ( | ) |
Definition at line 57 of file kfilebookmarkhandler.cpp.
Member Function Documentation
QString KFileBookmarkHandler::currentURL | ( | ) | const [virtual] |
This function is called whenever the user wants to add the current page to the bookmarks list.
The URL will become the URL of the bookmark. You must overload this function if you wish to give your users the ability to add bookmarks.
- Returns:
- the URL of the current page.
Reimplemented from KBookmarkOwner.
Definition at line 62 of file kfilebookmarkhandler.cpp.
KPopupMenu* KFileBookmarkHandler::menu | ( | ) | const [inline] |
Definition at line 43 of file kfilebookmarkhandler.h.
virtual void KFileBookmarkHandler::openBookmarkURL | ( | const QString & | _url | ) | [inline, virtual] |
This function is called if the user selects a bookmark.
It will open up the bookmark in a default fashion unless you override it.
Reimplemented from KBookmarkOwner.
Definition at line 40 of file kfilebookmarkhandler.h.
void KFileBookmarkHandler::openURL | ( | const QString & | url | ) | [signal] |
QPopupMenu* KFileBookmarkHandler::popupMenu | ( | ) |
void KFileBookmarkHandler::virtual_hook | ( | int | id, | |
void * | data | |||
) | [protected, virtual] |
The documentation for this class was generated from the following files: