summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KActiveLabel.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KActiveLabel.java')
-rw-r--r--kdejava/koala/org/kde/koala/KActiveLabel.java82
1 files changed, 82 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KActiveLabel.java b/kdejava/koala/org/kde/koala/KActiveLabel.java
new file mode 100644
index 00000000..b2c42e33
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KActiveLabel.java
@@ -0,0 +1,82 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QMetaObject;
+import org.kde.qt.QtSupport;
+import org.kde.qt.QSize;
+import org.kde.qt.QFocusEvent;
+import org.kde.qt.QKeyEvent;
+import org.kde.qt.QWidget;
+import org.kde.qt.QTextBrowser;
+
+/**
+
+ Label with support for selection and clickable links.
+ openLink() the actions that will be taken when the user
+ clicks on a link.
+ @author Waldo Bastian (bastian@kde.org)
+
+ @version $Id$
+
+ @short Label with support for selection and clickable links.
+
+*/
+public class KActiveLabel extends QTextBrowser {
+ protected KActiveLabel(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ /**
+ 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.
+ @short Constructor.
+ */
+ public KActiveLabel(QWidget parent, String name) {
+ super((Class) null);
+ newKActiveLabel(parent,name);
+ }
+ private native void newKActiveLabel(QWidget parent, String name);
+ public KActiveLabel(QWidget parent) {
+ super((Class) null);
+ newKActiveLabel(parent);
+ }
+ private native void newKActiveLabel(QWidget parent);
+ /**
+ 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.
+ @short Constructor.
+ */
+ public KActiveLabel(String text, QWidget parent, String name) {
+ super((Class) null);
+ newKActiveLabel(text,parent,name);
+ }
+ private native void newKActiveLabel(String text, QWidget parent, String name);
+ public KActiveLabel(String text, QWidget parent) {
+ super((Class) null);
+ newKActiveLabel(text,parent);
+ }
+ private native void newKActiveLabel(String text, QWidget parent);
+ public native QSize minimumSizeHint();
+ public native QSize sizeHint();
+ /**
+ Opens <code>link</code> in the default browser.
+ If <code>link</code> 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.
+ @short Opens <code>link</code> in the default browser.
+ */
+ public native void openLink(String link);
+ protected native void focusInEvent(QFocusEvent fe);
+ protected native void focusOutEvent(QFocusEvent fe);
+ protected native void keyPressEvent(QKeyEvent e);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}