org.kde.koala

Class KURLBarItemDialog

public class KURLBarItemDialog extends KDialogBase

A dialog that allows editing entries of a KURLBar ( KURLBarItem). The dialog offers to configure a given url, description and icon. See the class-method getInformation() for easy usage.

Author: Carsten Pfeiffer

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
booleanapplicationLocal()
StringclassName()
Stringdescription()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
static booleangetInformation(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 booleangetInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize)
StringiconName()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
KURLurl()
voidurlChanged(String arg1)

Constructor Detail

KURLBarItemDialog

protected KURLBarItemDialog(Class dummy)

KURLBarItemDialog

public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, QWidget parent, String name)
Constructs a KURLBarItemDialog. 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.

KURLBarItemDialog

public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, QWidget parent)

KURLBarItemDialog

public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize)

KURLBarItemDialog

public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal)

KURLBarItemDialog

public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon)

Method Detail

applicationLocal

public boolean applicationLocal()

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:

className

public String className()

description

public String description()

Returns: the configured description

UNKNOWN:

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

getInformation

public 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. The parameters are used to initialize the dialog and then return the user-configured values. See the KURLBarItem constructor for the parameter description.

UNKNOWN: A convenience method to show the dialog and retrieve all the properties via the given parameters.

getInformation

public static boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize)

iconName

public String iconName()

Returns: the configured icon

UNKNOWN:

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

metaObject

public QMetaObject metaObject()

url

public KURL url()

Returns: the configured url

UNKNOWN:

urlChanged

public void urlChanged(String arg1)