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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.TQHideEvent;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQObject;
import org.trinitydesktop.qt.TQCloseEvent;
import org.trinitydesktop.qt.TQDragEnterEvent;
import org.trinitydesktop.qt.TQContextMenuEvent;
import org.trinitydesktop.qt.TQPainter;
import org.trinitydesktop.qt.TQFocusEvent;
import org.trinitydesktop.qt.TQKeyEvent;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQShowEvent;
import org.trinitydesktop.qt.TQDropEvent;
import org.trinitydesktop.qt.TQEvent;
import org.trinitydesktop.qt.TQTimerEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQResizeEvent;
import org.trinitydesktop.qt.TQWheelEvent;
import org.trinitydesktop.qt.TQScrollView;

/**

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

*/
public class TDEHTMLView extends TQScrollView  {
	protected TDEHTMLView(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Constructs a TDEHTMLView.
		     		@short    Constructs a TDEHTMLView.
	*/
	public TDEHTMLView(TDEHTMLPart part, TQWidget parent, String name) {
		super((Class) null);
		newTDEHTMLView(part,parent,name);
	}
	private native void newTDEHTMLView(TDEHTMLPart part, TQWidget parent, String name);
	public TDEHTMLView(TDEHTMLPart part, TQWidget parent) {
		super((Class) null);
		newTDEHTMLView(part,parent);
	}
	private native void newTDEHTMLView(TDEHTMLPart part, TQWidget parent);
	/**
		 Returns a pointer to the TDEHTMLPart that is
		 rendering the page.
				@short    Returns a pointer to the TDEHTMLPart that is  rendering the page.
	*/
	public native TDEHTMLPart 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(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();
}
