org.kde.koala

Class KActiveLabel

public class KActiveLabel extends QTextBrowser

Label with support for selection and clickable links. openLink() the actions that will be taken when the user clicks on a link.

Version: $Id: KActiveLabel.java 473384 2005-10-23 14:17:09Z rdale $

Author: Waldo Bastian (bastian@kde.org)

UNKNOWN: Label with support for selection and clickable links.

Constructor Summary
protected KActiveLabel(Class dummy)
KActiveLabel(QWidget parent, String name)
Constructor.
KActiveLabel(QWidget parent)
KActiveLabel(String text, QWidget parent, String name)
Constructor.
KActiveLabel(String text, QWidget parent)
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
protected voidfocusInEvent(QFocusEvent fe)
protected voidfocusOutEvent(QFocusEvent fe)
booleanisDisposed()
Has the wrapped C++ instance been deleted?
protected voidkeyPressEvent(QKeyEvent e)
QMetaObjectmetaObject()
QSizeminimumSizeHint()
voidopenLink(String link)
Opens link in the default browser.
QSizesizeHint()

Constructor Detail

KActiveLabel

protected KActiveLabel(Class dummy)

KActiveLabel

public KActiveLabel(QWidget parent, String name)
Constructor. It connects the "linkClicked(String)" signal to the "openLink(String)" slot. You will need to disconnect this if you want to process linkClicked() yourself.

UNKNOWN: Constructor.

KActiveLabel

public KActiveLabel(QWidget parent)

KActiveLabel

public KActiveLabel(String text, QWidget parent, String name)
Constructor. It connects the "linkClicked(String)" signal to the "openLink(String)" slot. You will need to disconnect this if you want to process linkClicked() yourself.

UNKNOWN: Constructor.

KActiveLabel

public KActiveLabel(String text, QWidget parent)

Method Detail

className

public String className()

dispose

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

finalize

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

focusInEvent

protected void focusInEvent(QFocusEvent fe)

focusOutEvent

protected void focusOutEvent(QFocusEvent fe)

isDisposed

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

keyPressEvent

protected void keyPressEvent(QKeyEvent e)

metaObject

public QMetaObject metaObject()

minimumSizeHint

public QSize minimumSizeHint()

openLink

public void openLink(String link)
Opens link in the default browser. If link starts with the text "whatsthis:" a QWhatsThis box will appear and then display the rest of the text. The WhatsThis functionality is available since KDE 3.2.

UNKNOWN: Opens link in the default browser.

sizeHint

public QSize sizeHint()