kitchensync

KSync::PartBarItem Class Reference

#include <partbar.h>

List of all members.


Detailed Description

An item for the PartBar.

Definition at line 39 of file partbar.h.


Public Member Functions

 PartBarItem (PartBar *, ActionPart *)
ActionPartpart ()
void setIcon (const QString &icon, KIcon::Group group=KIcon::Panel)
virtual int width (const QListBox *) const
virtual int height (const QListBox *) const
virtual const QPixmap * pixmap () const

Protected Member Functions

virtual void paint (QPainter *p)

Member Function Documentation

int PartBarItem::height const QListBox *   )  const [virtual]
 

Returns:
the height of this item.

Definition at line 66 of file partbar.cpp.

ActionPart * PartBarItem::part  ) 
 

the part to be embedded

Definition at line 52 of file partbar.cpp.

virtual const QPixmap* KSync::PartBarItem::pixmap  )  const [inline, virtual]
 

return the pixmap.

Definition at line 71 of file partbar.h.

void KSync::PartBarItem::setIcon const QString &  icon,
KIcon::Group  group = KIcon::Panel
 

sets the icon for the item.

Parameters:
icon the icon to set
group the icongroup

int PartBarItem::width const QListBox *   )  const [virtual]
 

Returns:
the width of this item.

Definition at line 61 of file partbar.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys