/***************************************************************************
                            Qt.cpp -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, 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 <qnamespace.h>
#include <qapplication.h>
#include <qstring.h>
#include <qcstring.h>
#include <qapplication.h>

#include <qtjava/QtSupport.h>
#include <qtjava/Qt.h>

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_color0(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::color0, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_color1(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::color1, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_black(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::black, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_white(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::white, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_darkGray(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::darkGray, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_lightGray(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::lightGray, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_gray(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::gray, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_red(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::red, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_green(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::green, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_blue(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::blue, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_cyan(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::cyan, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_magenta(JNIEnv * env, jclass cls)
  {
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::magenta, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_yellow(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::yellow, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_darkRed(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::darkRed, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_darkGreen(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::darkGreen, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_darkBlue(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::darkBlue, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_darkCyan(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::darkCyan, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_darkMagenta(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::darkMagenta, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_darkYellow(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::darkYellow, "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_arrowCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::arrowCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_upArrowCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::upArrowCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_crossCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::crossCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_waitCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::waitCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_ibeamCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::ibeamCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_sizeVerCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::sizeVerCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_sizeHorCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::sizeHorCursor, "org.kde.qt.QCursor");
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_sizeBDiagCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::sizeBDiagCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_sizeFDiagCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::sizeFDiagCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_sizeAllCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::sizeAllCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_blankCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::blankCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_splitVCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::splitVCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_splitHCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::splitHCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_pointingHandCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::pointingHandCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_forbiddenCursor(JNIEnv * env, jclass cls)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)&Qt::forbiddenCursor, "org.kde.qt.QCursor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_qApp(JNIEnv * env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, qApp, "org.kde.qt.QApplication");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_Qt_qDebug(JNIEnv * env, jclass cls, jstring message)
{
static QCString * _qstring_message = 0;
	qDebug((const char *) QtSupport::toCharString(env, message, &_qstring_message));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_Qt_qWarning(JNIEnv * env, jclass cls, jstring message)
{
static QCString * _qstring_message = 0;
	qWarning((const char *) QtSupport::toCharString(env, message, &_qstring_message));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_Qt_qFatal(JNIEnv * env, jclass cls, jstring message)
{
static QCString * _qstring_message = 0;
	qFatal((const char *) QtSupport::toCharString(env, message, &_qstring_message));
	return;
}


