//Auto-generated by kalyptus. DO NOT EDIT.
#include <qsize.h>
#include <qpixmap.h>
#include <qiconset.h>
#include <qstring.h>
#include <ktoolbarbutton.h>
#include <qpalette.h>
#include <qnamespace.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KToolBarButton.h>

class KToolBarButtonJBridge : public KToolBarButton
{
public:
	KToolBarButtonJBridge(const QString& arg1,int arg2,QWidget* arg3,const char* arg4,const QString& arg5,KInstance* arg6) : KToolBarButton(arg1,arg2,arg3,arg4,arg5,arg6) {};
	KToolBarButtonJBridge(const QString& arg1,int arg2,QWidget* arg3,const char* arg4,const QString& arg5) : KToolBarButton(arg1,arg2,arg3,arg4,arg5) {};
	KToolBarButtonJBridge(const QString& arg1,int arg2,QWidget* arg3,const char* arg4) : KToolBarButton(arg1,arg2,arg3,arg4) {};
	KToolBarButtonJBridge(const QString& arg1,int arg2,QWidget* arg3) : KToolBarButton(arg1,arg2,arg3) {};
	KToolBarButtonJBridge(const QPixmap& arg1,int arg2,QWidget* arg3,const char* arg4,const QString& arg5) : KToolBarButton(arg1,arg2,arg3,arg4,arg5) {};
	KToolBarButtonJBridge(const QPixmap& arg1,int arg2,QWidget* arg3,const char* arg4) : KToolBarButton(arg1,arg2,arg3,arg4) {};
	KToolBarButtonJBridge(const QPixmap& arg1,int arg2,QWidget* arg3) : KToolBarButton(arg1,arg2,arg3) {};
	KToolBarButtonJBridge(QWidget* arg1,const char* arg2) : KToolBarButton(arg1,arg2) {};
	KToolBarButtonJBridge(QWidget* arg1) : KToolBarButton(arg1) {};
	KToolBarButtonJBridge() : KToolBarButton() {};
	void protected_paletteChange(const QPalette& arg1) {
		KToolBarButton::paletteChange(arg1);
		return;
	}
	void protected_leaveEvent(QEvent* arg1) {
		KToolBarButton::leaveEvent(arg1);
		return;
	}
	void protected_enterEvent(QEvent* arg1) {
		KToolBarButton::enterEvent(arg1);
		return;
	}
	void protected_drawButton(QPainter* arg1) {
		KToolBarButton::drawButton(arg1);
		return;
	}
	bool protected_eventFilter(QObject* arg1,QEvent* arg2) {
		return (bool) KToolBarButton::eventFilter(arg1,arg2);
	}
	void protected_mousePressEvent(QMouseEvent* arg1) {
		KToolBarButton::mousePressEvent(arg1);
		return;
	}
	void protected_mouseReleaseEvent(QMouseEvent* arg1) {
		KToolBarButton::mouseReleaseEvent(arg1);
		return;
	}
	void protected_showMenu() {
		KToolBarButton::showMenu();
		return;
	}
	QSize protected_sizeHint() {
		return (QSize) KToolBarButton::sizeHint();
	}
	QSize protected_minimumSizeHint() {
		return (QSize) KToolBarButton::minimumSizeHint();
	}
	QSize protected_minimumSize() {
		return (QSize) KToolBarButton::minimumSize();
	}
	bool protected_isRaised() {
		return (bool) KToolBarButton::isRaised();
	}
	bool protected_isActive() {
		return (bool) KToolBarButton::isActive();
	}
	int protected_iconTextMode() {
		return (int) KToolBarButton::iconTextMode();
	}
	void protected_slotClicked() {
		KToolBarButton::slotClicked();
		return;
	}
	void protected_slotPressed() {
		KToolBarButton::slotPressed();
		return;
	}
	void protected_slotReleased() {
		KToolBarButton::slotReleased();
		return;
	}
	void protected_slotToggled() {
		KToolBarButton::slotToggled();
		return;
	}
	void protected_slotDelayTimeout() {
		KToolBarButton::slotDelayTimeout();
		return;
	}
	~KToolBarButtonJBridge() {QtSupport::qtKeyDeleted(this);}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void setMask(const QRegion& arg1) {
		if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.QRegion")) {
			QWidget::setMask(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.QResizeEvent")) {
			QWidget::resizeEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void setActiveWindow() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","setActiveWindow")) {
			QWidget::setActiveWindow();
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void show() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","show")) {
			QWidget::show();
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.QFocusEvent")) {
			QButton::focusOutEvent(arg1);
		}
		return;
	}
	void setFocus() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","setFocus")) {
			QWidget::setFocus();
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void styleChange(QStyle& arg1) {
		if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.QStyle")) {
			QWidget::styleChange(arg1);
		}
		return;
	}
	void hide() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","hide")) {
			QWidget::hide();
		}
		return;
	}
	void setPaletteBackgroundColor(const QColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.QColor")) {
			QWidget::setPaletteBackgroundColor(arg1);
		}
		return;
	}
	void setEraseColor(const QColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.QColor")) {
			QWidget::setEraseColor(arg1);
		}
		return;
	}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.QPaintEvent")) {
			QButton::paintEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void unsetCursor() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","unsetCursor")) {
			QWidget::unsetCursor();
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void setIconSet(const QIconSet& arg1) {
		if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.QIconSet")) {
			KToolBarButton::setIconSet(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.QMoveEvent")) {
			QToolButton::moveEvent(arg1);
		}
		return;
	}
	void polish() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","polish")) {
			QWidget::polish();
		}
		return;
	}
	void showMaximized() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","showMaximized")) {
			QWidget::showMaximized();
		}
		return;
	}
	void setBackgroundPixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setBackgroundPixmap(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.QKeyEvent")) {
			QButton::keyPressEvent(arg1);
		}
		return;
	}
	bool customWhatsThis() {
		return QtSupport::booleanDelegate(this,"customWhatsThis");
	}
	void setPaletteBackgroundPixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setPaletteBackgroundPixmap(arg1);
		}
		return;
	}
	void setAccel(const QKeySequence& arg1) {
		if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.QKeySequence")) {
			QButton::setAccel(arg1);
		}
		return;
	}
	void setCursor(const QCursor& arg1) {
		if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.QCursor")) {
			QWidget::setCursor(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.QEvent")) {
			KToolBarButton::enterEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			KToolBarButton::mouseReleaseEvent(arg1);
		}
		return;
	}
	void setErasePixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setErasePixmap(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.QEvent")) {
			KToolBarButton::leaveEvent(arg1);
		}
		return;
	}
	void setIcon(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.QPixmap")) {
			KToolBarButton::setIcon(arg1);
		}
		return;
	}
	void updateMask() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","updateMask")) {
			QWidget::updateMask();
		}
		return;
	}
	void showNormal() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","showNormal")) {
			QWidget::showNormal();
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			KToolBarButton::mousePressEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QButton::mouseMoveEvent(arg1);
		}
		return;
	}
	void setFocusProxy(QWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.QWidget")) {
			QWidget::setFocusProxy(arg1);
		}
		return;
	}
	void setPixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QButton::setPixmap(arg1);
		}
		return;
	}
	void fontChange(const QFont& arg1) {
		if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.QFont")) {
			QWidget::fontChange(arg1);
		}
		return;
	}
	void setBackgroundColor(const QColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.QColor")) {
			QWidget::setBackgroundColor(arg1);
		}
		return;
	}
	void adjustSize() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","adjustSize")) {
			QWidget::adjustSize();
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.QFocusEvent")) {
			QButton::focusInEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.QKeyEvent")) {
			QButton::keyReleaseEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.QContextMenuEvent")) {
			QWidget::contextMenuEvent(arg1);
		}
		return;
	}
	void setGeometry(const QRect& arg1) {
		if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.QRect")) {
			QWidget::setGeometry(arg1);
		}
		return;
	}
	void showMinimized() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","showMinimized")) {
			QWidget::showMinimized();
		}
		return;
	}
};

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KToolBarButton_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((KToolBarButton*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KToolBarButton_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_drawButton(JNIEnv* env, jobject obj, jobject p)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((QPainter*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_enterEvent(JNIEnv* env, jobject obj, jobject e)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((QEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KToolBarButton_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e)
{
	jboolean xret = (jboolean) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((QObject*) QtSupport::getQt(env, o), (QEvent*) QtSupport::getQt(env, e));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((QWidget*)(KToolBarButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
		delete (KToolBarButton*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KToolBarButton_iconTextMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_iconTextMode();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KToolBarButton_id(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KToolBarButton*) QtSupport::getQt(env, obj))->id();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KToolBarButton_isActive(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isActive();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KToolBarButton_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KToolBarButton_isRaised(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isRaised();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_leaveEvent(JNIEnv* env, jobject obj, jobject e)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((QEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KToolBarButton_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBarButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KToolBarButton_minimumSizeHint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSizeHint()), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KToolBarButton_minimumSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSize()), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_modeChange(JNIEnv* env, jobject obj)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->modeChange();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((QMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((QMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_newKToolBarButton__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent)
{
static QString* _qstring_icon = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const QString&)*(QString*) QtSupport::toQString(env, icon, &_qstring_icon), (int) id, (QWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name)
{
static QString* _qstring_icon = 0;
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const QString&)*(QString*) QtSupport::toQString(env, icon, &_qstring_icon), (int) id, (QWidget*) 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_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt)
{
static QString* _qstring_icon = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_txt = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const QString&)*(QString*) QtSupport::toQString(env, icon, &_qstring_icon), (int) id, (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, txt, &_qstring_txt)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt, jobject _instance)
{
static QString* _qstring_icon = 0;
static QCString* _qstring_name = 0;
static QString* _qstring_txt = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const QString&)*(QString*) QtSupport::toQString(env, icon, &_qstring_icon), (int) id, (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, txt, &_qstring_txt), (KInstance*) QtSupport::getQt(env, _instance)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id, (QWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name)
{
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id, (QWidget*) 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_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name, jstring txt)
{
static QCString* _qstring_name = 0;
static QString* _qstring_txt = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id, (QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, txt, &_qstring_txt)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((QWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((QWidget*) 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_KToolBarButton_on__(JNIEnv* env, jobject obj)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->on();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_on__Z(JNIEnv* env, jobject obj, jboolean flag)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->on((bool) flag);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_paletteChange(JNIEnv* env, jobject obj, jobject arg1)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const QPalette&)*(const QPalette*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KToolBarButton_popup(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBarButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.QPopupMenu");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((QPopupMenu*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((QPopupMenu*) QtSupport::getQt(env, p), (bool) unused);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setIconSet(JNIEnv* env, jobject obj, jobject iconset)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setIconSet((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, iconset));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon)
{
static QString* _qstring_icon = 0;
	((KToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const QString&)*(QString*) QtSupport::toQString(env, icon, &_qstring_icon));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setIcon__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setNoStyle__(JNIEnv* env, jobject obj)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setNoStyle__Z(JNIEnv* env, jobject obj, jboolean no_style)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle((bool) no_style);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setPopup((QPopupMenu*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setPopup((QPopupMenu*) QtSupport::getQt(env, p), (bool) unused);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setRadio__(JNIEnv* env, jobject obj)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setRadio();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setRadio__Z(JNIEnv* env, jobject obj, jboolean f)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setRadio((bool) f);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setTextLabel(JNIEnv* env, jobject obj, jstring arg1, jboolean tipToo)
{
static QString* _qstring_arg1 = 0;
	((KToolBarButton*) QtSupport::getQt(env, obj))->setTextLabel((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (bool) tipToo);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setText(JNIEnv* env, jobject obj, jstring text)
{
static QString* _qstring_text = 0;
	((KToolBarButton*) QtSupport::getQt(env, obj))->setText((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setToggle__(JNIEnv* env, jobject obj)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setToggle();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_setToggle__Z(JNIEnv* env, jobject obj, jboolean toggle)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->setToggle((bool) toggle);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_showMenu(JNIEnv* env, jobject obj)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_showMenu();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KToolBarButton_sizeHint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_slotClicked(JNIEnv* env, jobject obj)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_slotDelayTimeout(JNIEnv* env, jobject obj)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotDelayTimeout();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_slotPressed(JNIEnv* env, jobject obj)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotPressed();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_slotReleased(JNIEnv* env, jobject obj)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotReleased();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_slotToggled(JNIEnv* env, jobject obj)
{
	((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotToggled();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_toggle(JNIEnv* env, jobject obj)
{
	((KToolBarButton*) QtSupport::getQt(env, obj))->toggle();
	return;
}

