From 636f509299122d02087c6fd62e1e4a46dbd22026 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 8 Jan 2014 20:06:00 +0100 Subject: Rename many classes to avoid conflicts with KDE --- .../javalib/org/trinitydesktop/qt/TQIconSet.java | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 qtjava/javalib/org/trinitydesktop/qt/TQIconSet.java (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQIconSet.java') diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIconSet.java b/qtjava/javalib/org/trinitydesktop/qt/TQIconSet.java new file mode 100644 index 00000000..d3f888f8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIconSet.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQIconSet implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQIconSet(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 TQIconSet() { + newTQIconSet(); + } + private native void newTQIconSet(); + public TQIconSet(TQPixmap pixmap, int size) { + newTQIconSet(pixmap,size); + } + private native void newTQIconSet(TQPixmap pixmap, int size); + public TQIconSet(TQPixmap pixmap) { + newTQIconSet(pixmap); + } + private native void newTQIconSet(TQPixmap pixmap); + public TQIconSet(TQPixmap smallPix, TQPixmap largePix) { + newTQIconSet(smallPix,largePix); + } + private native void newTQIconSet(TQPixmap smallPix, TQPixmap largePix); + public TQIconSet(TQIconSet other) { + newTQIconSet(other); + } + private native void newTQIconSet(TQIconSet other); + public native void reset(TQPixmap pixmap, int size); + public native void setPixmap(TQPixmap pixmap, int size, int mode, int state); + public native void setPixmap(TQPixmap pixmap, int size, int mode); + public native void setPixmap(TQPixmap 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 TQPixmap pixmap(int size, int mode, int state); + public native TQPixmap pixmap(int size, int mode); + public native TQPixmap pixmap(int size, boolean enabled, int state); + public native TQPixmap pixmap(int size, boolean enabled); + public native TQPixmap 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(TQIconFactory* arg1); >>>> NOT CONVERTED + public native boolean isNull(); + public native void detach(); + public static native void setIconSize(int which, TQSize size); + public static native TQSize 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(); +} -- cgit v1.2.1