/***************************************************************************
                            kde_KComboBox.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "kde_KComboBox.h"
}

#include <kcombobox.h>

class KComboBoxBridge : public KComboBox
{
public:
	KComboBoxBridge(QWidget* parent, const char* name) : KComboBox(parent, name) {}
	KComboBoxBridge(bool rw, QWidget* parent, const char* name) : KComboBox(rw, parent, name) {}
	~KComboBoxBridge() {}
	void protected_setCompletedText(const QString& arg1, bool arg2) {
		KComboBox::setCompletedText(arg1, arg2);
		return;
	}
	void protected_create(WId arg1, bool initializeWindow, bool destroyOldWindow) {
		KComboBox::create(arg1, initializeWindow, destroyOldWindow);
		return;
	}
	void protected_itemSelected(QListBoxItem* arg1) {
		KComboBox::itemSelected(arg1);
		return;
	}
	void protected_makeCompletion(const QString& arg1) {
		KComboBox::makeCompletion(arg1);
		return;
	}
	void keyPressEvent(QKeyEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyPressEvent", e, "QKeyEvent")) {
			QComboBox::keyPressEvent(e);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyReleaseEvent", arg1, "QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusOutEvent", arg1, "QFocusEvent")) {
			QWidget::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragMoveEvent", arg1, "QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "leaveEvent", arg1, "QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "tabletEvent", arg1, "QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "showEvent", arg1, "QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contextMenuEvent", arg1, "QContextMenuEvent")) {
			QWidget::contextMenuEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mousePressEvent", arg1, "QMouseEvent")) {
			QComboBox::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imComposeEvent", arg1, "QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseReleaseEvent", arg1, "QMouseEvent")) {
			QComboBox::mouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseDoubleClickEvent", arg1, "QMouseEvent")) {
			QComboBox::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragLeaveEvent", arg1, "QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "enterEvent", arg1, "QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusInEvent", e, "QFocusEvent")) {
			QComboBox::focusInEvent(e);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imEndEvent", arg1, "QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dropEvent", arg1, "QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragEnterEvent", arg1, "QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseMoveEvent", arg1, "QMouseEvent")) {
			QComboBox::mouseMoveEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "moveEvent", arg1, "QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "wheelEvent", arg1, "QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "hideEvent", arg1, "QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imStartEvent", arg1, "QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "closeEvent", arg1, "QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "paintEvent", arg1, "QPaintEvent")) {
			QComboBox::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "resizeEvent", arg1, "QResizeEvent")) {
			QComboBox::resizeEvent(arg1);
		}
		return;
	}
};

kde_KComboBox * kde_new_KComboBox(qt_QWidget * parent, char* name){
	return (kde_KComboBox *) new KComboBoxBridge((QWidget*)parent, (char*)name);
}
kde_KComboBox * kde_new_KComboBox1(int rw, qt_QWidget * parent, char* name){
	return (kde_KComboBox *) new KComboBoxBridge((bool)rw, (QWidget*)parent, (char*)name);
}
void kde_del_KComboBox( kde_KComboBox* p ){
	delete (KComboBoxBridge*) p;
}
void kde_KComboBox_setEditURL( kde_KComboBox* instPointer,kde_KURL* url){
	((KComboBoxBridge*)instPointer)->setEditURL((KURL&)* (KURL*)url);
	return;
}
void kde_KComboBox_insertURL( kde_KComboBox* instPointer,kde_KURL* url, int index){
	((KComboBoxBridge*)instPointer)->insertURL((KURL&)* (KURL*)url, (int)index);
	return;
}
void kde_KComboBox_insertURL1( kde_KComboBox* instPointer,qt_QPixmap * pixmap, kde_KURL* url, int index){
	((KComboBoxBridge*)instPointer)->insertURL((QPixmap&)* (QPixmap*)pixmap, (KURL&)* (KURL*)url, (int)index);
	return;
}
void kde_KComboBox_changeURL( kde_KComboBox* instPointer,kde_KURL* url, int index){
	((KComboBoxBridge*)instPointer)->changeURL((KURL&)* (KURL*)url, (int)index);
	return;
}
void kde_KComboBox_changeURL1( kde_KComboBox* instPointer,qt_QPixmap * pixmap, kde_KURL* url, int index){
	((KComboBoxBridge*)instPointer)->changeURL((QPixmap&)* (QPixmap*)pixmap, (KURL&)* (KURL*)url, (int)index);
	return;
}
int kde_KComboBox_cursorPosition( kde_KComboBox* instPointer){
	return (int) ((KComboBoxBridge*)instPointer)->cursorPosition();
}
void kde_KComboBox_setAutoCompletion( kde_KComboBox* instPointer,int autocomplete){
	((KComboBoxBridge*)instPointer)->setAutoCompletion((bool)autocomplete);
	return;
}
int kde_KComboBox_autoCompletion( kde_KComboBox* instPointer){
	return (int) ((KComboBoxBridge*)instPointer)->autoCompletion();
}
void kde_KComboBox_setContextMenuEnabled( kde_KComboBox* instPointer,int showMenu){
	((KComboBoxBridge*)instPointer)->setContextMenuEnabled((bool)showMenu);
	return;
}
int kde_KComboBox_isContextMenuEnabled( kde_KComboBox* instPointer){
	return (int) ((KComboBoxBridge*)instPointer)->isContextMenuEnabled();
}
void kde_KComboBox_setURLDropsEnabled( kde_KComboBox* instPointer,int enable){
	((KComboBoxBridge*)instPointer)->setURLDropsEnabled((bool)enable);
	return;
}
int kde_KComboBox_isURLDropsEnabled( kde_KComboBox* instPointer){
	return (int) ((KComboBoxBridge*)instPointer)->isURLDropsEnabled();
}
int kde_KComboBox_contains( kde_KComboBox* instPointer,qt_QString * text){
	return (int) ((KComboBoxBridge*)instPointer)->contains((QString&)* (QString*)text);
}
void kde_KComboBox_setTrapReturnKey( kde_KComboBox* instPointer,int trap){
	((KComboBoxBridge*)instPointer)->setTrapReturnKey((bool)trap);
	return;
}
int kde_KComboBox_trapReturnKey( kde_KComboBox* instPointer){
	return (int) ((KComboBoxBridge*)instPointer)->trapReturnKey();
}
kde_KCompletionBox* kde_KComboBox_completionBox( kde_KComboBox* instPointer,int create){
	return (kde_KCompletionBox*) ((KComboBoxBridge*)instPointer)->completionBox((bool)create);
}
void kde_KComboBox_setLineEdit( kde_KComboBox* instPointer,qt_QLineEdit* arg1){
	((KComboBoxBridge*)instPointer)->setLineEdit((QLineEdit*)arg1);
	return;
}
void kde_KComboBox_rotateText( kde_KComboBox* instPointer,int arg1){
	((KComboBoxBridge*)instPointer)->rotateText((KCompletionBase::KeyBindingType)arg1);
	return;
}
void kde_KComboBox_setCompletedText( kde_KComboBox* instPointer,qt_QString * arg1){
	((KComboBoxBridge*)instPointer)->setCompletedText((QString&)* (QString*)arg1);
	return;
}
void kde_KComboBox_setCompletedItems( kde_KComboBox* instPointer,qt_QStringList* items){
	((KComboBoxBridge*)instPointer)->setCompletedItems((QStringList&)* (QStringList*)items);
	return;
}
void kde_KComboBox_setCurrentItem( kde_KComboBox* instPointer,qt_QString * item, int insert, int index){
	((KComboBoxBridge*)instPointer)->setCurrentItem((QString&)* (QString*)item, (bool)insert, (int)index);
	return;
}
void kde_KComboBox_setCurrentItem1( kde_KComboBox* instPointer,int index){
	((KComboBoxBridge*)instPointer)->setCurrentItem((int)index);
	return;
}
void kde_KComboBox_setCompletedText1( kde_KComboBox* instPointer,qt_QString * arg1, int arg2){
	((KComboBoxBridge*)instPointer)->protected_setCompletedText((QString&)* (QString*)arg1, (bool)arg2);
	return;
}
void kde_KComboBox_create( kde_KComboBox* instPointer,unsigned int arg1, int initializeWindow, int destroyOldWindow){
	((KComboBoxBridge*)instPointer)->protected_create((WId)arg1, (bool)initializeWindow, (bool)destroyOldWindow);
	return;
}
void kde_KComboBox_itemSelected( kde_KComboBox* instPointer,qt_QListBoxItem * arg1){
	((KComboBoxBridge*)instPointer)->protected_itemSelected((QListBoxItem*)arg1);
	return;
}
void kde_KComboBox_makeCompletion( kde_KComboBox* instPointer,qt_QString * arg1){
	((KComboBoxBridge*)instPointer)->protected_makeCompletion((QString&)* (QString*)arg1);
	return;
}
kde_KCompletionBase* kde_KComboBox_KCompletionBase(kde_KComboBox* instPointer){
	return (kde_KCompletionBase*) (KCompletionBase *) (KComboBox *) instPointer;
}
qt_QComboBox* kde_KComboBox_QComboBox(kde_KComboBox* instPointer){
	return (qt_QComboBox*) (QComboBox *) (KComboBox *) instPointer;
}
