//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.TQPopupMenu; import org.kde.qt.TQPoint; import org.kde.qt.TQMouseEvent; import org.kde.qt.TQKeyEvent; import org.kde.qt.TQWidget; import org.kde.qt.TQWheelEvent; import org.kde.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 true 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 true 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(); }