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.8 KiB
107 lines
3.8 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.koala;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.Qt;
|
||
|
import org.trinitydesktop.qt.TQMetaObject;
|
||
|
import org.trinitydesktop.qt.QtSupport;
|
||
|
import org.trinitydesktop.qt.TQPopupMenu;
|
||
|
import org.trinitydesktop.qt.TQPoint;
|
||
|
import org.trinitydesktop.qt.TQMouseEvent;
|
||
|
import org.trinitydesktop.qt.TQKeyEvent;
|
||
|
import org.trinitydesktop.qt.TQWidget;
|
||
|
import org.trinitydesktop.qt.TQWheelEvent;
|
||
|
import org.trinitydesktop.qt.TQTextBrowser;
|
||
15 years ago
|
|
||
|
/**
|
||
|
|
||
13 years ago
|
An extended TQTextBrowser.
|
||
15 years ago
|
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)
|
||
11 years ago
|
|
||
13 years ago
|
@short Extended TQTextBrowser.
|
||
15 years ago
|
|
||
|
*/
|
||
13 years ago
|
public class KTextBrowser extends TQTextBrowser {
|
||
15 years ago
|
protected KTextBrowser(Class dummy){super((Class) null);}
|
||
13 years ago
|
public native TQMetaObject metaObject();
|
||
15 years ago
|
public native String className();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Constructor.
|
||
|
@param parent Parent of the widget.
|
||
|
@param name Widget name.
|
||
|
@param notifyClick <code>true</code> causes signals to be emitted.
|
||
|
@short Constructor.
|
||
|
*/
|
||
13 years ago
|
public KTextBrowser(TQWidget parent, String name, boolean notifyClick) {
|
||
15 years ago
|
super((Class) null);
|
||
|
newKTextBrowser(parent,name,notifyClick);
|
||
|
}
|
||
13 years ago
|
private native void newKTextBrowser(TQWidget parent, String name, boolean notifyClick);
|
||
|
public KTextBrowser(TQWidget parent, String name) {
|
||
15 years ago
|
super((Class) null);
|
||
|
newKTextBrowser(parent,name);
|
||
|
}
|
||
13 years ago
|
private native void newKTextBrowser(TQWidget parent, String name);
|
||
|
public KTextBrowser(TQWidget parent) {
|
||
15 years ago
|
super((Class) null);
|
||
|
newKTextBrowser(parent);
|
||
|
}
|
||
13 years ago
|
private native void newKTextBrowser(TQWidget parent);
|
||
15 years ago
|
public KTextBrowser() {
|
||
|
super((Class) null);
|
||
|
newKTextBrowser();
|
||
|
}
|
||
|
private native void newKTextBrowser();
|
||
11 years ago
|
/**
|
||
15 years ago
|
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);
|
||
11 years ago
|
/**
|
||
15 years ago
|
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();
|
||
11 years ago
|
/**
|
||
15 years ago
|
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);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Makes sure Key_Escape is ignored
|
||
|
@short Makes sure Key_Escape is ignored
|
||
|
*/
|
||
13 years ago
|
protected native void keyPressEvent(TQKeyEvent e);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Make sure we use our own hand cursor
|
||
|
@short Make sure we use our own hand cursor
|
||
|
*/
|
||
13 years ago
|
protected native void viewportMouseMoveEvent(TQMouseEvent e);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll)
|
||
|
@short Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll)
|
||
|
*/
|
||
13 years ago
|
protected native void contentsWheelEvent(TQWheelEvent e);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Re-implemented for internal reasons. API not affected.
|
||
13 years ago
|
See TQLineEdit.createPopupMenu().
|
||
15 years ago
|
@short Re-implemented for internal reasons.
|
||
|
*/
|
||
13 years ago
|
protected native TQPopupMenu createPopupMenu(TQPoint pos);
|
||
15 years ago
|
/** 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();
|
||
|
}
|