org.kde.koala
public class KURLBarItemDialog extends KDialogBase
UNKNOWN: A dialog that allows editing entries of a KURLBar ( KURLBarItem).
Constructor Summary | |
---|---|
protected | KURLBarItemDialog(Class dummy) |
KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, QWidget parent, String name)
Constructs a KURLBarItemDialog.
| |
KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, QWidget parent) | |
KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize) | |
KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal) | |
KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon) |
Method Summary | |
---|---|
boolean | applicationLocal() |
String | className() |
String | description() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
static boolean | getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize, QWidget parent)
A convenience method to show the dialog and retrieve all the
properties via the given parameters. |
static boolean | getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize) |
String | iconName() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
KURL | url() |
void | urlChanged(String arg1) |
allowGlobal
if you set this to true, the dialog will have a checkbox
for the user to decide if he wants the entry to be
available globally or just for the current application.
url
the url of the item
description
a short, translated description of the item
icon
an icon for the item
appLocal
tells whether the item should be local for this application
or be available globally
iconSize
determines the size of the icon that is shown/selectable
parent
the parent-widget for the dialog
If you leave the icon empty, the default icon for the given url will be
used (KMimeType.pixmapForURL()).UNKNOWN: Constructs a KURLBarItemDialog.
Returns: whether the item should be local to the application or global. If allowGlobal was set to false in the constructor, this will always return true.
UNKNOWN:
Returns: the configured description
UNKNOWN:
UNKNOWN: A convenience method to show the dialog and retrieve all the properties via the given parameters.
Returns: the configured icon
UNKNOWN:
Returns: the configured url
UNKNOWN: