summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/TQLayoutItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/TQLayoutItem.cpp')
-rw-r--r--qtjava/javalib/qtjava/TQLayoutItem.cpp114
1 files changed, 114 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQLayoutItem.cpp b/qtjava/javalib/qtjava/TQLayoutItem.cpp
new file mode 100644
index 00000000..499a3ac9
--- /dev/null
+++ b/qtjava/javalib/qtjava/TQLayoutItem.cpp
@@ -0,0 +1,114 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <tqsizepolicy.h>
+#include <tqrect.h>
+#include <tqlayout.h>
+#include <tqsize.h>
+
+#include <qtjava/QtSupport.h>
+#include <qtjava/TQLayoutItem.h>
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QLayoutItem_alignment(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->alignment();
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QLayoutItem_expanding(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->expanding();
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QLayoutItem_geometry(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQLayoutItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TQRect", TRUE);
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QLayoutItem_hasHeightForWidth(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQLayoutItem*) QtSupport::getQt(env, obj))->hasHeightForWidth();
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QLayoutItem_heightForWidth(JNIEnv* env, jobject obj, jint arg1)
+{
+ jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QLayoutItem_invalidate(JNIEnv* env, jobject obj)
+{
+ ((TQLayoutItem*) QtSupport::getQt(env, obj))->invalidate();
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QLayoutItem_isEmpty(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQLayoutItem*) QtSupport::getQt(env, obj))->isEmpty();
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QLayoutItem_layout(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TQLayout");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QLayoutItem_maximumSize(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QLayoutItem_minimumSize(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QLayoutItem_setAlignment(JNIEnv* env, jobject obj, jint a)
+{
+ ((TQLayoutItem*) QtSupport::getQt(env, obj))->setAlignment((int) a);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QLayoutItem_setGeometry(JNIEnv* env, jobject obj, jobject arg1)
+{
+ ((TQLayoutItem*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QLayoutItem_sizeHint(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QLayoutItem_spacerItem(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TQSpacerItem");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QLayoutItem_widget(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget");
+ return xret;
+}
+