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.
115 lines
3.4 KiB
C++
115 lines
3.4 KiB
C++
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
#include <qsizepolicy.h>
|
|
#include <qrect.h>
|
|
#include <qlayout.h>
|
|
#include <qsize.h>
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
#include <qtjava/QLayoutItem.h>
|
|
|
|
JNIEXPORT jint JNICALL
|
|
Java_org_kde_qt_QLayoutItem_alignment(JNIEnv* env, jobject obj)
|
|
{
|
|
jint xret = (jint) ((QLayoutItem*) QtSupport::getQt(env, obj))->alignment();
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jint JNICALL
|
|
Java_org_kde_qt_QLayoutItem_expanding(JNIEnv* env, jobject obj)
|
|
{
|
|
jint xret = (jint) ((QLayoutItem*) 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 QRect(((QLayoutItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.QRect", TRUE);
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_org_kde_qt_QLayoutItem_hasHeightForWidth(JNIEnv* env, jobject obj)
|
|
{
|
|
jboolean xret = (jboolean) ((QLayoutItem*) 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) ((QLayoutItem*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1);
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_qt_QLayoutItem_invalidate(JNIEnv* env, jobject obj)
|
|
{
|
|
((QLayoutItem*) QtSupport::getQt(env, obj))->invalidate();
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_org_kde_qt_QLayoutItem_isEmpty(JNIEnv* env, jobject obj)
|
|
{
|
|
jboolean xret = (jboolean) ((QLayoutItem*) 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*)((QLayoutItem*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.QLayout");
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_qt_QLayoutItem_maximumSize(JNIEnv* env, jobject obj)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QLayoutItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.QSize", TRUE);
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_qt_QLayoutItem_minimumSize(JNIEnv* env, jobject obj)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QLayoutItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.QSize", TRUE);
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_qt_QLayoutItem_setAlignment(JNIEnv* env, jobject obj, jint a)
|
|
{
|
|
((QLayoutItem*) QtSupport::getQt(env, obj))->setAlignment((int) a);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_qt_QLayoutItem_setGeometry(JNIEnv* env, jobject obj, jobject arg1)
|
|
{
|
|
((QLayoutItem*) QtSupport::getQt(env, obj))->setGeometry((const QRect&)*(const QRect*) 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 QSize(((QLayoutItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.QSize", TRUE);
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_qt_QLayoutItem_spacerItem(JNIEnv* env, jobject obj)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)((QLayoutItem*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.QSpacerItem");
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_qt_QLayoutItem_widget(JNIEnv* env, jobject obj)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)((QLayoutItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.QWidget");
|
|
return xret;
|
|
}
|
|
|