summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQSizePolicy.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQSizePolicy.java')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQSizePolicy.java77
1 files changed, 77 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSizePolicy.java b/qtjava/javalib/org/trinitydesktop/qt/TQSizePolicy.java
new file mode 100644
index 00000000..7ae8d6ce
--- /dev/null
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQSizePolicy.java
@@ -0,0 +1,77 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.qt;
+
+import org.trinitydesktop.qt.Qt;
+
+public class TQSizePolicy implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected TQSizePolicy(Class dummy){}
+
+ public static final int HSize = 6;
+ public static final int HMask = 0x3f;
+ public static final int VMask = HMask<<HSize;
+ public static final int MayGrow = 1;
+ public static final int ExpMask = 2;
+ public static final int MayShrink = 4;
+
+ public static final int Fixed = 0;
+ public static final int Minimum = MayGrow;
+ public static final int Maximum = MayShrink;
+ public static final int Preferred = MayGrow|MayShrink;
+ public static final int MinimumExpanding = MayGrow|ExpMask;
+ public static final int Expanding = MayGrow|MayShrink|ExpMask;
+ public static final int Ignored = ExpMask;
+
+ public static final int NoDirection = 0;
+ public static final int Horizontally = 1;
+ public static final int Vertically = 2;
+ public static final int Horizontal = Horizontally;
+ public static final int Vertical = Vertically;
+ public static final int BothDirections = Horizontally|Vertically;
+
+ public TQSizePolicy() {
+ newTQSizePolicy();
+ }
+ private native void newTQSizePolicy();
+ public TQSizePolicy(int hor, int ver, boolean hfw) {
+ newTQSizePolicy(hor,ver,hfw);
+ }
+ private native void newTQSizePolicy(int hor, int ver, boolean hfw);
+ public TQSizePolicy(int hor, int ver) {
+ newTQSizePolicy(hor,ver);
+ }
+ private native void newTQSizePolicy(int hor, int ver);
+ public TQSizePolicy(int hor, int ver, short hors, short vers, boolean hfw) {
+ newTQSizePolicy(hor,ver,hors,vers,hfw);
+ }
+ private native void newTQSizePolicy(int hor, int ver, short hors, short vers, boolean hfw);
+ public TQSizePolicy(int hor, int ver, short hors, short vers) {
+ newTQSizePolicy(hor,ver,hors,vers);
+ }
+ private native void newTQSizePolicy(int hor, int ver, short hors, short vers);
+ public native int horData();
+ public native int verData();
+ public native boolean mayShrinkHorizontally();
+ public native boolean mayShrinkVertically();
+ public native boolean mayGrowHorizontally();
+ public native boolean mayGrowVertically();
+ public native int expanding();
+ public native void setHorData(int d);
+ public native void setVerData(int d);
+ public native void setHeightForWidth(boolean b);
+ public native boolean hasHeightForWidth();
+ public native boolean op_equals(TQSizePolicy s);
+ public native boolean op_not_equals(TQSizePolicy s);
+ public native int horStretch();
+ public native int verStretch();
+ public native void setHorStretch(short sf);
+ public native void setVerStretch(short sf);
+ public native void transpose();
+ /** 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();
+}