//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QHideEvent;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QObject;
import org.kde.qt.QCloseEvent;
import org.kde.qt.QDragEnterEvent;
import org.kde.qt.QContextMenuEvent;
import org.kde.qt.QPainter;
import org.kde.qt.QFocusEvent;
import org.kde.qt.QKeyEvent;
import org.kde.qt.QMouseEvent;
import org.kde.qt.QShowEvent;
import org.kde.qt.QDropEvent;
import org.kde.qt.QEvent;
import org.kde.qt.QTimerEvent;
import org.kde.qt.QWidget;
import org.kde.qt.QResizeEvent;
import org.kde.qt.QWheelEvent;
import org.kde.qt.QScrollView;

/**

 Renders and displays HTML in a QScrollView.
 Suitable for use as an application's main view.
 See {@link KHTMLViewSignals} for signals emitted by KHTMLView
		@short    Renders and displays HTML in a QScrollView.

*/
public class KHTMLView extends QScrollView  {
	protected KHTMLView(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Constructs a KHTMLView.
		     		@short    Constructs a KHTMLView.
	*/
	public KHTMLView(KHTMLPart part, QWidget parent, String name) {
		super((Class) null);
		newKHTMLView(part,parent,name);
	}
	private native void newKHTMLView(KHTMLPart part, QWidget parent, String name);
	public KHTMLView(KHTMLPart part, QWidget parent) {
		super((Class) null);
		newKHTMLView(part,parent);
	}
	private native void newKHTMLView(KHTMLPart part, QWidget 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 quick if true, fully automated printing, without print dialog
		     		@short    Prints the HTML document.
	*/
	public native void print(boolean quick);
	/**	
		 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(QResizeEvent event);
	public native void showEvent(QShowEvent arg1);
	protected native void hideEvent(QHideEvent arg1);
	protected native boolean focusNextPrevChild(boolean next);
	protected native void drawContents(QPainter p, int clipx, int clipy, int clipw, int cliph);
	protected native void drawContents(QPainter arg1);
	protected native void viewportMousePressEvent(QMouseEvent arg1);
	protected native void focusInEvent(QFocusEvent arg1);
	protected native void focusOutEvent(QFocusEvent arg1);
	protected native void viewportMouseDoubleClickEvent(QMouseEvent arg1);
	protected native void viewportMouseMoveEvent(QMouseEvent arg1);
	protected native void viewportMouseReleaseEvent(QMouseEvent arg1);
	protected native void viewportResizeEvent(QResizeEvent arg1);
	protected native void viewportWheelEvent(QWheelEvent arg1);
	protected native void dragEnterEvent(QDragEnterEvent arg1);
	protected native void dropEvent(QDropEvent arg1);
	protected native void closeEvent(QCloseEvent arg1);
	public native boolean eventFilter(QObject arg1, QEvent arg2);
	protected native void keyPressEvent(QKeyEvent _ke);
	protected native void keyReleaseEvent(QKeyEvent _ke);
	protected native void contentsContextMenuEvent(QContextMenuEvent _ce);
	protected native void doAutoScroll();
	protected native void timerEvent(QTimerEvent 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();
}
