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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.TQHideEvent;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQObject;
import org.kde.qt.TQCloseEvent;
import org.kde.qt.TQDragEnterEvent;
import org.kde.qt.TQContextMenuEvent;
import org.kde.qt.TQPainter;
import org.kde.qt.TQFocusEvent;
import org.kde.qt.TQKeyEvent;
import org.kde.qt.TQMouseEvent;
import org.kde.qt.TQShowEvent;
import org.kde.qt.TQDropEvent;
import org.kde.qt.TQEvent;
import org.kde.qt.TQTimerEvent;
import org.kde.qt.TQWidget;
import org.kde.qt.TQResizeEvent;
import org.kde.qt.TQWheelEvent;
import org.kde.qt.TQScrollView;
/**
Renders and displays HTML in a TQScrollView.
Suitable for use as an application's main view.
See {@link KHTMLViewSignals} for signals emitted by KHTMLView
@short Renders and displays HTML in a TQScrollView.
*/
public class KHTMLView extends TQScrollView {
protected KHTMLView(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
/**
Constructs a KHTMLView.
@short Constructs a KHTMLView.
*/
public KHTMLView(KHTMLPart part, TQWidget parent, String name) {
super((Class) null);
newKHTMLView(part,parent,name);
}
private native void newKHTMLView(KHTMLPart part, TQWidget parent, String name);
public KHTMLView(KHTMLPart part, TQWidget parent) {
super((Class) null);
newKHTMLView(part,parent);
}
private native void newKHTMLView(KHTMLPart part, TQWidget parent);
/**
Returns a pointer to the KHTMLPart that is
rendering the page.
@short Returns a pointer to the KHTMLPart that is rendering the page.
*/
public native KHTMLPart part();
public native int frameWidth();
/**
Sets a margin in x direction.
@short Sets a margin in x direction.
*/
public native void setMarginWidth(int x);
/**
Returns the margin width.
A return value of -1 means the default value will be used.
@short Returns the margin width.
*/
public native int marginWidth();
public native void setMarginHeight(int y);
/**
Returns the margin height.
A return value of -1 means the default value will be used.
@short Returns the margin height.
*/
public native int marginHeight();
/**
Sets verticals scrollbar mode. Reimplemented for internal reasons.
@short Sets verticals scrollbar mode.
*/
public native void setVScrollBarMode(int mode);
/**
Sets horizontal scrollbar mode. Reimplemented for internal reasons.
@short Sets horizontal scrollbar mode.
*/
public native void setHScrollBarMode(int mode);
/**
Prints the HTML document.
@short Prints the HTML document.
*/
public native void print();
/**
Prints the HTML document.
@param tquick if true, fully automated printing, without print dialog
@short Prints the HTML document.
*/
public native void print(boolean tquick);
/**
ensure the display is up to date
@short ensure the display is up to date
*/
public native void updateLayout();
/**
Display all accesskeys in small tooltips
@short Display all accesskeys in small tooltips
*/
public native void displayAccessKeys();
protected native void clear();
protected native void resizeEvent(TQResizeEvent event);
public native void showEvent(TQShowEvent arg1);
protected native void hideEvent(TQHideEvent arg1);
protected native boolean focusNextPrevChild(boolean next);
protected native void drawContents(TQPainter p, int clipx, int clipy, int clipw, int cliph);
protected native void drawContents(TQPainter arg1);
protected native void viewportMousePressEvent(TQMouseEvent arg1);
protected native void focusInEvent(TQFocusEvent arg1);
protected native void focusOutEvent(TQFocusEvent arg1);
protected native void viewportMouseDoubleClickEvent(TQMouseEvent arg1);
protected native void viewportMouseMoveEvent(TQMouseEvent arg1);
protected native void viewportMouseReleaseEvent(TQMouseEvent arg1);
protected native void viewportResizeEvent(TQResizeEvent arg1);
protected native void viewportWheelEvent(TQWheelEvent arg1);
protected native void dragEnterEvent(TQDragEnterEvent arg1);
protected native void dropEvent(TQDropEvent arg1);
protected native void closeEvent(TQCloseEvent arg1);
public native boolean eventFilter(TQObject arg1, TQEvent arg2);
protected native void keyPressEvent(TQKeyEvent _ke);
protected native void keyReleaseEvent(TQKeyEvent _ke);
protected native void contentsContextMenuEvent(TQContextMenuEvent _ce);
protected native void doAutoScroll();
protected native void timerEvent(TQTimerEvent arg1);
protected native void slotPaletteChanged();
protected native void slotScrollBarMoved();
/** 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();
}
|