//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqsize.h>
#include <tqpixmap.h>
#include <tqiconset.h>
#include <tqstring.h>
#include <ktoolbarbutton.h>
#include <tqpalette.h>
#include <tqnamespace.h>

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

class KToolBarButtonJBridge : public KToolBarButton
{
public:
	KToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5,KInstance* arg6) : KToolBarButton(arg1,arg2,arg3,arg4,arg5,arg6) {};
	KToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : KToolBarButton(arg1,arg2,arg3,arg4,arg5) {};
	KToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4) : KToolBarButton(arg1,arg2,arg3,arg4) {};
	KToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3) : KToolBarButton(arg1,arg2,arg3) {};
	KToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : KToolBarButton(arg1,arg2,arg3,arg4,arg5) {};
	KToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4) : KToolBarButton(arg1,arg2,arg3,arg4) {};
	KToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3) : KToolBarButton(arg1,arg2,arg3) {};
	KToolBarButtonJBridge(TQWidget* arg1,const char* arg2) : KToolBarButton(arg1,arg2) {};
	KToolBarButtonJBridge(TQWidget* arg1) : KToolBarButton(arg1) {};
	KToolBarButtonJBridge() : KToolBarButton() {};
	bool protected_event(TQEvent* arg1) {
		return (bool) KToolBarButton::event(arg1);
	}
	void protected_paletteChange(const TQPalette& arg1) {
		KToolBarButton::paletteChange(arg1);
		return;
	}
	void protected_leaveEvent(TQEvent* arg1) {
		KToolBarButton::leaveEvent(arg1);
		return;
	}
	void protected_enterEvent(TQEvent* arg1) {
		KToolBarButton::enterEvent(arg1);
		return;
	}
	void protected_drawButton(TQPainter* arg1) {
		KToolBarButton::drawButton(arg1);
		return;
	}
	bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) {
		return (bool) KToolBarButton::eventFilter(arg1,arg2);
	}
	void protected_mousePressEvent(TQMouseEvent* arg1) {
		KToolBarButton::mousePressEvent(arg1);
		return;
	}
	void protected_mouseReleaseEvent(TQMouseEvent* arg1) {
		KToolBarButton::mouseReleaseEvent(arg1);
		return;
	}
	void protected_showMenu() {
		KToolBarButton::showMenu();
		return;
	}
	TQSize protected_sizeHint() {
		return (TQSize) KToolBarButton::sizeHint();
	}
	TQSize protected_minimumSizeHint() {
		return (TQSize) KToolBarButton::minimumSizeHint();
	}
	TQSize protected_minimumSize() {
		return (TQSize) 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(TQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
			TQWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void setMask(const TQRegion& arg1) {
		if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) {
			TQWidget::setMask(arg1);
		}
		return;
	}
	void resizeEvent(TQResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) {
			TQWidget::resizeEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
			TQWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void setActiveWindow() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","setActiveWindow")) {
			TQWidget::setActiveWindow();
		}
		return;
	}
	void dragEnterEvent(TQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) {
			TQWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void show() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","show")) {
			TQWidget::show();
		}
		return;
	}
	void focusOutEvent(TQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) {
			TQButton::focusOutEvent(arg1);
		}
		return;
	}
	void setFocus() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","setFocus")) {
			TQWidget::setFocus();
		}
		return;
	}
	void dragMoveEvent(TQDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) {
			TQWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void styleChange(TQStyle& arg1) {
		if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) {
			TQWidget::styleChange(arg1);
		}
		return;
	}
	void hide() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","hide")) {
			TQWidget::hide();
		}
		return;
	}
	void setPaletteBackgroundColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) {
			TQWidget::setPaletteBackgroundColor(arg1);
		}
		return;
	}
	void setEraseColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) {
			TQWidget::setEraseColor(arg1);
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void paintEvent(TQPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) {
			TQButton::paintEvent(arg1);
		}
		return;
	}
	void imStartEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) {
			TQWidget::imStartEvent(arg1);
		}
		return;
	}
	void unsetCursor() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","unsetCursor")) {
			TQWidget::unsetCursor();
		}
		return;
	}
	void hideEvent(TQHideEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) {
			TQWidget::hideEvent(arg1);
		}
		return;
	}
	void setIconSet(const TQIconSet& arg1) {
		if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) {
			KToolBarButton::setIconSet(arg1);
		}
		return;
	}
	void moveEvent(TQMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) {
			TQToolButton::moveEvent(arg1);
		}
		return;
	}
	void polish() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","polish")) {
			TQWidget::polish();
		}
		return;
	}
	void showMaximized() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","showMaximized")) {
			TQWidget::showMaximized();
		}
		return;
	}
	void setBackgroundPixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) {
			TQWidget::setBackgroundPixmap(arg1);
		}
		return;
	}
	void showEvent(TQShowEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) {
			TQWidget::showEvent(arg1);
		}
		return;
	}
	void keyPressEvent(TQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) {
			TQButton::keyPressEvent(arg1);
		}
		return;
	}
	bool customWhatsThis() {
		return QtSupport::booleanDelegate(this,"customWhatsThis");
	}
	void setPaletteBackgroundPixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) {
			TQWidget::setPaletteBackgroundPixmap(arg1);
		}
		return;
	}
	void setAccel(const TQKeySequence& arg1) {
		if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) {
			TQButton::setAccel(arg1);
		}
		return;
	}
	void setCursor(const TQCursor& arg1) {
		if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) {
			TQWidget::setCursor(arg1);
		}
		return;
	}
	void closeEvent(TQCloseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) {
			TQWidget::closeEvent(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void enterEvent(TQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) {
			KToolBarButton::enterEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
			KToolBarButton::mouseReleaseEvent(arg1);
		}
		return;
	}
	void setErasePixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) {
			TQWidget::setErasePixmap(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void dropEvent(TQDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) {
			TQWidget::dropEvent(arg1);
		}
		return;
	}
	void leaveEvent(TQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) {
			KToolBarButton::leaveEvent(arg1);
		}
		return;
	}
	void setIcon(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) {
			KToolBarButton::setIcon(arg1);
		}
		return;
	}
	void updateMask() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","updateMask")) {
			TQWidget::updateMask();
		}
		return;
	}
	void showNormal() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","showNormal")) {
			TQWidget::showNormal();
		}
		return;
	}
	void imComposeEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) {
			TQWidget::imComposeEvent(arg1);
		}
		return;
	}
	void mousePressEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
			KToolBarButton::mousePressEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
			TQButton::mouseMoveEvent(arg1);
		}
		return;
	}
	void setFocusProxy(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) {
			TQWidget::setFocusProxy(arg1);
		}
		return;
	}
	void setPixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) {
			TQButton::setPixmap(arg1);
		}
		return;
	}
	void fontChange(const TQFont& arg1) {
		if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) {
			TQWidget::fontChange(arg1);
		}
		return;
	}
	void setBackgroundColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) {
			TQWidget::setBackgroundColor(arg1);
		}
		return;
	}
	void adjustSize() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","adjustSize")) {
			TQWidget::adjustSize();
		}
		return;
	}
	void wheelEvent(TQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
			TQWidget::wheelEvent(arg1);
		}
		return;
	}
	void imEndEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) {
			TQWidget::imEndEvent(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	void focusInEvent(TQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) {
			TQButton::focusInEvent(arg1);
		}
		return;
	}
	void tabletEvent(TQTabletEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) {
			TQWidget::tabletEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(TQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) {
			TQButton::keyReleaseEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(TQContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) {
			TQWidget::contextMenuEvent(arg1);
		}
		return;
	}
	void setGeometry(const TQRect& arg1) {
		if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) {
			TQWidget::setGeometry(arg1);
		}
		return;
	}
	void showMinimized() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","showMinimized")) {
			TQWidget::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((TQPainter*) 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((TQEvent*) 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((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KToolBarButton_event(JNIEnv* env, jobject obj, jobject e)
{
	jboolean xret = (jboolean) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KToolBarButton_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(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((TQEvent*) 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.TQMetaObject");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KToolBarButton_minimumSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSize()), "org.kde.qt.TQSize", 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((TQMouseEvent*) 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((TQMouseEvent*) 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 TQString* _qstring_icon = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) 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 TQString* _qstring_icon = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, icon, &_qstring_icon), (int) id, (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_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 TQString* _qstring_icon = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_txt = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) 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 TQString* _qstring_icon = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_txt = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) 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 TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) 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 TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (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_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 TQCString* _qstring_name = 0;
static TQString* _qstring_txt = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) 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((TQWidget*) 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 TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToolBarButtonJBridge((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_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 TQPalette&)*(const TQPalette*) 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.TQPopupMenu");
	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((TQPopupMenu*) 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((TQPopupMenu*) 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 TQIconSet&)*(const TQIconSet*) 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 TQString* _qstring_icon = 0;
	((KToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) 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 TQPixmap&)*(const TQPixmap*) 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((TQPopupMenu*) 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((TQPopupMenu*) 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 TQString* _qstring_arg1 = 0;
	((KToolBarButton*) QtSupport::getQt(env, obj))->setTextLabel((const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
	((KToolBarButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) 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 TQSize(((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.TQSize", 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;
}

