kio Library API Documentation

KBookmarkBar Class Reference

This class provides a bookmark toolbar. More...

#include <kbookmarkbar.h>

Inheritance diagram for KBookmarkBar:

Inheritance graph
[legend]
Collaboration diagram for KBookmarkBar:

Collaboration graph
[legend]
List of all members.

Public Slots

void clear ()
void slotBookmarksChanged (const QString &)
void slotBookmarkSelected ()
void slotRMBActionRemove (int)
void slotRMBActionInsert (int)
void slotRMBActionCopyLocation (int)
void slotRMBActionEditAt (int)
void slotRMBActionProperties (int)

Signals

void aboutToShowContextMenu (const KBookmark &, QPopupMenu *)

Public Member Functions

 KBookmarkBar (KBookmarkManager *manager, KBookmarkOwner *owner, KToolBar *toolBar, KActionCollection *, QObject *parent=0L, const char *name=0L)
bool isReadOnly () const
void setReadOnly (bool)
QString parentAddress ()

Protected Member Functions

void fillBookmarkBar (KBookmarkGroup &parent)
virtual bool eventFilter (QObject *o, QEvent *e)

Detailed Description

This class provides a bookmark toolbar.

Using this class is nearly identical to using KBookmarkMenu so follow the directions there.

Definition at line 41 of file kbookmarkbar.h.


Constructor & Destructor Documentation

KBookmarkBar::KBookmarkBar KBookmarkManager manager,
KBookmarkOwner owner,
KToolBar toolBar,
KActionCollection ,
QObject parent = 0L,
const char *  name = 0L
 

Fills a bookmark toolbar.

Parameters:
owner implementation of the KBookmarkOwner interface (callbacks)
toolBar toolbar to fill
collec parent for the KActions OBSOLETE
manager the bookmark manager

Definition at line 88 of file kbookmarkbar.cc.

References QObject::connect(), KStdAccel::name(), and QPtrList< KBookmarkMenu >::setAutoDelete().


Member Function Documentation

bool KBookmarkBar::isReadOnly  )  const
 

Since:
3.2

Definition at line 249 of file kbookmarkbar.cc.

void KBookmarkBar::setReadOnly bool   ) 
 

Since:
3.2

Definition at line 244 of file kbookmarkbar.cc.

QString KBookmarkBar::parentAddress  ) 
 

Since:
3.2

Definition at line 109 of file kbookmarkbar.cc.

References KBookmarkManager::toolbar().

void KBookmarkBar::aboutToShowContextMenu const KBookmark &  ,
QPopupMenu
[signal]
 

Since:
3.2

void KBookmarkBar::slotRMBActionRemove int   )  [slot]
 

all

Since:
3.2

Definition at line 422 of file kbookmarkbar.cc.


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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed May 12 09:06:26 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2003