kitchensync Library API Documentation

KSync::PartBarItem Class Reference

An item for the PartBar. More...

#include <partbar.h>

Inheritance diagram for KSync::PartBarItem:

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

Collaboration graph
[legend]
List of all members.

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 QPixmappixmap () const

Protected Member Functions

virtual void paint (QPainter *p)

Detailed Description

An item for the PartBar.

Definition at line 39 of file partbar.h.


Member Function Documentation

ActionPart * PartBarItem::part  ) 
 

the part to be embedded

Definition at line 49 of file partbar.cpp.

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 58 of file partbar.cpp.

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

Returns:
the height of this item.

Definition at line 63 of file partbar.cpp.

References pixmap().

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

return the pixmap.

Definition at line 71 of file partbar.h.

Referenced by height().


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 Thu Aug 2 09:54:07 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003