org.kde.koala
public class KURLBarItem extends QListBoxPixmap
See Also: KURLBar KURLBarListBox
UNKNOWN: An item to be used in KURLBar / KURLBarListBox.
Constructor Summary | |
---|---|
protected | KURLBarItem(Class dummy) |
KURLBarItem(KURLBar parent, KURL url, boolean persistent, String description, String icon, int group)
Creates a KURLBarItem to be used in the parent KURLBar. | |
KURLBarItem(KURLBar parent, KURL url, boolean persistent, String description, String icon) | |
KURLBarItem(KURLBar parent, KURL url, boolean persistent, String description) | |
KURLBarItem(KURLBar parent, KURL url, boolean persistent) | |
KURLBarItem(KURLBar parent, KURL url, String description, String icon, int group)
Creates a persistent KURLBarItem to be used in the parent KURLBar. | |
KURLBarItem(KURLBar parent, KURL url, String description, String icon) | |
KURLBarItem(KURLBar parent, KURL url, String description) | |
KURLBarItem(KURLBar parent, KURL url) |
Method Summary | |
---|---|
boolean | applicationLocal()
returns whether this is a global item or a local one. |
String | description()
returns the description of this item. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
int | height(QListBox arg1)
returns the height of this item. |
String | icon()
returns the icon of this item. |
int | iconGroup()
returns the icon-group of this item (determines icon-effects). |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isPersistent()
returns whether this item is persistent (via KURLBar.writeConfig()
and KURLBar.readConfig()) or not. |
protected void | paint(QPainter p) |
QPixmap | pixmap()
returns the pixmap of this item. |
void | setApplicationLocal(boolean local)
Makes this item a local or global one. |
void | setDescription(String desc)
Sets the description of this item that will be shown as item-text. |
void | setIcon(String icon, int group)sets the icon for this item. |
void | setIcon(String icon) |
void | setToolTip(String tip)
Sets a tooltip to be used for this item. |
void | setURL(KURL url)
Sets url for this item. |
QSize | sizeHint()
returns the preferred size of this item |
String | toolTip()
returns the tooltip of this item. |
KURL | url()
returns the url of this item. |
int | width(QListBox arg1)
returns the width of this item. |
parent
KURLBar. You need
to insert the item into the listbox manually, if you don't use
KURLBar.insertItem().
If description is empty, it will try to use the filename/directory
of url
, which will be shown as text of the item.
url
will be used as tooltip, unless you set a different tip with
setToolTip().
persistent
specifies whether this item is a persistent item or a
dynamic item, that is not saved with KURLBar.writeConfig().UNKNOWN: Creates a KURLBarItem to be used in the parent
KURLBar.
parent
KURLBar. You need
to insert the item into the listbox manually, if you don't use
KURLBar.insertItem().
If description is empty, it will try to use the filename/directory
of url
, which will be shown as text of the item.
url
will be used as tooltip, unless you set a different tip with
setToolTip().
persistent
specifies whether this item is a persistent item or a
dynamic item, that is not saved with KURLBar.writeConfig().UNKNOWN: Creates a persistent KURLBarItem to be used in the parent
KURLBar.
See Also: KURLBarItem
UNKNOWN: returns whether this is a global item or a local one.
See Also: KURLBarItem
UNKNOWN: returns the description of this item.
UNKNOWN: returns the height of this item.
See Also: KURLBarItem
UNKNOWN: returns the icon of this item.
See Also: KURLBarItem
UNKNOWN: returns the icon-group of this item (determines icon-effects).
UNKNOWN: returns whether this item is persistent (via KURLBar.writeConfig() and KURLBar.readConfig()) or not.
UNKNOWN: returns the pixmap of this item.
See Also: KURLBarItem KURLBarItem
UNKNOWN: Makes this item a local or global one.
See Also: KURLBarItem
UNKNOWN: Sets the description of this item that will be shown as item-text.
sets
the icon for this item. See KIconLoader for a description
of the icon groups.See Also: KURLBarItem
UNKNOWN: sets
the icon for this item.
See Also: KURLBarItem
UNKNOWN: Sets a tooltip to be used for this item.
url
for this item. Also updates the visible text to the
filename/directory of the url, if no description is set.See Also: KURLBarItem
UNKNOWN: Sets url
for this item.
UNKNOWN: returns the preferred size of this item
See Also: KURLBarItem
UNKNOWN: returns the tooltip of this item.
See Also: KURLBarItem
UNKNOWN: returns the url of this item.
UNKNOWN: returns the width of this item.