kio Library API Documentation

KFileBookmarkHandler Class Reference

Inheritance diagram for KFileBookmarkHandler:

QObject KBookmarkOwner List of all members.

Signals

void openURL (const QString &url)

Public Member Functions

 KFileBookmarkHandler (KFileDialog *dialog)
 ~KFileBookmarkHandler ()
QPopupMenupopupMenu ()
virtual void openBookmarkURL (const QString &url)
virtual QString currentURL () const
KPopupMenumenu () const

Protected Member Functions

virtual void virtual_hook (int id, void *data)

Detailed Description

Definition at line 29 of file kfilebookmarkhandler.h.


Member Function Documentation

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.

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.

References KFileDialog::baseURL(), and KURL::url().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kio Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 8 06:23:40 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003