/***************************************************************************
                            kde_KPixmapSplitter.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, 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 "kde_KPixmapSplitter.h"
}

#include <kpixmapsplitter.h>

class KPixmapSplitterBridge : public KPixmapSplitter
{
public:
	KPixmapSplitterBridge() : KPixmapSplitter() {}
	~KPixmapSplitterBridge() {}
};

kde_KPixmapSplitter * kde_new_KPixmapSplitter(){
	return (kde_KPixmapSplitter *) new KPixmapSplitterBridge();
}
void kde_del_KPixmapSplitter( kde_KPixmapSplitter* p ){
	delete (KPixmapSplitterBridge*) p;
}
void kde_KPixmapSplitter_setPixmap( kde_KPixmapSplitter* instPointer,qt_QPixmap * pixmap){
	((KPixmapSplitterBridge*)instPointer)->setPixmap((QPixmap&)* (QPixmap*)pixmap);
	return;
}
qt_QPixmap * kde_KPixmapSplitter_pixmap( kde_KPixmapSplitter* instPointer){
	return (qt_QPixmap *) (const QPixmap *)&((KPixmapSplitterBridge*)instPointer)->pixmap();
}
void kde_KPixmapSplitter_setItemSize( kde_KPixmapSplitter* instPointer,qt_QSize * size){
	((KPixmapSplitterBridge*)instPointer)->setItemSize((QSize&)* (QSize*)size);
	return;
}
qt_QSize * kde_KPixmapSplitter_itemSize( kde_KPixmapSplitter* instPointer){
	QSize _s= ((KPixmapSplitterBridge*)instPointer)->itemSize();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
void kde_KPixmapSplitter_setVSpacing( kde_KPixmapSplitter* instPointer,int spacing){
	((KPixmapSplitterBridge*)instPointer)->setVSpacing((int)spacing);
	return;
}
void kde_KPixmapSplitter_setHSpacing( kde_KPixmapSplitter* instPointer,int spacing){
	((KPixmapSplitterBridge*)instPointer)->setHSpacing((int)spacing);
	return;
}
qt_QRect* kde_KPixmapSplitter_coordinates( kde_KPixmapSplitter* instPointer,int pos){
	QRect _r= ((KPixmapSplitterBridge*)instPointer)->coordinates((int)pos);
	return (qt_QRect*)new QRect(_r.left(),_r.top(),_r.width(),_r.height());
}
qt_QRect* kde_KPixmapSplitter_coordinates1( kde_KPixmapSplitter* instPointer,qt_QChar* ch){
	QRect _r= ((KPixmapSplitterBridge*)instPointer)->coordinates((QChar&)* (QChar*)ch);
	return (qt_QRect*)new QRect(_r.left(),_r.top(),_r.width(),_r.height());
}
