//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqstring.h>
#include <tqstylesheet.h>
#include <tqcolor.h>

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

class TQStyleSheetItemJBridge : public TQStyleSheetItem
{
public:
	TQStyleSheetItemJBridge(TQStyleSheet* arg1,const TQString& arg2) : TQStyleSheetItem(arg1,arg2) {};
	TQStyleSheetItemJBridge(const TQStyleSheetItem& arg1) : TQStyleSheetItem(arg1) {};
	~TQStyleSheetItemJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_alignment(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->alignment();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_allowedInContext(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->allowedInContext((const TQStyleSheetItem*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_color(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQStyleSheetItem*) QtSupport::getQt(env, obj))->color()), "org.trinitydesktop.qt.TQColor", true);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_contexts(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->contexts();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_definesFontItalic(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->definesFontItalic();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_definesFontStrikeOut(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->definesFontStrikeOut();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_definesFontUnderline(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->definesFontUnderline();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_displayMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->displayMode();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QStyleSheetItem_finalize(env, obj);
	return;
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_fontFamily(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontFamily();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_fontItalic(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontItalic();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_fontSize(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontSize();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_fontStrikeOut(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontStrikeOut();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_fontUnderline(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontUnderline();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_fontWeight(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontWeight();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_isAnchor(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->isAnchor();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_lineSpacing(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->lineSpacing();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_listStyle(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->listStyle();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_logicalFontSizeStep(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->logicalFontSizeStep();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_logicalFontSize(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->logicalFontSize();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_margin(JNIEnv* env, jobject obj, jint m)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->margin((TQStyleSheetItem::Margin) m);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_name(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->name();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_trinitydesktop_qt_QStyleSheetItem_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQStyleSheetItemJBridge((const TQStyleSheetItem&)*(const TQStyleSheetItem*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_trinitydesktop_qt_QStyleSheet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQStyleSheetItemJBridge((TQStyleSheet*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_numberOfColumns(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->numberOfColumns();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_selfNesting(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->selfNesting();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setAlignment(JNIEnv* env, jobject obj, jint f)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setAlignment((int) f);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setAnchor(JNIEnv* env, jobject obj, jboolean anc)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setAnchor((bool) anc);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setColor(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setContexts(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setContexts((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setDisplayMode(JNIEnv* env, jobject obj, jint m)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setDisplayMode((TQStyleSheetItem::DisplayMode) m);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setFontFamily(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontFamily((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setFontItalic(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontItalic((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setFontSize(JNIEnv* env, jobject obj, jint s)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontSize((int) s);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setFontStrikeOut(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontStrikeOut((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setFontUnderline(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontUnderline((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setFontWeight(JNIEnv* env, jobject obj, jint w)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontWeight((int) w);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setLineSpacing(JNIEnv* env, jobject obj, jint ls)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setLineSpacing((int) ls);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setListStyle(JNIEnv* env, jobject obj, jint arg1)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setListStyle((TQStyleSheetItem::ListStyle) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setLogicalFontSizeStep(JNIEnv* env, jobject obj, jint s)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setLogicalFontSizeStep((int) s);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setLogicalFontSize(JNIEnv* env, jobject obj, jint s)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setLogicalFontSize((int) s);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setMargin(JNIEnv* env, jobject obj, jint arg1, jint arg2)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setMargin((TQStyleSheetItem::Margin) arg1, (int) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setNumberOfColumns(JNIEnv* env, jobject obj, jint ncols)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setNumberOfColumns((int) ncols);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setSelfNesting(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setSelfNesting((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setVerticalAlignment(JNIEnv* env, jobject obj, jint valign)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setVerticalAlignment((TQStyleSheetItem::VerticalAlignment) valign);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_setWhiteSpaceMode(JNIEnv* env, jobject obj, jint m)
{
	((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setWhiteSpaceMode((TQStyleSheetItem::WhiteSpaceMode) m);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_styleSheet(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleSheetItem*) QtSupport::getQt(env, obj))->styleSheet(), "org.trinitydesktop.qt.TQStyleSheet");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_verticalAlignment(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->verticalAlignment();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleSheetItem_whiteSpaceMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->whiteSpaceMode();
	return xret;
}

