/***************************************************************************
                            QStyleFactory.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 <qstylefactory.h>
#include <qstring.h>
#include <qcstring.h>

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyleFactory_keys(JNIEnv *env, jclass obj)
{
	QStringList  _qlist;
	_qlist = QStyleFactory::keys();
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList *) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyleFactory_create(JNIEnv *env, jclass obj, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)QStyleFactory::create((QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1)), "org.kde.qt.QStyle");
}

