summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KActiveLabel.java
blob: 10d90efa39e27a1f1b4afca6a7ece5f64bd93313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQSize;
import org.kde.qt.TQFocusEvent;
import org.kde.qt.TQKeyEvent;
import org.kde.qt.TQWidget;
import org.kde.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();
}