summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/tdejava/KComboBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/tdejava/KComboBox.cpp')
-rw-r--r--tdejava/koala/tdejava/KComboBox.cpp892
1 files changed, 892 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/KComboBox.cpp b/tdejava/koala/tdejava/KComboBox.cpp
new file mode 100644
index 00000000..3e8850a7
--- /dev/null
+++ b/tdejava/koala/tdejava/KComboBox.cpp
@@ -0,0 +1,892 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <tdeglobalsettings.h>
+#include <kcombobox.h>
+#include <kcompletion.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <kurl.h>
+#include <tdeshortcut.h>
+#include <tqpixmap.h>
+
+#include <qtjava/QtSupport.h>
+#include <tdejava/TDESupport.h>
+#include <tdejava/KComboBox.h>
+
+class KComboBoxJBridge : public KComboBox
+{
+public:
+ KComboBoxJBridge(TQWidget* arg1,const char* arg2) : KComboBox(arg1,arg2) {};
+ KComboBoxJBridge(TQWidget* arg1) : KComboBox(arg1) {};
+ KComboBoxJBridge() : KComboBox() {};
+ KComboBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KComboBox(arg1,arg2,arg3) {};
+ KComboBoxJBridge(bool arg1,TQWidget* arg2) : KComboBox(arg1,arg2) {};
+ KComboBoxJBridge(bool arg1) : KComboBox(arg1) {};
+ void protected_setCompletedText(const TQString& arg1,bool arg2) {
+ KComboBox::setCompletedText(arg1,arg2);
+ return;
+ }
+ void protected_create(WId arg1,bool arg2,bool arg3) {
+ KComboBox::create(arg1,arg2,arg3);
+ return;
+ }
+ void protected_create(WId arg1,bool arg2) {
+ KComboBox::create(arg1,arg2);
+ return;
+ }
+ void protected_create(WId arg1) {
+ KComboBox::create(arg1);
+ return;
+ }
+ void protected_create() {
+ KComboBox::create();
+ return;
+ }
+ void protected_wheelEvent(TQWheelEvent* arg1) {
+ KComboBox::wheelEvent(arg1);
+ return;
+ }
+ void protected_makeCompletion(const TQString& arg1) {
+ KComboBox::makeCompletion(arg1);
+ return;
+ }
+ ~KComboBoxJBridge() {QtSupport::qtKeyDeleted(this);}
+ void protected_setDelegate(TDECompletionBase* arg1) {
+ TDECompletionBase::setDelegate(arg1);
+ return;
+ }
+ TDECompletionBase* protected_delegate() {
+ return (TDECompletionBase*) TDECompletionBase::delegate();
+ }
+ void dragLeaveEvent(TQDragLeaveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragLeaveEvent")) {
+ TQWidget::dragLeaveEvent(arg1);
+ }
+ return;
+ }
+ void setMask(const TQRegion& arg1) {
+ if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.trinitydesktop.qt.TQRegion")) {
+ TQWidget::setMask(arg1);
+ }
+ return;
+ }
+ void setValidator(const TQValidator* arg1) {
+ if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.trinitydesktop.qt.TQValidator")) {
+ TQComboBox::setValidator(arg1);
+ }
+ return;
+ }
+ void resizeEvent(TQResizeEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.trinitydesktop.qt.TQResizeEvent")) {
+ TQComboBox::resizeEvent(arg1);
+ }
+ return;
+ }
+ void mouseDoubleClickEvent(TQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
+ TQComboBox::mouseDoubleClickEvent(arg1);
+ }
+ return;
+ }
+ void paletteChange(const TQPalette& arg1) {
+ if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.trinitydesktop.qt.TQPalette")) {
+ TQWidget::paletteChange(arg1);
+ }
+ return;
+ }
+ void setListBox(TQListBox* arg1) {
+ if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.trinitydesktop.qt.TQListBox")) {
+ TQComboBox::setListBox(arg1);
+ }
+ return;
+ }
+ void setActiveWindow() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","setActiveWindow")) {
+ TQWidget::setActiveWindow();
+ }
+ return;
+ }
+ void dragEnterEvent(TQDragEnterEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragEnterEvent")) {
+ TQWidget::dragEnterEvent(arg1);
+ }
+ return;
+ }
+ void show() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","show")) {
+ TQWidget::show();
+ }
+ return;
+ }
+ void focusOutEvent(TQFocusEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.trinitydesktop.qt.TQFocusEvent")) {
+ TQComboBox::focusOutEvent(arg1);
+ }
+ return;
+ }
+ void setFocus() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","setFocus")) {
+ TQWidget::setFocus();
+ }
+ return;
+ }
+ void dragMoveEvent(TQDragMoveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragMoveEvent")) {
+ TQWidget::dragMoveEvent(arg1);
+ }
+ return;
+ }
+ void setPaletteBackgroundColor(const TQColor& arg1) {
+ if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
+ TQWidget::setPaletteBackgroundColor(arg1);
+ }
+ return;
+ }
+ void setEraseColor(const TQColor& arg1) {
+ if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
+ TQWidget::setEraseColor(arg1);
+ }
+ return;
+ }
+ void removeChild(TQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
+ TQObject::removeChild(arg1);
+ }
+ return;
+ }
+ void paintEvent(TQPaintEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.trinitydesktop.qt.TQPaintEvent")) {
+ TQComboBox::paintEvent(arg1);
+ }
+ return;
+ }
+ void imStartEvent(TQIMEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
+ TQWidget::imStartEvent(arg1);
+ }
+ return;
+ }
+ void unsetCursor() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","unsetCursor")) {
+ TQWidget::unsetCursor();
+ }
+ return;
+ }
+ void hideEvent(TQHideEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.trinitydesktop.qt.TQHideEvent")) {
+ TQWidget::hideEvent(arg1);
+ }
+ return;
+ }
+ void moveEvent(TQMoveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMoveEvent")) {
+ TQWidget::moveEvent(arg1);
+ }
+ return;
+ }
+ void polish() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","polish")) {
+ TQWidget::polish();
+ }
+ return;
+ }
+ void showMaximized() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","showMaximized")) {
+ TQWidget::showMaximized();
+ }
+ return;
+ }
+ void setBackgroundPixmap(const TQPixmap& arg1) {
+ if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
+ TQWidget::setBackgroundPixmap(arg1);
+ }
+ return;
+ }
+ void showEvent(TQShowEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.trinitydesktop.qt.TQShowEvent")) {
+ TQWidget::showEvent(arg1);
+ }
+ return;
+ }
+ void keyPressEvent(TQKeyEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.trinitydesktop.qt.TQKeyEvent")) {
+ TQComboBox::keyPressEvent(arg1);
+ }
+ return;
+ }
+ bool customWhatsThis() {
+ return QtSupport::booleanDelegate(this,"customWhatsThis");
+ }
+ void setPaletteBackgroundPixmap(const TQPixmap& arg1) {
+ if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
+ TQWidget::setPaletteBackgroundPixmap(arg1);
+ }
+ return;
+ }
+ void setCursor(const TQCursor& arg1) {
+ if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.trinitydesktop.qt.TQCursor")) {
+ TQWidget::setCursor(arg1);
+ }
+ return;
+ }
+ void closeEvent(TQCloseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.trinitydesktop.qt.TQCloseEvent")) {
+ TQWidget::closeEvent(arg1);
+ }
+ return;
+ }
+ void customEvent(TQCustomEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
+ TQObject::customEvent(arg1);
+ }
+ return;
+ }
+ void enterEvent(TQEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.trinitydesktop.qt.TQEvent")) {
+ TQWidget::enterEvent(arg1);
+ }
+ return;
+ }
+ void timerEvent(TQTimerEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
+ TQObject::timerEvent(arg1);
+ }
+ return;
+ }
+ void mouseReleaseEvent(TQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
+ TQComboBox::mouseReleaseEvent(arg1);
+ }
+ return;
+ }
+ void setErasePixmap(const TQPixmap& arg1) {
+ if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
+ TQWidget::setErasePixmap(arg1);
+ }
+ return;
+ }
+ void childEvent(TQChildEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
+ TQObject::childEvent(arg1);
+ }
+ return;
+ }
+ void dropEvent(TQDropEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.trinitydesktop.qt.TQDropEvent")) {
+ TQWidget::dropEvent(arg1);
+ }
+ return;
+ }
+ void leaveEvent(TQEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQEvent")) {
+ TQWidget::leaveEvent(arg1);
+ }
+ return;
+ }
+ void setIcon(const TQPixmap& arg1) {
+ if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
+ TQWidget::setIcon(arg1);
+ }
+ return;
+ }
+ void showNormal() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","showNormal")) {
+ TQWidget::showNormal();
+ }
+ return;
+ }
+ void imComposeEvent(TQIMEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
+ TQWidget::imComposeEvent(arg1);
+ }
+ return;
+ }
+ void mousePressEvent(TQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
+ TQComboBox::mousePressEvent(arg1);
+ }
+ return;
+ }
+ void popup() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","popup")) {
+ TQComboBox::popup();
+ }
+ return;
+ }
+ void mouseMoveEvent(TQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
+ TQComboBox::mouseMoveEvent(arg1);
+ }
+ return;
+ }
+ void setFocusProxy(TQWidget* arg1) {
+ if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
+ TQWidget::setFocusProxy(arg1);
+ }
+ return;
+ }
+ void fontChange(const TQFont& arg1) {
+ if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.trinitydesktop.qt.TQFont")) {
+ TQWidget::fontChange(arg1);
+ }
+ return;
+ }
+ void setBackgroundColor(const TQColor& arg1) {
+ if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
+ TQWidget::setBackgroundColor(arg1);
+ }
+ return;
+ }
+ void adjustSize() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","adjustSize")) {
+ TQWidget::adjustSize();
+ }
+ return;
+ }
+ void wheelEvent(TQWheelEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.trinitydesktop.qt.TQWheelEvent")) {
+ KComboBox::wheelEvent(arg1);
+ }
+ return;
+ }
+ void imEndEvent(TQIMEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
+ TQWidget::imEndEvent(arg1);
+ }
+ return;
+ }
+ void insertChild(TQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
+ TQObject::insertChild(arg1);
+ }
+ return;
+ }
+ void focusInEvent(TQFocusEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.trinitydesktop.qt.TQFocusEvent")) {
+ TQComboBox::focusInEvent(arg1);
+ }
+ return;
+ }
+ void tabletEvent(TQTabletEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.trinitydesktop.qt.TQTabletEvent")) {
+ TQWidget::tabletEvent(arg1);
+ }
+ return;
+ }
+ void setLineEdit(TQLineEdit* arg1) {
+ if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.trinitydesktop.qt.TQLineEdit")) {
+ KComboBox::setLineEdit(arg1);
+ }
+ return;
+ }
+ void keyReleaseEvent(TQKeyEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQKeyEvent")) {
+ TQWidget::keyReleaseEvent(arg1);
+ }
+ return;
+ }
+ void contextMenuEvent(TQContextMenuEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.trinitydesktop.qt.TQContextMenuEvent")) {
+ TQWidget::contextMenuEvent(arg1);
+ }
+ return;
+ }
+ bool eventFilter(TQObject* object,TQEvent* event) {
+ if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.KComboBox",object,event)) {
+ return KComboBox::eventFilter(object,event);
+ } else {
+ return TRUE;
+ }
+ }
+ void setGeometry(const TQRect& arg1) {
+ if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.trinitydesktop.qt.TQRect")) {
+ TQWidget::setGeometry(arg1);
+ }
+ return;
+ }
+ void showMinimized() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KComboBox","showMinimized")) {
+ TQWidget::showMinimized();
+ }
+ return;
+ }
+};
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_autoCompletion(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->autoCompletion();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_changeURL__Lorg_trinitydesktop_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint index)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->changeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_changeURL__Lorg_trinitydesktop_qt_QPixmap_2Lorg_trinitydesktop_koala_KURL_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject url, jint index)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->changeURL((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index);
+ return;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_KComboBox_className(JNIEnv* env, jobject obj)
+{
+ const char* _qstring;
+ _qstring = ((KComboBox*) QtSupport::getQt(env, obj))->className();
+ return QtSupport::fromCharString(env, (char *) _qstring);
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_KComboBox_compObj(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->compObj(), "org.trinitydesktop.koala.TDECompletion");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_KComboBox_completionBox__(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBox*) QtSupport::getQt(env, obj))->completionBox(), "org.trinitydesktop.koala.TDECompletionBox");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_KComboBox_completionBox__Z(JNIEnv* env, jobject obj, jboolean create)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBox*) QtSupport::getQt(env, obj))->completionBox((bool) create), "org.trinitydesktop.koala.TDECompletionBox");
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_trinitydesktop_koala_KComboBox_completionMode(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->completionMode();
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_KComboBox_completionObject__(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->completionObject(), "org.trinitydesktop.koala.TDECompletion");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_KComboBox_completionObject__Z(JNIEnv* env, jobject obj, jboolean hsig)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.trinitydesktop.koala.TDECompletion");
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_contains(JNIEnv* env, jobject obj, jstring text)
+{
+static TQString* _qstring_text = 0;
+ jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_create__(JNIEnv* env, jobject obj)
+{
+ ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create();
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_create__J(JNIEnv* env, jobject obj, jlong arg1)
+{
+ ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow)
+{
+ ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow)
+{
+ ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow);
+ return;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_trinitydesktop_koala_KComboBox_cursorPosition(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((KComboBox*) QtSupport::getQt(env, obj))->cursorPosition();
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_KComboBox_delegate(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_delegate(), "org.trinitydesktop.koala.TDECompletionBaseInterface");
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_dispose(JNIEnv* env, jobject obj)
+{
+ Java_org_trinitydesktop_koala_KComboBox_finalize(env, obj);
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_emitSignals(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->emitSignals();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
+{
+ jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2));
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_finalize(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KComboBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
+ delete (KComboBox*)QtSupport::getQt(env, obj);
+ QtSupport::setQt(env, obj, 0);
+ }
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_KComboBox_getKeyBinding(JNIEnv* env, jobject obj, jint item)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->getKeyBinding((TDECompletionBase::KeyBindingType) item), "org.trinitydesktop.koala.TDEShortcut");
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_handleSignals(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->handleSignals();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_insertURL__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_insertURL__Lorg_trinitydesktop_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint index)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_insertURL__Lorg_trinitydesktop_qt_QPixmap_2Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject pixmap, jobject url)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const KURL&)*(const KURL*) QtSupport::getQt(env, url));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_insertURL__Lorg_trinitydesktop_qt_QPixmap_2Lorg_trinitydesktop_koala_KURL_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject url, jint index)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index);
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_isCompletionObjectAutoDeleted(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_isContextMenuEnabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->isContextMenuEnabled();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_isDisposed(JNIEnv* env, jobject obj)
+{
+ return (QtSupport::getQt(env, obj) == 0);
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_isURLDropsEnabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->isURLDropsEnabled();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_makeCompletion(JNIEnv* env, jobject obj, jstring arg1)
+{
+static TQString* _qstring_arg1 = 0;
+ ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_KComboBox_metaObject(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBox*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_newKComboBox__(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new KComboBoxJBridge());
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_newKComboBox__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new KComboBoxJBridge((TQWidget*) QtSupport::getQt(env, parent)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_newKComboBox__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
+{
+static TQCString* _qstring_name = 0;
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new KComboBoxJBridge((TQWidget*) 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_trinitydesktop_koala_KComboBox_newKComboBox__Z(JNIEnv* env, jobject obj, jboolean rw)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new KComboBoxJBridge((bool) rw));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_newKComboBox__ZLorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new KComboBoxJBridge((bool) rw, (TQWidget*) QtSupport::getQt(env, parent)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_newKComboBox__ZLorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent, jstring name)
+{
+static TQCString* _qstring_name = 0;
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new KComboBoxJBridge((bool) rw, (TQWidget*) 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_trinitydesktop_koala_KComboBox_rotateText(JNIEnv* env, jobject obj, jint type)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->rotateText((TDECompletionBase::KeyBindingType) type);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setAutoCompletion(JNIEnv* env, jobject obj, jboolean autocomplete)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->setAutoCompletion((bool) autocomplete);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setAutoDeleteCompletionObject(JNIEnv* env, jobject obj, jboolean autoDelete)
+{
+ ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCompletedItems(JNIEnv* env, jobject obj, jobjectArray items)
+{
+static TQStringList* _qlist_items = 0;
+ ((KComboBox*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCompletedText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
+{
+static TQString* _qstring_arg1 = 0;
+ ((KComboBox*) QtSupport::getQt(env, obj))->setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCompletedText__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2)
+{
+static TQString* _qstring_arg1 = 0;
+ ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCompletionMode(JNIEnv* env, jobject obj, jint mode)
+{
+ ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCompletionObject__Lorg_trinitydesktop_koala_TDECompletion_2(JNIEnv* env, jobject obj, jobject compObj)
+{
+ ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCompletionObject__Lorg_trinitydesktop_koala_TDECompletion_2Z(JNIEnv* env, jobject obj, jobject compObj, jboolean hsig)
+{
+ ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj), (bool) hsig);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setContextMenuEnabled(JNIEnv* env, jobject obj, jboolean showMenu)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->setContextMenuEnabled((bool) showMenu);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCurrentItem__I(JNIEnv* env, jobject obj, jint index)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((int) index);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item)
+{
+static TQString* _qstring_item = 0;
+ ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCurrentItem__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring item, jboolean insert)
+{
+static TQString* _qstring_item = 0;
+ ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (bool) insert);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setCurrentItem__Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring item, jboolean insert, jint index)
+{
+static TQString* _qstring_item = 0;
+ ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (bool) insert, (int) index);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setDelegate(JNIEnv* env, jobject obj, jobject delegate)
+{
+ ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_setDelegate((TDECompletionBase*) QtSupport::getQt(env, delegate));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setEditURL(JNIEnv* env, jobject obj, jobject url)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->setEditURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setEnableSignals(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setHandleSignals(JNIEnv* env, jobject obj, jboolean handle)
+{
+ ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setHandleSignals((bool) handle);
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key)
+{
+ jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setKeyBinding((TDECompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key));
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setLineEdit(JNIEnv* env, jobject obj, jobject arg1)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->setLineEdit((TQLineEdit*) QtSupport::getQt(env, arg1));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setTrapReturnKey(JNIEnv* env, jobject obj, jboolean trap)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->setTrapReturnKey((bool) trap);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_setURLDropsEnabled(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((KComboBox*) QtSupport::getQt(env, obj))->setURLDropsEnabled((bool) enable);
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KComboBox_trapReturnKey(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->trapReturnKey();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_useGlobalKeyBindings(JNIEnv* env, jobject obj)
+{
+ ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->useGlobalKeyBindings();
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KComboBox_wheelEvent(JNIEnv* env, jobject obj, jobject ev)
+{
+ ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, ev));
+ return;
+}
+