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.
tdebindings/kdejava/koala/org/kde/koala/TDEListBox.java

77 lines
2.8 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.TQListBoxItem;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQPoint;
import org.kde.qt.TQFocusEvent;
import org.kde.qt.TQMouseEvent;
import org.kde.qt.TQKeyEvent;
import org.kde.qt.TQEvent;
import org.kde.qt.TQWidget;
import org.kde.qt.TQListBox;
/**
Extends the functionality of TQListBox to honor the system
wide settings for Single Click/Double Click mode, Auto Selection and
Change Cursor over Link.
There is a new signal executed(). It gets connected to either
TQListBox.clicked() or TQListBox.doubleClicked()
depending on the KDE wide Single Click/Double Click settings. It is
strongly recommended that you use this signal instead of the above
mentioned. This way you don't need to care about the current
settings. If you want to get informed when the user selects
something connect to the TQListBox.selectionChanged() signal.
See {@link TDEListBoxSignals} for signals emitted by TDEListBox
@short A variant of TQListBox that honors KDE's system-wide settings.
*/
public class TDEListBox extends TQListBox {
protected TDEListBox(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public TDEListBox(TQWidget parent, String name, int f) {
super((Class) null);
newTDEListBox(parent,name,f);
}
private native void newTDEListBox(TQWidget parent, String name, int f);
public TDEListBox(TQWidget parent, String name) {
super((Class) null);
newTDEListBox(parent,name);
}
private native void newTDEListBox(TQWidget parent, String name);
public TDEListBox(TQWidget parent) {
super((Class) null);
newTDEListBox(parent);
}
private native void newTDEListBox(TQWidget parent);
public TDEListBox() {
super((Class) null);
newTDEListBox();
}
private native void newTDEListBox();
protected native void emitExecute(TQListBoxItem item, TQPoint pos);
protected native void keyPressEvent(TQKeyEvent e);
protected native void focusOutEvent(TQFocusEvent fe);
protected native void leaveEvent(TQEvent e);
protected native void contentsMousePressEvent(TQMouseEvent e);
protected native void contentsMouseDoubleClickEvent(TQMouseEvent e);
protected native void slotOnItem(TQListBoxItem item);
protected native void slotOnViewport();
protected native void slotSettingsChanged(int arg1);
/**
Auto selection happend.
@short Auto selection happend.
*/
protected native void slotAutoSelect();
/** 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();
}