You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.5 KiB
Java
69 lines
2.5 KiB
Java
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.qt;
|
|
|
|
import org.kde.qt.Qt;
|
|
|
|
public class QIconSet implements QtSupport {
|
|
private long _qt;
|
|
private boolean _allocatedInJavaWorld = true;
|
|
protected QIconSet(Class dummy){}
|
|
|
|
public static final int Automatic = 0;
|
|
public static final int Small = 1;
|
|
public static final int Large = 2;
|
|
|
|
public static final int Normal = 0;
|
|
public static final int Disabled = 1;
|
|
public static final int Active = 2;
|
|
|
|
public static final int On = 0;
|
|
public static final int Off = 1;
|
|
|
|
public QIconSet() {
|
|
newQIconSet();
|
|
}
|
|
private native void newQIconSet();
|
|
public QIconSet(QPixmap pixmap, int size) {
|
|
newQIconSet(pixmap,size);
|
|
}
|
|
private native void newQIconSet(QPixmap pixmap, int size);
|
|
public QIconSet(QPixmap pixmap) {
|
|
newQIconSet(pixmap);
|
|
}
|
|
private native void newQIconSet(QPixmap pixmap);
|
|
public QIconSet(QPixmap smallPix, QPixmap largePix) {
|
|
newQIconSet(smallPix,largePix);
|
|
}
|
|
private native void newQIconSet(QPixmap smallPix, QPixmap largePix);
|
|
public QIconSet(QIconSet other) {
|
|
newQIconSet(other);
|
|
}
|
|
private native void newQIconSet(QIconSet other);
|
|
public native void reset(QPixmap pixmap, int size);
|
|
public native void setPixmap(QPixmap pixmap, int size, int mode, int state);
|
|
public native void setPixmap(QPixmap pixmap, int size, int mode);
|
|
public native void setPixmap(QPixmap pixmap, int size);
|
|
public native void setPixmap(String fileName, int size, int mode, int state);
|
|
public native void setPixmap(String fileName, int size, int mode);
|
|
public native void setPixmap(String fileName, int size);
|
|
public native QPixmap pixmap(int size, int mode, int state);
|
|
public native QPixmap pixmap(int size, int mode);
|
|
public native QPixmap pixmap(int size, boolean enabled, int state);
|
|
public native QPixmap pixmap(int size, boolean enabled);
|
|
public native QPixmap pixmap();
|
|
public native boolean isGenerated(int size, int mode, int state);
|
|
public native boolean isGenerated(int size, int mode);
|
|
public native void clearGenerated();
|
|
// void installIconFactory(QIconFactory* arg1); >>>> NOT CONVERTED
|
|
public native boolean isNull();
|
|
public native void detach();
|
|
public static native void setIconSize(int which, QSize size);
|
|
public static native QSize iconSize(int which);
|
|
/** 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();
|
|
}
|