//Auto-generated by kalyptus. DO NOT EDIT. #include #include #include #include #include #include class TQTimeEditJBridge : public TQTimeEdit { public: TQTimeEditJBridge(TTQWidget* arg1,const char* arg2) : TQTimeEdit(arg1,arg2) {}; TQTimeEditJBridge(TTQWidget* arg1) : TQTimeEdit(arg1) {}; TQTimeEditJBridge() : TQTimeEdit() {}; TQTimeEditJBridge(const TTQTime& arg1,TTQWidget* arg2,const char* arg3) : TQTimeEdit(arg1,arg2,arg3) {}; TQTimeEditJBridge(const TTQTime& arg1,TTQWidget* arg2) : TQTimeEdit(arg1,arg2) {}; TQTimeEditJBridge(const TTQTime& arg1) : TQTimeEdit(arg1) {}; bool protected_event(TTQEvent* arg1) { return (bool) TQTimeEdit::event(arg1); } void protected_timerEvent(TTQTimerEvent* arg1) { TQTimeEdit::timerEvent(arg1); return; } void protected_resizeEvent(TTQResizeEvent* arg1) { TQTimeEdit::resizeEvent(arg1); return; } void protected_stepUp() { TQTimeEdit::stepUp(); return; } void protected_stepDown() { TQTimeEdit::stepDown(); return; } TTQString protected_sectionFormattedText(int arg1) { return (TTQString) TQTimeEdit::sectionFormattedText(arg1); } void protected_addNumber(int arg1,int arg2) { TQTimeEdit::addNumber(arg1,arg2); return; } void protected_removeLastNumber(int arg1) { TQTimeEdit::removeLastNumber(arg1); return; } bool protected_setFocusSection(int arg1) { return (bool) TQTimeEdit::setFocusSection(arg1); } bool protected_outOfRange(int arg1,int arg2,int arg3) { return (bool) TQTimeEdit::outOfRange(arg1,arg2,arg3); } void protected_setHour(int arg1) { TQTimeEdit::setHour(arg1); return; } void protected_setMinute(int arg1) { TQTimeEdit::setMinute(arg1); return; } void protected_setSecond(int arg1) { TQTimeEdit::setSecond(arg1); return; } void protected_updateButtons() { TQTimeEdit::updateButtons(); return; } ~TQTimeEditJBridge() {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")) { TQTimeEdit::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.qt.TQTimeEdit","setActiveWindow")) { TTQWidget::setActiveWindow(); } return; } void dragEnterEvent(TTQDragEnterEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { TTQWidget::dragEnterEvent(arg1); } return; } void show() { if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","show")) { TTQWidget::show(); } 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.qt.TQTimeEdit","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.qt.TQTimeEdit","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")) { TTQWidget::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.qt.TQTimeEdit","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.qt.TQTimeEdit","polish")) { TTQWidget::polish(); } return; } void showMaximized() { if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","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")) { TQTimeEdit::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.qt.TQTimeEdit","updateMask")) { TTQWidget::updateMask(); } return; } void showNormal() { if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit",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.qt.TQTimeEdit","showMinimized")) { TTQWidget::showMinimized(); } return; } }; JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_addNumber(JNIEnv* env, jobject obj, jint sec, jint num) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_addNumber((int) sec, (int) num); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_autoAdvance(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQTimeEdit*) QtSupport::getQt(env, obj))->autoAdvance(); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_className(JNIEnv* env, jobject obj) { const char* _qstring; _qstring = ((TQTimeEdit*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT jint JNICALL Java_org_kde_qt_QTimeEdit_display(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQTimeEdit*) QtSupport::getQt(env, obj))->display(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_dispose(JNIEnv* env, jobject obj) { Java_org_kde_qt_QTimeEdit_finalize(env, obj); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_event(JNIEnv* env, jobject obj, jobject e) { jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) QtSupport::getQt(env, e)); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TQTimeEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { delete (TQTimeEdit*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_maxValue(JNIEnv* env, jobject obj) { TTQTime _qtime; _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->maxValue(); return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_metaObject(JNIEnv* env, jobject obj) { jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTimeEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_minValue(JNIEnv* env, jobject obj) { TTQTime _qtime; _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->minValue(); return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_minimumSizeHint(JNIEnv* env, jobject obj) { jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQTimeEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQTimeEditJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject time) { static TTQTime* _qtime_time = 0; if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQTimeEditJBridge((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, time, &_qtime_time))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject time, jobject parent) { static TTQTime* _qtime_time = 0; if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQTimeEditJBridge((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, time, &_qtime_time), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject time, jobject parent, jstring name) { static TTQTime* _qtime_time = 0; static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQTimeEditJBridge((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, time, &_qtime_time), (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_qt_QTimeEdit_newTQTimeEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQTimeEditJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__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 TQTimeEditJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_outOfRange(JNIEnv* env, jobject obj, jint h, jint m, jint s) { jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_outOfRange((int) h, (int) m, (int) s); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_removeFirstNumber(JNIEnv* env, jobject obj, jint sec) { ((TQTimeEdit*) QtSupport::getQt(env, obj))->removeFirstNumber((int) sec); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_removeLastNumber(JNIEnv* env, jobject obj, jint sec) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_removeLastNumber((int) sec); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_sectionFormattedText(JNIEnv* env, jobject obj, jint sec) { TTQString _qstring; _qstring = ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_sectionFormattedText((int) sec); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_separator(JNIEnv* env, jobject obj) { TTQString _qstring; _qstring = ((TQTimeEdit*) QtSupport::getQt(env, obj))->separator(); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setAutoAdvance(JNIEnv* env, jobject obj, jboolean advance) { ((TQTimeEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) advance); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setDisplay(JNIEnv* env, jobject obj, jint disp) { ((TQTimeEdit*) QtSupport::getQt(env, obj))->setDisplay((uint) disp); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_setFocusSection(JNIEnv* env, jobject obj, jint s) { jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setFocusSection((int) s); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setHour(JNIEnv* env, jobject obj, jint h) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setHour((int) h); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMaxValue(JNIEnv* env, jobject obj, jobject d) { static TTQTime* _qtime_d = 0; ((TQTimeEdit*) QtSupport::getQt(env, obj))->setMaxValue((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, d, &_qtime_d)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMinValue(JNIEnv* env, jobject obj, jobject d) { static TTQTime* _qtime_d = 0; ((TQTimeEdit*) QtSupport::getQt(env, obj))->setMinValue((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, d, &_qtime_d)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMinute(JNIEnv* env, jobject obj, jint m) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setMinute((int) m); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setRange(JNIEnv* env, jobject obj, jobject min, jobject max) { static TTQTime* _qtime_min = 0; static TTQTime* _qtime_max = 0; ((TQTimeEdit*) QtSupport::getQt(env, obj))->setRange((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, min, &_qtime_min), (const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, max, &_qtime_max)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setSecond(JNIEnv* env, jobject obj, jint s) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setSecond((int) s); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setSeparator(JNIEnv* env, jobject obj, jstring s) { static TTQString* _qstring_s = 0; ((TQTimeEdit*) QtSupport::getQt(env, obj))->setSeparator((const TTQString&)*(TTQString*) QtSupport::toTQString(env, s, &_qstring_s)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setTime(JNIEnv* env, jobject obj, jobject time) { static TTQTime* _qtime_time = 0; ((TQTimeEdit*) QtSupport::getQt(env, obj))->setTime((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, time, &_qtime_time)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_sizeHint(JNIEnv* env, jobject obj) { jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQTimeEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_stepDown(JNIEnv* env, jobject obj) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepDown(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_stepUp(JNIEnv* env, jobject obj) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepUp(); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_time(JNIEnv* env, jobject obj) { TTQTime _qtime; _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->time(); return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_timerEvent(JNIEnv* env, jobject obj, jobject e) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TTQTimerEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { TTQString _qstring; (void) cls; static TTQCString* _qstring_arg1 = 0; _qstring = TQTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) { TTQString _qstring; (void) cls; static TTQCString* _qstring_arg1 = 0; static TTQCString* _qstring_arg2 = 0; _qstring = TQTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_updateButtons(JNIEnv* env, jobject obj) { ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); return; }