/***************************************************************************
                            qt_QStyleSheetItem.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

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

extern "C" {
#include "qt_QStyleSheetItem.h"
}

#include <qstylesheet.h>
#include <qcolor.h>

class QStyleSheetItemBridge : public QStyleSheetItem
{
public:
	QStyleSheetItemBridge(QStyleSheet* parent, const QString& name) : QStyleSheetItem(parent, name) {}
	QStyleSheetItemBridge(const QStyleSheetItem& arg1) : QStyleSheetItem(arg1) {}
	~QStyleSheetItemBridge() {}
};

qt_QStyleSheetItem * qt_new_QStyleSheetItem(qt_QStyleSheet* parent, qt_QString * name){
	return (qt_QStyleSheetItem *) new QStyleSheetItemBridge((QStyleSheet*)parent, (QString&)* (QString*)name);
}
qt_QStyleSheetItem * qt_new_QStyleSheetItem1(qt_QStyleSheetItem* arg1){
	return (qt_QStyleSheetItem *) new QStyleSheetItemBridge((QStyleSheetItem&)* (QStyleSheetItem*)arg1);
}
void qt_del_QStyleSheetItem( qt_QStyleSheetItem* p ){
	delete (QStyleSheetItemBridge*) p;
}
qt_QString * qt_QStyleSheetItem_name( qt_QStyleSheetItem* instPointer){
	return (qt_QString *)new QString(((QStyleSheetItemBridge*)instPointer)->name());
}
qt_QStyleSheet* qt_QStyleSheetItem_styleSheet( qt_QStyleSheetItem* instPointer){
	return (qt_QStyleSheet*) ((QStyleSheetItemBridge*)instPointer)->styleSheet();
}
qt_QStyleSheet* qt_QStyleSheetItem_styleSheet1( qt_QStyleSheetItem* instPointer){
	return (qt_QStyleSheet*) ((QStyleSheetItemBridge*)instPointer)->styleSheet();
}
int qt_QStyleSheetItem_displayMode( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->displayMode();
}
void qt_QStyleSheetItem_setDisplayMode( qt_QStyleSheetItem* instPointer,int m){
	((QStyleSheetItemBridge*)instPointer)->setDisplayMode((QStyleSheetItem::DisplayMode)m);
	return;
}
int qt_QStyleSheetItem_alignment( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->alignment();
}
void qt_QStyleSheetItem_setAlignment( qt_QStyleSheetItem* instPointer,int f){
	((QStyleSheetItemBridge*)instPointer)->setAlignment((int)f);
	return;
}
int qt_QStyleSheetItem_verticalAlignment( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->verticalAlignment();
}
void qt_QStyleSheetItem_setVerticalAlignment( qt_QStyleSheetItem* instPointer,int valign){
	((QStyleSheetItemBridge*)instPointer)->setVerticalAlignment((QStyleSheetItem::VerticalAlignment)valign);
	return;
}
int qt_QStyleSheetItem_fontWeight( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->fontWeight();
}
void qt_QStyleSheetItem_setFontWeight( qt_QStyleSheetItem* instPointer,int w){
	((QStyleSheetItemBridge*)instPointer)->setFontWeight((int)w);
	return;
}
int qt_QStyleSheetItem_logicalFontSize( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->logicalFontSize();
}
void qt_QStyleSheetItem_setLogicalFontSize( qt_QStyleSheetItem* instPointer,int s){
	((QStyleSheetItemBridge*)instPointer)->setLogicalFontSize((int)s);
	return;
}
int qt_QStyleSheetItem_logicalFontSizeStep( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->logicalFontSizeStep();
}
void qt_QStyleSheetItem_setLogicalFontSizeStep( qt_QStyleSheetItem* instPointer,int s){
	((QStyleSheetItemBridge*)instPointer)->setLogicalFontSizeStep((int)s);
	return;
}
int qt_QStyleSheetItem_fontSize( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->fontSize();
}
void qt_QStyleSheetItem_setFontSize( qt_QStyleSheetItem* instPointer,int s){
	((QStyleSheetItemBridge*)instPointer)->setFontSize((int)s);
	return;
}
qt_QString * qt_QStyleSheetItem_fontFamily( qt_QStyleSheetItem* instPointer){
	return (qt_QString *)new QString(((QStyleSheetItemBridge*)instPointer)->fontFamily());
}
void qt_QStyleSheetItem_setFontFamily( qt_QStyleSheetItem* instPointer,qt_QString * arg1){
	((QStyleSheetItemBridge*)instPointer)->setFontFamily((QString&)* (QString*)arg1);
	return;
}
int qt_QStyleSheetItem_numberOfColumns( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->numberOfColumns();
}
void qt_QStyleSheetItem_setNumberOfColumns( qt_QStyleSheetItem* instPointer,int ncols){
	((QStyleSheetItemBridge*)instPointer)->setNumberOfColumns((int)ncols);
	return;
}
qt_QColor * qt_QStyleSheetItem_color( qt_QStyleSheetItem* instPointer){
	return (qt_QColor *)new QColor(((QStyleSheetItemBridge*)instPointer)->color());
}
void qt_QStyleSheetItem_setColor( qt_QStyleSheetItem* instPointer,qt_QColor * arg1){
	((QStyleSheetItemBridge*)instPointer)->setColor((QColor&)* (QColor*)arg1);
	return;
}
int qt_QStyleSheetItem_fontItalic( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->fontItalic();
}
void qt_QStyleSheetItem_setFontItalic( qt_QStyleSheetItem* instPointer,int arg1){
	((QStyleSheetItemBridge*)instPointer)->setFontItalic((bool)arg1);
	return;
}
int qt_QStyleSheetItem_definesFontItalic( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->definesFontItalic();
}
int qt_QStyleSheetItem_fontUnderline( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->fontUnderline();
}
void qt_QStyleSheetItem_setFontUnderline( qt_QStyleSheetItem* instPointer,int arg1){
	((QStyleSheetItemBridge*)instPointer)->setFontUnderline((bool)arg1);
	return;
}
int qt_QStyleSheetItem_definesFontUnderline( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->definesFontUnderline();
}
int qt_QStyleSheetItem_isAnchor( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->isAnchor();
}
void qt_QStyleSheetItem_setAnchor( qt_QStyleSheetItem* instPointer,int anc){
	((QStyleSheetItemBridge*)instPointer)->setAnchor((bool)anc);
	return;
}
int qt_QStyleSheetItem_whiteSpaceMode( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->whiteSpaceMode();
}
void qt_QStyleSheetItem_setWhiteSpaceMode( qt_QStyleSheetItem* instPointer,int m){
	((QStyleSheetItemBridge*)instPointer)->setWhiteSpaceMode((QStyleSheetItem::WhiteSpaceMode)m);
	return;
}
int qt_QStyleSheetItem_margin( qt_QStyleSheetItem* instPointer,int m){
	return (int) ((QStyleSheetItemBridge*)instPointer)->margin((QStyleSheetItem::Margin)m);
}
void qt_QStyleSheetItem_setMargin( qt_QStyleSheetItem* instPointer,int arg1, int arg2){
	((QStyleSheetItemBridge*)instPointer)->setMargin((QStyleSheetItem::Margin)arg1, (int)arg2);
	return;
}
int qt_QStyleSheetItem_listStyle( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->listStyle();
}
void qt_QStyleSheetItem_setListStyle( qt_QStyleSheetItem* instPointer,int arg1){
	((QStyleSheetItemBridge*)instPointer)->setListStyle((QStyleSheetItem::ListStyle)arg1);
	return;
}
qt_QString * qt_QStyleSheetItem_contexts( qt_QStyleSheetItem* instPointer){
	return (qt_QString *)new QString(((QStyleSheetItemBridge*)instPointer)->contexts());
}
void qt_QStyleSheetItem_setContexts( qt_QStyleSheetItem* instPointer,qt_QString * arg1){
	((QStyleSheetItemBridge*)instPointer)->setContexts((QString&)* (QString*)arg1);
	return;
}
int qt_QStyleSheetItem_allowedInContext( qt_QStyleSheetItem* instPointer,qt_QStyleSheetItem* arg1){
	return (int) ((QStyleSheetItemBridge*)instPointer)->allowedInContext((QStyleSheetItem*)arg1);
}
int qt_QStyleSheetItem_selfNesting( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->selfNesting();
}
void qt_QStyleSheetItem_setSelfNesting( qt_QStyleSheetItem* instPointer,int arg1){
	((QStyleSheetItemBridge*)instPointer)->setSelfNesting((bool)arg1);
	return;
}
void qt_QStyleSheetItem_setLineSpacing( qt_QStyleSheetItem* instPointer,int ls){
	((QStyleSheetItemBridge*)instPointer)->setLineSpacing((int)ls);
	return;
}
int qt_QStyleSheetItem_lineSpacing( qt_QStyleSheetItem* instPointer){
	return (int) ((QStyleSheetItemBridge*)instPointer)->lineSpacing();
}
