diff options
Diffstat (limited to 'kdejava/koala/kdejava/KMdiChildFrm.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KMdiChildFrm.cpp | 196 |
1 files changed, 196 insertions, 0 deletions
diff --git a/kdejava/koala/kdejava/KMdiChildFrm.cpp b/kdejava/koala/kdejava/KMdiChildFrm.cpp new file mode 100644 index 00000000..eeec299c --- /dev/null +++ b/kdejava/koala/kdejava/KMdiChildFrm.cpp @@ -0,0 +1,196 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <qrect.h> +#include <kmdichildfrm.h> +#include <qpixmap.h> +#include <qstring.h> +#include <qpoint.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/KMdiChildFrm.h> + +JNIEXPORT jint JNICALL +Java_org_kde_koala_KMdiChildFrm_captionHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->captionHeight(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_KMdiChildFrm_caption(JNIEnv* env, jobject obj) +{ + QString _qstring; + _qstring = ((KMdiChildFrm*) QtSupport::getQt(env, obj))->caption(); + return QtSupport::fromQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_KMdiChildFrm_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((KMdiChildFrm*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_enableClose(JNIEnv* env, jobject obj, jboolean bEnable) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->enableClose((bool) bEnable); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_KMdiChildFrm_icon(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->icon(), "org.kde.qt.QPixmap"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_KMdiChildFrm_isInDrag(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->isInDrag(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_KMdiChildFrm_isInResize(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->isInResize(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_KMdiChildFrm_mdiAreaContentsRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->mdiAreaContentsRect()), "org.kde.qt.QRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_KMdiChildFrm_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_raiseAndActivate(JNIEnv* env, jobject obj) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->raiseAndActivate(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_redecorateButtons(JNIEnv* env, jobject obj) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->redecorateButtons(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_KMdiChildFrm_restoreGeometry(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->restoreGeometry()), "org.kde.qt.QRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_setCaption(JNIEnv* env, jobject obj, jstring text) +{ +static QString* _qstring_text = 0; + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setCaption((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject w) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setClient((KMdiChildView*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject w, jboolean bAutomaticResize) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setClient((KMdiChildView*) QtSupport::getQt(env, w), (bool) bAutomaticResize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_setIcon(JNIEnv* env, jobject obj, jobject pxm) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setIcon((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pxm)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_setRestoreGeometry(JNIEnv* env, jobject obj, jobject newRestGeo) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setRestoreGeometry((const QRect&)*(const QRect*) QtSupport::getQt(env, newRestGeo)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_setState__I(JNIEnv* env, jobject obj, jint state) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setState((KMdiChildFrm::MdiWindowState) state); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_setState__IZ(JNIEnv* env, jobject obj, jint state, jboolean bAnimate) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setState((KMdiChildFrm::MdiWindowState) state, (bool) bAnimate); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_slot_1resizeViaSystemMenu(JNIEnv* env, jobject obj) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->slot_resizeViaSystemMenu(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_KMdiChildFrm_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_KMdiChildFrm_systemMenu(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->systemMenu(), "org.kde.qt.QPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_unsetClient__(JNIEnv* env, jobject obj) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_unsetClient__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject positionOffset) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient((QPoint)*(QPoint*) QtSupport::getQt(env, positionOffset)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_KMdiChildFrm_updateRects(JNIEnv* env, jobject obj) +{ + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->updateRects(); + return; +} + |