kitchensync Library API Documentation

KSync::PartBar Class Reference

PartBar is a widget that displays icons together. More...

#include <partbar.h>

Inheritance diagram for KSync::PartBar:

Inheritance graph
[legend]
Collaboration diagram for KSync::PartBar:

Collaboration graph
[legend]
List of all members.

Signals

void activated (ActionPart *part)

Public Member Functions

 PartBar (QWidget *parent=0, const char *name=0, WFlags f=0)
virtual PartBarIteminsertItem (ActionPart *part, int pos=-1)
virtual void setListBox (KListBox *)
KListBox * listBox () const
virtual void clear ()
virtual QSize sizeHint () const
virtual QSize minimumSizeHint () const
PartBarItemcurrentItem () const
void selectPart (const QString &)

Protected Slots

virtual void slotSelected (QListBoxItem *)

Protected Member Functions

virtual void resizeEvent (QResizeEvent *)

Detailed Description

PartBar is a widget that displays icons together.

The the items of the PartBar emit the activated() signal.

Definition at line 89 of file partbar.h.


Member Function Documentation

void PartBar::setListBox KListBox *   )  [virtual]
 

Allows to set a custom KListBox Items of the previous box will not be moved to the next box.

Definition at line 116 of file partbar.cpp.

KListBox* KSync::PartBar::listBox  )  const [inline]
 

Returns:
the KListBox that is used.

Definition at line 107 of file partbar.h.

void PartBar::clear  )  [virtual]
 

removes all items

Definition at line 143 of file partbar.cpp.

QSize PartBar::sizeHint  )  const [virtual]
 

Returns:
a size hint.

Definition at line 154 of file partbar.cpp.

PartBarItem * PartBar::currentItem  )  const
 

Returns:
the current PartBarItem

Definition at line 194 of file partbar.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 4 04:47:15 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003