summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/KTextBrowser.java
blob: e479517d4a7d5fca5c11f40d62691c49140fde4f (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
//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.TQPopupMenu;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQKeyEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQWheelEvent;
import org.trinitydesktop.qt.TQTextBrowser;

/**

 An extended TQTextBrowser.
 By default it will
 invoke the system mailer or the system browser when a link is
 activated, or it can emit the signal urlClick() or mailClick()
 when a link is activated.
 \image html ktextbrowser.png "KDE Text Browser"
 See {@link KTextBrowserSignals} for signals emitted by KTextBrowser
		@author Espen Sand (espensa@online.no)

		@short Extended TQTextBrowser.

*/
public class KTextBrowser extends TQTextBrowser  {
	protected KTextBrowser(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Constructor.
			@param parent Parent of the widget.
			@param name Widget name.
			@param notifyClick <code>true</code> causes signals to be emitted.
		     		@short    Constructor.
	*/
	public KTextBrowser(TQWidget parent, String name, boolean notifyClick) {
		super((Class) null);
		newKTextBrowser(parent,name,notifyClick);
	}
	private native void newKTextBrowser(TQWidget parent, String name, boolean notifyClick);
	public KTextBrowser(TQWidget parent, String name) {
		super((Class) null);
		newKTextBrowser(parent,name);
	}
	private native void newKTextBrowser(TQWidget parent, String name);
	public KTextBrowser(TQWidget parent) {
		super((Class) null);
		newKTextBrowser(parent);
	}
	private native void newKTextBrowser(TQWidget parent);
	public KTextBrowser() {
		super((Class) null);
		newKTextBrowser();
	}
	private native void newKTextBrowser();
	/**
		 Decide whether a click on a link should be handled internally
		 or if a signal should be emitted.
			@param notifyClick <code>true</code> causes signals to be emitted.
		     		@short    Decide whether a click on a link should be handled internally  or if a signal should be emitted.
	*/
	public native void setNotifyClick(boolean notifyClick);
	/**
		 Returns whether a click on a link should be handled internally
		 or if a signal should be emitted.
		     		@short    Returns whether a click on a link should be handled internally  or if a signal should be emitted.
	*/
	public native boolean isNotifyClick();
	/**
		       Reimplemented to NOT set the source but to do the special handling.
		       Do not call.
		     		@short          Reimplemented to NOT set the source but to do the special handling.
	*/
	public native void setSource(String name);
	/**
		 Makes sure Key_Escape is ignored
		     		@short    Makes sure Key_Escape is ignored
	*/
	protected native void keyPressEvent(TQKeyEvent e);
	/**
		 Make sure we use our own hand cursor
		     		@short    Make sure we use our own hand cursor
	*/
	protected native void viewportMouseMoveEvent(TQMouseEvent e);
	/**
		 Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll)
		     		@short    Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll)
	*/
	protected native void contentsWheelEvent(TQWheelEvent e);
	/**
		 Re-implemented for internal reasons.  API not affected.
			 See TQLineEdit.createPopupMenu().
		    		@short    Re-implemented for internal reasons.
	*/
	protected native TQPopupMenu createPopupMenu(TQPoint pos);
	/** 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();
}