You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
3.6 KiB
107 lines
3.6 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.QMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.QPopupMenu;
|
|
import org.kde.qt.QPoint;
|
|
import org.kde.qt.QMouseEvent;
|
|
import org.kde.qt.QKeyEvent;
|
|
import org.kde.qt.QWidget;
|
|
import org.kde.qt.QWheelEvent;
|
|
import org.kde.qt.QTextBrowser;
|
|
|
|
/**
|
|
|
|
An extended QTextBrowser.
|
|
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 QTextBrowser.
|
|
|
|
*/
|
|
public class KTextBrowser extends QTextBrowser {
|
|
protected KTextBrowser(Class dummy){super((Class) null);}
|
|
public native QMetaObject 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(QWidget parent, String name, boolean notifyClick) {
|
|
super((Class) null);
|
|
newKTextBrowser(parent,name,notifyClick);
|
|
}
|
|
private native void newKTextBrowser(QWidget parent, String name, boolean notifyClick);
|
|
public KTextBrowser(QWidget parent, String name) {
|
|
super((Class) null);
|
|
newKTextBrowser(parent,name);
|
|
}
|
|
private native void newKTextBrowser(QWidget parent, String name);
|
|
public KTextBrowser(QWidget parent) {
|
|
super((Class) null);
|
|
newKTextBrowser(parent);
|
|
}
|
|
private native void newKTextBrowser(QWidget 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(QKeyEvent e);
|
|
/**
|
|
Make sure we use our own hand cursor
|
|
@short Make sure we use our own hand cursor
|
|
*/
|
|
protected native void viewportMouseMoveEvent(QMouseEvent e);
|
|
/**
|
|
Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll)
|
|
@short Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll)
|
|
*/
|
|
protected native void contentsWheelEvent(QWheelEvent e);
|
|
/**
|
|
Re-implemented for internal reasons. API not affected.
|
|
See QLineEdit.createPopupMenu().
|
|
@short Re-implemented for internal reasons.
|
|
*/
|
|
protected native QPopupMenu createPopupMenu(QPoint 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();
|
|
}
|