//Auto-generated by kalyptus. DO NOT EDIT.
#include <qdatetime.h>
#include <qiodevice.h>
#include <qurl.h>
#include <qstring.h>
#include <qurloperator.h>
#include <qurlinfo.h>

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

class QUrlInfoJBridge : public QUrlInfo
{
public:
	QUrlInfoJBridge() : QUrlInfo() {};
	QUrlInfoJBridge(const QUrlOperator& arg1,const QString& arg2) : QUrlInfo(arg1,arg2) {};
	QUrlInfoJBridge(const QUrlInfo& arg1) : QUrlInfo(arg1) {};
	QUrlInfoJBridge(const QString& arg1,int arg2,const QString& arg3,const QString& arg4,QIODevice::Offset arg5,const QDateTime& arg6,const QDateTime& arg7,bool arg8,bool arg9,bool arg10,bool arg11,bool arg12,bool arg13) : QUrlInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) {};
	QUrlInfoJBridge(const QUrl& arg1,int arg2,const QString& arg3,const QString& arg4,QIODevice::Offset arg5,const QDateTime& arg6,const QDateTime& arg7,bool arg8,bool arg9,bool arg10,bool arg11,bool arg12,bool arg13) : QUrlInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) {};
	~QUrlInfoJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QUrlInfo_finalize(env, obj);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_equal(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy)
{
	(void) cls;
	jboolean xret = (jboolean) QUrlInfoJBridge::equal((const QUrlInfo&)*(const QUrlInfo*) QtSupport::getQt(env, i1), (const QUrlInfo&)*(const QUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (QUrlInfo*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_greaterThan(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy)
{
	(void) cls;
	jboolean xret = (jboolean) QUrlInfoJBridge::greaterThan((const QUrlInfo&)*(const QUrlInfo*) QtSupport::getQt(env, i1), (const QUrlInfo&)*(const QUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlInfo_group(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QUrlInfo*) QtSupport::getQt(env, obj))->group();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_isDir(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QUrlInfo*) QtSupport::getQt(env, obj))->isDir();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_isExecutable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QUrlInfo*) QtSupport::getQt(env, obj))->isExecutable();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_isFile(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QUrlInfo*) QtSupport::getQt(env, obj))->isFile();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_isReadable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QUrlInfo*) QtSupport::getQt(env, obj))->isReadable();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_isSymLink(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QUrlInfo*) QtSupport::getQt(env, obj))->isSymLink();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_isValid(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QUrlInfo*) QtSupport::getQt(env, obj))->isValid();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_isWritable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QUrlInfo*) QtSupport::getQt(env, obj))->isWritable();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlInfo_lastModified(JNIEnv* env, jobject obj)
{
	QDateTime  _qdate;
	_qdate = ((QUrlInfo*) QtSupport::getQt(env, obj))->lastModified();
	return (jobject) QtSupport::fromQDateTime(env, (QDateTime*) &_qdate);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlInfo_lastRead(JNIEnv* env, jobject obj)
{
	QDateTime  _qdate;
	_qdate = ((QUrlInfo*) QtSupport::getQt(env, obj))->lastRead();
	return (jobject) QtSupport::fromQDateTime(env, (QDateTime*) &_qdate);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_lessThan(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy)
{
	(void) cls;
	jboolean xret = (jboolean) QUrlInfoJBridge::lessThan((const QUrlInfo&)*(const QUrlInfo*) QtSupport::getQt(env, i1), (const QUrlInfo&)*(const QUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlInfo_name(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QUrlInfo*) QtSupport::getQt(env, obj))->name();
	return QtSupport::fromQString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_newQUrlInfo__Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ(JNIEnv* env, jobject obj, jstring name, jint permissions, jstring owner, jstring group, jlong size, jobject lastModified, jobject lastRead, jboolean isDir, jboolean isFile, jboolean isSymLink, jboolean isWritable, jboolean isReadable, jboolean isExecutable)
{
static QString* _qstring_name = 0;
static QString* _qstring_owner = 0;
static QString* _qstring_group = 0;
static QDateTime* _qdate_lastModified = 0;
static QDateTime* _qdate_lastRead = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QUrlInfoJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (int) permissions, (const QString&)*(QString*) QtSupport::toQString(env, owner, &_qstring_owner), (const QString&)*(QString*) QtSupport::toQString(env, group, &_qstring_group), (QIODevice::Offset) size, (const QDateTime&)*(QDateTime*) QtSupport::toQDateTime(env, lastModified, &_qdate_lastModified), (const QDateTime&)*(QDateTime*) QtSupport::toQDateTime(env, lastRead, &_qdate_lastRead), (bool) isDir, (bool) isFile, (bool) isSymLink, (bool) isWritable, (bool) isReadable, (bool) isExecutable));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_newQUrlInfo__Lorg_kde_qt_QUrlInfo_2(JNIEnv* env, jobject obj, jobject ui)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QUrlInfoJBridge((const QUrlInfo&)*(const QUrlInfo*) QtSupport::getQt(env, ui)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_newQUrlInfo__Lorg_kde_qt_QUrlInterface_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ(JNIEnv* env, jobject obj, jobject url, jint permissions, jstring owner, jstring group, jlong size, jobject lastModified, jobject lastRead, jboolean isDir, jboolean isFile, jboolean isSymLink, jboolean isWritable, jboolean isReadable, jboolean isExecutable)
{
static QString* _qstring_owner = 0;
static QString* _qstring_group = 0;
static QDateTime* _qdate_lastModified = 0;
static QDateTime* _qdate_lastRead = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QUrlInfoJBridge((const QUrl&)*(const QUrl*) QtSupport::getQt(env, url), (int) permissions, (const QString&)*(QString*) QtSupport::toQString(env, owner, &_qstring_owner), (const QString&)*(QString*) QtSupport::toQString(env, group, &_qstring_group), (QIODevice::Offset) size, (const QDateTime&)*(QDateTime*) QtSupport::toQDateTime(env, lastModified, &_qdate_lastModified), (const QDateTime&)*(QDateTime*) QtSupport::toQDateTime(env, lastRead, &_qdate_lastRead), (bool) isDir, (bool) isFile, (bool) isSymLink, (bool) isWritable, (bool) isReadable, (bool) isExecutable));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_newQUrlInfo__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject path, jstring file)
{
static QString* _qstring_file = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QUrlInfoJBridge((const QUrlOperator&)*(const QUrlOperator*) QtSupport::getQt(env, path), (const QString&)*(QString*) QtSupport::toQString(env, file, &_qstring_file)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlInfo_op_1equals(JNIEnv* env, jobject obj, jobject i)
{
	jboolean xret = (jboolean) ((QUrlInfo*) QtSupport::getQt(env, obj))->operator==((const QUrlInfo&)*(const QUrlInfo*) QtSupport::getQt(env, i));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlInfo_owner(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QUrlInfo*) QtSupport::getQt(env, obj))->owner();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QUrlInfo_permissions(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QUrlInfo*) QtSupport::getQt(env, obj))->permissions();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setDir(JNIEnv* env, jobject obj, jboolean b)
{
	((QUrlInfo*) QtSupport::getQt(env, obj))->setDir((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setFile(JNIEnv* env, jobject obj, jboolean b)
{
	((QUrlInfo*) QtSupport::getQt(env, obj))->setFile((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setGroup(JNIEnv* env, jobject obj, jstring s)
{
static QString* _qstring_s = 0;
	((QUrlInfo*) QtSupport::getQt(env, obj))->setGroup((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setLastModified(JNIEnv* env, jobject obj, jobject dt)
{
static QDateTime* _qdate_dt = 0;
	((QUrlInfo*) QtSupport::getQt(env, obj))->setLastModified((const QDateTime&)*(QDateTime*) QtSupport::toQDateTime(env, dt, &_qdate_dt));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setName(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	((QUrlInfo*) QtSupport::getQt(env, obj))->setName((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setOwner(JNIEnv* env, jobject obj, jstring s)
{
static QString* _qstring_s = 0;
	((QUrlInfo*) QtSupport::getQt(env, obj))->setOwner((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setPermissions(JNIEnv* env, jobject obj, jint p)
{
	((QUrlInfo*) QtSupport::getQt(env, obj))->setPermissions((int) p);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setReadable(JNIEnv* env, jobject obj, jboolean b)
{
	((QUrlInfo*) QtSupport::getQt(env, obj))->setReadable((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setSize(JNIEnv* env, jobject obj, jlong size)
{
	((QUrlInfo*) QtSupport::getQt(env, obj))->setSize((QIODevice::Offset) size);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setSymLink(JNIEnv* env, jobject obj, jboolean b)
{
	((QUrlInfo*) QtSupport::getQt(env, obj))->setSymLink((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlInfo_setWritable(JNIEnv* env, jobject obj, jboolean b)
{
	((QUrlInfo*) QtSupport::getQt(env, obj))->setWritable((bool) b);
	return;
}

JNIEXPORT jlong JNICALL
Java_org_kde_qt_QUrlInfo_size(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((QUrlInfo*) QtSupport::getQt(env, obj))->size();
	return xret;
}

