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/KGuiItem.java

85 lines
3.0 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import org.kde.qt.QIconSet;
/**
@author Holger Freyther <freyher@yahoo.com>
@short An abstract class for GUI data such as ToolTip and Icon.
*/
public class KGuiItem implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected KGuiItem(Class dummy){}
public KGuiItem() {
newKGuiItem();
}
private native void newKGuiItem();
public KGuiItem(String text, String iconName, String toolTip, String whatsThis) {
newKGuiItem(text,iconName,toolTip,whatsThis);
}
private native void newKGuiItem(String text, String iconName, String toolTip, String whatsThis);
public KGuiItem(String text, String iconName, String toolTip) {
newKGuiItem(text,iconName,toolTip);
}
private native void newKGuiItem(String text, String iconName, String toolTip);
public KGuiItem(String text, String iconName) {
newKGuiItem(text,iconName);
}
private native void newKGuiItem(String text, String iconName);
public KGuiItem(String text) {
newKGuiItem(text);
}
private native void newKGuiItem(String text);
public KGuiItem(String text, QIconSet iconSet, String toolTip, String whatsThis) {
newKGuiItem(text,iconSet,toolTip,whatsThis);
}
private native void newKGuiItem(String text, QIconSet iconSet, String toolTip, String whatsThis);
public KGuiItem(String text, QIconSet iconSet, String toolTip) {
newKGuiItem(text,iconSet,toolTip);
}
private native void newKGuiItem(String text, QIconSet iconSet, String toolTip);
public KGuiItem(String text, QIconSet iconSet) {
newKGuiItem(text,iconSet);
}
private native void newKGuiItem(String text, QIconSet iconSet);
public KGuiItem(KGuiItem rhs) {
newKGuiItem(rhs);
}
private native void newKGuiItem(KGuiItem rhs);
public native String text();
public native String plainText();
public native QIconSet iconSet(int arg1, int size, KInstanceInterface instance);
public native QIconSet iconSet(int arg1, int size);
public native QIconSet iconSet(int arg1);
public native QIconSet iconSet();
public native String iconName();
public native String toolTip();
public native String whatsThis();
public native boolean isEnabled();
/**
returns whether an icon is defined, doesn't tell if it really exists
@short returns whether an icon is defined, doesn't tell if it really exists
*/
public native boolean hasIcon();
public native boolean hasIconSet();
public native void setText(String text);
public native void setIconSet(QIconSet iconset);
public native void setIconName(String iconName);
public native void setToolTip(String tooltip);
public native void setWhatsThis(String whatsThis);
public native void setEnabled(boolean enable);
/** 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();
}