/***************************************************************************
                            KStdGuiItem.cpp -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

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

#define _BOOL_H_
#include <kstdguiitem.h>
#include <kguiitem.h>
#include <qstring.h>
#include <qcstring.h>

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_guiItem(JNIEnv *env, jclass obj, jint ui_enum)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::guiItem((KStdGuiItem::StdItem) ui_enum)), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStdGuiItem_stdItem(JNIEnv *env, jclass obj, jint ui_enum)
{
	QString  _qstring;
	_qstring = KStdGuiItem::stdItem((KStdGuiItem::StdItem) ui_enum);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_ok(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::ok()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_cancel(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::cancel()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_yes(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::yes()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_no(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::no()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_discard(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::discard()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_save(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::save()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_help(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::help()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_dontSave(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::dontSave()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_saveAs(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::saveAs()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_apply(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::apply()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_clear(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::clear()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_defaults(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::defaults()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_close(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::close()), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_back__I(JNIEnv *env, jclass obj, jint useBidi)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::back((KStdGuiItem::BidiMode) useBidi)), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_back__(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new KGuiItem(KStdGuiItem::back(KStdGuiItem::IgnoreRTL)), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_forward__I(JNIEnv *env, jclass obj, jint useBidi)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  KGuiItem (KStdGuiItem::forward((KStdGuiItem::BidiMode) useBidi)), "org.kde.koala.KGuiItem", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStdGuiItem_forward__(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new KGuiItem(KStdGuiItem::forward(KStdGuiItem::IgnoreRTL)), "org.kde.koala.KGuiItem", TRUE);
}

//JNIEXPORT  JNICALL
//Java_org_kde_koala_KStdGuiItem_backAndForward(JNIEnv *env, jclass obj)
//{
//	return () KStdGuiItem::backAndForward();
//}

