#include <kurlbar.h>
Public Methods | |
| KURLBarItem (KURLBar *parent, const KURL &url, const QString &description=QString::null, const QString &icon=QString::null, KIcon::Group group=KIcon::Panel) | |
| ~KURLBarItem () | |
| void | setURL (const KURL &url) |
| void | setIcon (const QString &icon, KIcon::Group group=KIcon::Panel) |
| void | setDescription (const QString &desc) |
| void | setToolTip (const QString &tip) |
| QSize | sizeHint () const |
| virtual int | width (const QListBox *) const |
| virtual int | height (const QListBox *) const |
| const KURL & | url () const |
| const QString & | description () const |
| const QString & | icon () const |
| QString | toolTip () const |
| KIcon::Group | iconGroup () const |
| virtual const QPixmap * | pixmap () const |
| void | setApplicationLocal (bool local) |
| bool | applicationLocal () const |
Definition at line 42 of file kurlbar.h.
|
||||||||||||||||||||||||
|
Creates a KURLBarItem to be used in the
If description is empty, it will try to use the filename/directory of |
|
|
Destroys the item |
|
|
returns whether this is a global item or a local one. KURLBar can differentiate between global and local items (only for the current application) for easy extensiblity.
|
|
|
returns the description of this item.
|
|
|
returns the height of this item. |
|
|
returns the icon of this item.
|
|
|
returns the icon-group of this item (determines icon-effects).
Definition at line 126 of file kurlbar.h. References KIcon::Group. |
|
|
returns the pixmap of this item. |
|
|
Makes this item a local or global one.
|
|
|
Sets the description of this item that will be shown as item-text.
|
|
||||||||||||
|
|
|
|
Sets a tooltip to be used for this item.
|
|
|
Sets
|
|
|
returns the preferred size of this item
|
|
|
returns the tooltip of this item.
|
|
|
returns the url of this item.
|
|
|
returns the width of this item. |
1.2.18