/***************************************************************************
                            qt_QIconViewItem.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_QIconViewItem.h"
}

#include <qiconview.h>

class QIconViewItemBridge : public QIconViewItem
{
public:
	QIconViewItemBridge(QIconView* parent) : QIconViewItem(parent) {}
	QIconViewItemBridge(QIconView* parent, QIconViewItem* after) : QIconViewItem(parent, after) {}
	QIconViewItemBridge(QIconView* parent, const QString& text) : QIconViewItem(parent, text) {}
	QIconViewItemBridge(QIconView* parent, QIconViewItem* after, const QString& text) : QIconViewItem(parent, after, text) {}
	QIconViewItemBridge(QIconView* parent, const QString& text, const QPixmap& icon) : QIconViewItem(parent, text, icon) {}
	QIconViewItemBridge(QIconView* parent, QIconViewItem* after, const QString& text, const QPixmap& icon) : QIconViewItem(parent, after, text, icon) {}
	QIconViewItemBridge(QIconView* parent, const QString& text, const QPicture& picture) : QIconViewItem(parent, text, picture) {}
	QIconViewItemBridge(QIconView* parent, QIconViewItem* after, const QString& text, const QPicture& picture) : QIconViewItem(parent, after, text, picture) {}
	~QIconViewItemBridge() {}
	void protected_removeRenameBox() {
		QIconViewItem::removeRenameBox();
		return;
	}
	void protected_calcRect(const QString& text_) {
		QIconViewItem::calcRect(text_);
		return;
	}
	void protected_paintItem(QPainter* p, const QColorGroup& cg) {
		QIconViewItem::paintItem(p, cg);
		return;
	}
	void protected_paintFocus(QPainter* p, const QColorGroup& cg) {
		QIconViewItem::paintFocus(p, cg);
		return;
	}
	void protected_dragEntered() {
		QIconViewItem::dragEntered();
		return;
	}
	void protected_dragLeft() {
		QIconViewItem::dragLeft();
		return;
	}
	void protected_setItemRect(const QRect& r) {
		QIconViewItem::setItemRect(r);
		return;
	}
	void protected_setTextRect(const QRect& r) {
		QIconViewItem::setTextRect(r);
		return;
	}
	void protected_setPixmapRect(const QRect& r) {
		QIconViewItem::setPixmapRect(r);
		return;
	}
	void protected_calcTmpText() {
		QIconViewItem::calcTmpText();
		return;
	}
};

qt_QIconViewItem * qt_new_QIconViewItem(qt_QIconView* parent){
	return (qt_QIconViewItem *) new QIconViewItemBridge((QIconView*)parent);
}
qt_QIconViewItem * qt_new_QIconViewItem1(qt_QIconView* parent, qt_QIconViewItem* after){
	return (qt_QIconViewItem *) new QIconViewItemBridge((QIconView*)parent, (QIconViewItem*)after);
}
qt_QIconViewItem * qt_new_QIconViewItem2(qt_QIconView* parent, qt_QString * text){
	return (qt_QIconViewItem *) new QIconViewItemBridge((QIconView*)parent, (QString&)* (QString*)text);
}
qt_QIconViewItem * qt_new_QIconViewItem3(qt_QIconView* parent, qt_QIconViewItem* after, qt_QString * text){
	return (qt_QIconViewItem *) new QIconViewItemBridge((QIconView*)parent, (QIconViewItem*)after, (QString&)* (QString*)text);
}
qt_QIconViewItem * qt_new_QIconViewItem4(qt_QIconView* parent, qt_QString * text, qt_QPixmap * icon){
	return (qt_QIconViewItem *) new QIconViewItemBridge((QIconView*)parent, (QString&)* (QString*)text, (QPixmap&)* (QPixmap*)icon);
}
qt_QIconViewItem * qt_new_QIconViewItem5(qt_QIconView* parent, qt_QIconViewItem* after, qt_QString * text, qt_QPixmap * icon){
	return (qt_QIconViewItem *) new QIconViewItemBridge((QIconView*)parent, (QIconViewItem*)after, (QString&)* (QString*)text, (QPixmap&)* (QPixmap*)icon);
}
qt_QIconViewItem * qt_new_QIconViewItem6(qt_QIconView* parent, qt_QString * text, qt_QPicture * picture){
	return (qt_QIconViewItem *) new QIconViewItemBridge((QIconView*)parent, (QString&)* (QString*)text, (QPicture&)* (QPicture*)picture);
}
qt_QIconViewItem * qt_new_QIconViewItem7(qt_QIconView* parent, qt_QIconViewItem* after, qt_QString * text, qt_QPicture * picture){
	return (qt_QIconViewItem *) new QIconViewItemBridge((QIconView*)parent, (QIconViewItem*)after, (QString&)* (QString*)text, (QPicture&)* (QPicture*)picture);
}
void qt_del_QIconViewItem( qt_QIconViewItem* p ){
	delete (QIconViewItemBridge*) p;
}
void qt_QIconViewItem_setRenameEnabled( qt_QIconViewItem* instPointer,int allow){
	((QIconViewItemBridge*)instPointer)->setRenameEnabled((bool)allow);
	return;
}
void qt_QIconViewItem_setDragEnabled( qt_QIconViewItem* instPointer,int allow){
	((QIconViewItemBridge*)instPointer)->setDragEnabled((bool)allow);
	return;
}
void qt_QIconViewItem_setDropEnabled( qt_QIconViewItem* instPointer,int allow){
	((QIconViewItemBridge*)instPointer)->setDropEnabled((bool)allow);
	return;
}
qt_QString * qt_QIconViewItem_text( qt_QIconViewItem* instPointer){
	return (qt_QString *)new QString(((QIconViewItemBridge*)instPointer)->text());
}
qt_QPixmap * qt_QIconViewItem_pixmap( qt_QIconViewItem* instPointer){
	return (qt_QPixmap *) ((QIconViewItemBridge*)instPointer)->pixmap();
}
qt_QPicture* qt_QIconViewItem_picture( qt_QIconViewItem* instPointer){
	return (qt_QPicture*) ((QIconViewItemBridge*)instPointer)->picture();
}
qt_QString * qt_QIconViewItem_key( qt_QIconViewItem* instPointer){
	return (qt_QString *)new QString(((QIconViewItemBridge*)instPointer)->key());
}
int qt_QIconViewItem_renameEnabled( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->renameEnabled();
}
int qt_QIconViewItem_dragEnabled( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->dragEnabled();
}
int qt_QIconViewItem_dropEnabled( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->dropEnabled();
}
qt_QIconView* qt_QIconViewItem_iconView( qt_QIconViewItem* instPointer){
	return (qt_QIconView*) ((QIconViewItemBridge*)instPointer)->iconView();
}
qt_QIconViewItem* qt_QIconViewItem_prevItem( qt_QIconViewItem* instPointer){
	return (qt_QIconViewItem*) ((QIconViewItemBridge*)instPointer)->prevItem();
}
qt_QIconViewItem* qt_QIconViewItem_nextItem( qt_QIconViewItem* instPointer){
	return (qt_QIconViewItem*) ((QIconViewItemBridge*)instPointer)->nextItem();
}
int qt_QIconViewItem_index( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->index();
}
void qt_QIconViewItem_setSelected( qt_QIconViewItem* instPointer,int s, int cb){
	((QIconViewItemBridge*)instPointer)->setSelected((bool)s, (bool)cb);
	return;
}
void qt_QIconViewItem_setSelected1( qt_QIconViewItem* instPointer,int s){
	((QIconViewItemBridge*)instPointer)->setSelected((bool)s);
	return;
}
void qt_QIconViewItem_setSelectable( qt_QIconViewItem* instPointer,int s){
	((QIconViewItemBridge*)instPointer)->setSelectable((bool)s);
	return;
}
int qt_QIconViewItem_isSelected( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->isSelected();
}
int qt_QIconViewItem_isSelectable( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->isSelectable();
}
void qt_QIconViewItem_repaint( qt_QIconViewItem* instPointer){
	((QIconViewItemBridge*)instPointer)->repaint();
	return;
}
int qt_QIconViewItem_move( qt_QIconViewItem* instPointer,int x, int y){
	return (int) ((QIconViewItemBridge*)instPointer)->move((int)x, (int)y);
}
void qt_QIconViewItem_moveBy( qt_QIconViewItem* instPointer,int dx, int dy){
	((QIconViewItemBridge*)instPointer)->moveBy((int)dx, (int)dy);
	return;
}
int qt_QIconViewItem_move1( qt_QIconViewItem* instPointer,qt_QPoint* pnt){
	return (int) ((QIconViewItemBridge*)instPointer)->move((QPoint&)* (QPoint*)pnt);
}
void qt_QIconViewItem_moveBy1( qt_QIconViewItem* instPointer,qt_QPoint* pnt){
	((QIconViewItemBridge*)instPointer)->moveBy((QPoint&)* (QPoint*)pnt);
	return;
}
qt_QRect* qt_QIconViewItem_rect( qt_QIconViewItem* instPointer){
	QRect _r= ((QIconViewItemBridge*)instPointer)->rect();
	return (qt_QRect*)new QRect(_r.left(),_r.top(),_r.width(),_r.height());
}
int qt_QIconViewItem_x( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->x();
}
int qt_QIconViewItem_y( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->y();
}
int qt_QIconViewItem_width( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->width();
}
int qt_QIconViewItem_height( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->height();
}
qt_QSize * qt_QIconViewItem_size( qt_QIconViewItem* instPointer){
	QSize _s= ((QIconViewItemBridge*)instPointer)->size();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
qt_QPoint* qt_QIconViewItem_pos( qt_QIconViewItem* instPointer){
	QPoint _p= ((QIconViewItemBridge*)instPointer)->pos();
	return (qt_QPoint*)new QPoint(_p.x(),_p.y());
}
qt_QRect* qt_QIconViewItem_textRect( qt_QIconViewItem* instPointer,int relative){
	QRect _r= ((QIconViewItemBridge*)instPointer)->textRect((bool)relative);
	return (qt_QRect*)new QRect(_r.left(),_r.top(),_r.width(),_r.height());
}
qt_QRect* qt_QIconViewItem_pixmapRect( qt_QIconViewItem* instPointer,int relative){
	QRect _r= ((QIconViewItemBridge*)instPointer)->pixmapRect((bool)relative);
	return (qt_QRect*)new QRect(_r.left(),_r.top(),_r.width(),_r.height());
}
int qt_QIconViewItem_contains( qt_QIconViewItem* instPointer,qt_QPoint* pnt){
	return (int) ((QIconViewItemBridge*)instPointer)->contains((QPoint&)* (QPoint*)pnt);
}
int qt_QIconViewItem_intersects( qt_QIconViewItem* instPointer,qt_QRect* r){
	return (int) ((QIconViewItemBridge*)instPointer)->intersects((QRect&)* (QRect*)r);
}
int qt_QIconViewItem_acceptDrop( qt_QIconViewItem* instPointer,qt_QMimeSource* mime){
	return (int) ((QIconViewItemBridge*)instPointer)->acceptDrop((QMimeSource*)mime);
}
void qt_QIconViewItem_rename( qt_QIconViewItem* instPointer){
	((QIconViewItemBridge*)instPointer)->rename();
	return;
}
int qt_QIconViewItem_compare( qt_QIconViewItem* instPointer,qt_QIconViewItem* i){
	return (int) ((QIconViewItemBridge*)instPointer)->compare((QIconViewItem*)i);
}
void qt_QIconViewItem_setText( qt_QIconViewItem* instPointer,qt_QString * text){
	((QIconViewItemBridge*)instPointer)->setText((QString&)* (QString*)text);
	return;
}
void qt_QIconViewItem_setPixmap( qt_QIconViewItem* instPointer,qt_QPixmap * icon){
	((QIconViewItemBridge*)instPointer)->setPixmap((QPixmap&)* (QPixmap*)icon);
	return;
}
void qt_QIconViewItem_setPicture( qt_QIconViewItem* instPointer,qt_QPicture * icon){
	((QIconViewItemBridge*)instPointer)->setPicture((QPicture&)* (QPicture*)icon);
	return;
}
void qt_QIconViewItem_setText1( qt_QIconViewItem* instPointer,qt_QString * text, int recalc, int redraw){
	((QIconViewItemBridge*)instPointer)->setText((QString&)* (QString*)text, (bool)recalc, (bool)redraw);
	return;
}
void qt_QIconViewItem_setPixmap1( qt_QIconViewItem* instPointer,qt_QPixmap * icon, int recalc, int redraw){
	((QIconViewItemBridge*)instPointer)->setPixmap((QPixmap&)* (QPixmap*)icon, (bool)recalc, (bool)redraw);
	return;
}
void qt_QIconViewItem_setKey( qt_QIconViewItem* instPointer,qt_QString * k){
	((QIconViewItemBridge*)instPointer)->setKey((QString&)* (QString*)k);
	return;
}
int qt_QIconViewItem_rtti( qt_QIconViewItem* instPointer){
	return (int) ((QIconViewItemBridge*)instPointer)->rtti();
}
void qt_QIconViewItem_removeRenameBox( qt_QIconViewItem* instPointer){
	((QIconViewItemBridge*)instPointer)->protected_removeRenameBox();
	return;
}
void qt_QIconViewItem_calcRect( qt_QIconViewItem* instPointer,qt_QString * text_){
	((QIconViewItemBridge*)instPointer)->protected_calcRect((QString&)* (QString*)text_);
	return;
}
void qt_QIconViewItem_paintItem( qt_QIconViewItem* instPointer,qt_QPainter * p, qt_QColorGroup * cg){
	((QIconViewItemBridge*)instPointer)->protected_paintItem((QPainter*)p, (QColorGroup&)* (QColorGroup*)cg);
	return;
}
void qt_QIconViewItem_paintFocus( qt_QIconViewItem* instPointer,qt_QPainter * p, qt_QColorGroup * cg){
	((QIconViewItemBridge*)instPointer)->protected_paintFocus((QPainter*)p, (QColorGroup&)* (QColorGroup*)cg);
	return;
}
void qt_QIconViewItem_dragEntered( qt_QIconViewItem* instPointer){
	((QIconViewItemBridge*)instPointer)->protected_dragEntered();
	return;
}
void qt_QIconViewItem_dragLeft( qt_QIconViewItem* instPointer){
	((QIconViewItemBridge*)instPointer)->protected_dragLeft();
	return;
}
void qt_QIconViewItem_setItemRect( qt_QIconViewItem* instPointer,qt_QRect* r){
	((QIconViewItemBridge*)instPointer)->protected_setItemRect((QRect&)* (QRect*)r);
	return;
}
void qt_QIconViewItem_setTextRect( qt_QIconViewItem* instPointer,qt_QRect* r){
	((QIconViewItemBridge*)instPointer)->protected_setTextRect((QRect&)* (QRect*)r);
	return;
}
void qt_QIconViewItem_setPixmapRect( qt_QIconViewItem* instPointer,qt_QRect* r){
	((QIconViewItemBridge*)instPointer)->protected_setPixmapRect((QRect&)* (QRect*)r);
	return;
}
void qt_QIconViewItem_calcTmpText( qt_QIconViewItem* instPointer){
	((QIconViewItemBridge*)instPointer)->protected_calcTmpText();
	return;
}
