summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/KActiveLabel.java
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KActiveLabel.java')
-rw-r--r--tdejava/koala/org/trinitydesktop/koala/KActiveLabel.java82
1 files changed, 82 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KActiveLabel.java b/tdejava/koala/org/trinitydesktop/koala/KActiveLabel.java
new file mode 100644
index 00000000..775bad53
--- /dev/null
+++ b/tdejava/koala/org/trinitydesktop/koala/KActiveLabel.java
@@ -0,0 +1,82 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.koala;
+
+import org.trinitydesktop.qt.Qt;
+import org.trinitydesktop.qt.TQMetaObject;
+import org.trinitydesktop.qt.QtSupport;
+import org.trinitydesktop.qt.TQSize;
+import org.trinitydesktop.qt.TQFocusEvent;
+import org.trinitydesktop.qt.TQKeyEvent;
+import org.trinitydesktop.qt.TQWidget;
+import org.trinitydesktop.qt.TQTextBrowser;
+
+/**
+
+ 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 TQTextBrowser {
+ protected KActiveLabel(Class dummy){super((Class) null);}
+ public native TQMetaObject 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(TQWidget parent, String name) {
+ super((Class) null);
+ newKActiveLabel(parent,name);
+ }
+ private native void newKActiveLabel(TQWidget parent, String name);
+ public KActiveLabel(TQWidget parent) {
+ super((Class) null);
+ newKActiveLabel(parent);
+ }
+ private native void newKActiveLabel(TQWidget 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, TQWidget parent, String name) {
+ super((Class) null);
+ newKActiveLabel(text,parent,name);
+ }
+ private native void newKActiveLabel(String text, TQWidget parent, String name);
+ public KActiveLabel(String text, TQWidget parent) {
+ super((Class) null);
+ newKActiveLabel(text,parent);
+ }
+ private native void newKActiveLabel(String text, TQWidget parent);
+ public native TQSize minimumSizeHint();
+ public native TQSize sizeHint();
+ /**
+ Opens <code>link</code> in the default browser.
+ If <code>link</code> starts with the text "whatsthis:" a TQWhatsThis
+ 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(TQFocusEvent fe);
+ protected native void focusOutEvent(TQFocusEvent fe);
+ protected native void keyPressEvent(TQKeyEvent 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();
+}