//Auto-generated by kalyptus. DO NOT EDIT. #include #include #include #include #include #include #include #include #include class KTabCtlJBridge : public KTabCtl { public: KTabCtlJBridge(TTQWidget* arg1,const char* arg2) : KTabCtl(arg1,arg2) {}; KTabCtlJBridge(TTQWidget* arg1) : KTabCtl(arg1) {}; KTabCtlJBridge() : KTabCtl() {}; void protected_paintEvent(TTQPaintEvent* arg1) { KTabCtl::paintEvent(arg1); return; } void protected_resizeEvent(TTQResizeEvent* arg1) { KTabCtl::resizeEvent(arg1); return; } void protected_setSizes() { KTabCtl::setSizes(); return; } TTQRect protected_getChildRect() { return (TTQRect) KTabCtl::getChildRect(); } void protected_showTab(int arg1) { KTabCtl::showTab(arg1); return; } ~KTabCtlJBridge() {QtSupport::qtKeyDeleted(this);} void dragLeaveEvent(TTQDragLeaveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { TTQWidget::dragLeaveEvent(arg1); } return; } void setMask(const TTQRegion& arg1) { if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { TTQWidget::setMask(arg1); } return; } void resizeEvent(TTQResizeEvent* arg1) { if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { KTabCtl::resizeEvent(arg1); } return; } void mouseDoubleClickEvent(TTQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { TTQWidget::mouseDoubleClickEvent(arg1); } return; } void paletteChange(const TTQPalette& arg1) { if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","setActiveWindow")) { TTQWidget::setActiveWindow(); } return; } void dragEnterEvent(TTQDragEnterEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { TTQWidget::dragEnterEvent(arg1); } return; } void focusOutEvent(TTQFocusEvent* arg1) { if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","setFocus")) { TTQWidget::setFocus(); } return; } void dragMoveEvent(TTQDragMoveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { TTQWidget::dragMoveEvent(arg1); } return; } void styleChange(TTQStyle& arg1) { if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { TTQWidget::styleChange(arg1); } return; } void hide() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","hide")) { TTQWidget::hide(); } return; } void setPaletteBackgroundColor(const TTQColor& arg1) { if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { TTQWidget::setPaletteBackgroundColor(arg1); } return; } void setEraseColor(const TTQColor& arg1) { if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { TTQWidget::setEraseColor(arg1); } return; } void removeChild(TTQObject* arg1) { if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { TTQObject::removeChild(arg1); } return; } void paintEvent(TTQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { KTabCtl::paintEvent(arg1); } return; } void imStartEvent(TTQIMEvent* arg1) { if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","unsetCursor")) { TTQWidget::unsetCursor(); } return; } void hideEvent(TTQHideEvent* arg1) { if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { TTQWidget::hideEvent(arg1); } return; } void moveEvent(TTQMoveEvent* arg1) { if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { TTQWidget::moveEvent(arg1); } return; } void polish() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","polish")) { TTQWidget::polish(); } return; } void showMaximized() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","showMaximized")) { TTQWidget::showMaximized(); } return; } void setBackgroundPixmap(const TTQPixmap& arg1) { if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { TTQWidget::setBackgroundPixmap(arg1); } return; } void showEvent(TTQShowEvent* arg1) { if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { TTQWidget::showEvent(arg1); } return; } void keyPressEvent(TTQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { TTQWidget::keyPressEvent(arg1); } return; } bool customWhatsThis() { return QtSupport::booleanDelegate(this,"customWhatsThis"); } void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } void setCursor(const TTQCursor& arg1) { if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { TTQWidget::setCursor(arg1); } return; } void closeEvent(TTQCloseEvent* arg1) { if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { TTQWidget::closeEvent(arg1); } return; } void customEvent(TTQCustomEvent* arg1) { if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { TTQObject::customEvent(arg1); } return; } void enterEvent(TTQEvent* arg1) { if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { TTQWidget::enterEvent(arg1); } return; } void timerEvent(TTQTimerEvent* arg1) { if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { TTQObject::timerEvent(arg1); } return; } void mouseReleaseEvent(TTQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { TTQWidget::mouseReleaseEvent(arg1); } return; } void setErasePixmap(const TTQPixmap& arg1) { if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { TTQWidget::setErasePixmap(arg1); } return; } void childEvent(TTQChildEvent* arg1) { if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { TTQObject::childEvent(arg1); } return; } void dropEvent(TTQDropEvent* arg1) { if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { TTQWidget::dropEvent(arg1); } return; } void leaveEvent(TTQEvent* arg1) { if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { TTQWidget::leaveEvent(arg1); } return; } void setIcon(const TTQPixmap& arg1) { if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { TTQWidget::setIcon(arg1); } return; } void updateMask() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","updateMask")) { TTQWidget::updateMask(); } return; } void showNormal() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","showNormal")) { TTQWidget::showNormal(); } return; } void imComposeEvent(TTQIMEvent* arg1) { if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { TTQWidget::imComposeEvent(arg1); } return; } void mousePressEvent(TTQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { TTQWidget::mousePressEvent(arg1); } return; } void mouseMoveEvent(TTQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { TTQWidget::mouseMoveEvent(arg1); } return; } void setFocusProxy(TTQWidget* arg1) { if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { TTQWidget::setFocusProxy(arg1); } return; } void fontChange(const TTQFont& arg1) { if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { TTQWidget::fontChange(arg1); } return; } void setBackgroundColor(const TTQColor& arg1) { if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","adjustSize")) { TTQWidget::adjustSize(); } return; } void wheelEvent(TTQWheelEvent* arg1) { if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { TTQWidget::wheelEvent(arg1); } return; } void imEndEvent(TTQIMEvent* arg1) { if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { TTQWidget::imEndEvent(arg1); } return; } void insertChild(TTQObject* arg1) { if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { TTQObject::insertChild(arg1); } return; } void focusInEvent(TTQFocusEvent* arg1) { if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { TTQWidget::focusInEvent(arg1); } return; } void tabletEvent(TTQTabletEvent* arg1) { if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { TTQWidget::tabletEvent(arg1); } return; } void keyReleaseEvent(TTQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { TTQWidget::keyReleaseEvent(arg1); } return; } void contextMenuEvent(TTQContextMenuEvent* arg1) { if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { TTQWidget::contextMenuEvent(arg1); } return; } bool eventFilter(TTQObject* object,TTQEvent* event) { if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KTabCtl",object,event)) { return TTQObject::eventFilter(object,event); } else { return TRUE; } } void setGeometry(const TTQRect& arg1) { if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { TTQWidget::setGeometry(arg1); } return; } void showMinimized() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","showMinimized")) { TTQWidget::showMinimized(); } return; } }; JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_addTab(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) { static TTQString* _qstring_arg2 = 0; ((KTabCtl*) QtSupport::getQt(env, obj))->addTab((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); return; } JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabCtl_className(JNIEnv* env, jobject obj) { const char* _qstring; _qstring = ((KTabCtl*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_dispose(JNIEnv* env, jobject obj) { Java_org_kde_koala_KTabCtl_finalize(env, obj); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(KTabCtl*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { delete (KTabCtl*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabCtl_getChildRect(JNIEnv* env, jobject obj) { jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_getChildRect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabCtl_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabCtl_isTabEnabled(JNIEnv* env, jobject obj, jstring arg1) { static TTQString* _qstring_arg1 = 0; jboolean xret = (jboolean) ((KTabCtl*) QtSupport::getQt(env, obj))->isTabEnabled((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabCtl_metaObject(JNIEnv* env, jobject obj) { jobject xret = QtSupport::objectForQtKey(env, (void*)((KTabCtl*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_newKTabCtl__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new KTabCtlJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_newKTabCtl__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new KTabCtlJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_newKTabCtl__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new KTabCtlJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setBorder(JNIEnv* env, jobject obj, jboolean arg1) { ((KTabCtl*) QtSupport::getQt(env, obj))->setBorder((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setFont(JNIEnv* env, jobject obj, jobject font) { ((KTabCtl*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, font)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setShape(JNIEnv* env, jobject obj, jint shape) { ((KTabCtl*) QtSupport::getQt(env, obj))->setShape((TTQTabBar::Shape) shape); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setSizes(JNIEnv* env, jobject obj) { ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_setSizes(); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setTabEnabled(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) { static TTQString* _qstring_arg1 = 0; ((KTabCtl*) QtSupport::getQt(env, obj))->setTabEnabled((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setTabFont(JNIEnv* env, jobject obj, jobject font) { ((KTabCtl*) QtSupport::getQt(env, obj))->setTabFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, font)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_showTab(JNIEnv* env, jobject obj, jint i) { ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_showTab((int) i); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_show(JNIEnv* env, jobject obj) { ((KTabCtl*) QtSupport::getQt(env, obj))->show(); return; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabCtl_sizeHint(JNIEnv* env, jobject obj) { jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((KTabCtl*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; }