/***************************************************************************
                            kde_KIconEffect.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_KIconEffect.h"
}

#include <kiconeffect.h>

class KIconEffectBridge : public KIconEffect
{
public:
	KIconEffectBridge() : KIconEffect() {}
	~KIconEffectBridge() {}
};

kde_KIconEffect * kde_new_KIconEffect(){
	return (kde_KIconEffect *) new KIconEffectBridge();
}
void kde_del_KIconEffect( kde_KIconEffect* p ){
	delete (KIconEffectBridge*) p;
}
void kde_KIconEffect_init( kde_KIconEffect* instPointer){
	((KIconEffectBridge*)instPointer)->init();
	return;
}
int kde_KIconEffect_hasEffect( kde_KIconEffect* instPointer,int group, int state){
	return (int) ((KIconEffectBridge*)instPointer)->hasEffect((int)group, (int)state);
}
qt_QString * kde_KIconEffect_fingerprint( kde_KIconEffect* instPointer,int group, int state){
	return (qt_QString *)new QString(((KIconEffectBridge*)instPointer)->fingerprint((int)group, (int)state));
}
qt_QImage * kde_KIconEffect_apply( kde_KIconEffect* instPointer,qt_QImage * src, int group, int state){
	return (qt_QImage *)new QImage(((KIconEffectBridge*)instPointer)->apply((QImage)* (QImage*)src, (int)group, (int)state));
}
qt_QImage * kde_KIconEffect_apply1( kde_KIconEffect* instPointer,qt_QImage * src, int effect, float value, qt_QColor * rgb, int trans){
	return (qt_QImage *)new QImage(((KIconEffectBridge*)instPointer)->apply((QImage)* (QImage*)src, (int)effect, (float)value, (QColor)* (QColor*)rgb, (bool)trans));
}
qt_QPixmap * kde_KIconEffect_apply2( kde_KIconEffect* instPointer,qt_QPixmap * src, int group, int state){
	return (qt_QPixmap *)new QPixmap(((KIconEffectBridge*)instPointer)->apply((QPixmap)* (QPixmap*)src, (int)group, (int)state));
}
qt_QPixmap * kde_KIconEffect_apply3( kde_KIconEffect* instPointer,qt_QPixmap * src, int effect, float value, qt_QColor * rgb, int trans){
	return (qt_QPixmap *)new QPixmap(((KIconEffectBridge*)instPointer)->apply((QPixmap)* (QPixmap*)src, (int)effect, (float)value, (QColor)* (QColor*)rgb, (bool)trans));
}
qt_QImage * kde_KIconEffect_doublePixels( kde_KIconEffect* instPointer,qt_QImage * src){
	return (qt_QImage *)new QImage(((KIconEffectBridge*)instPointer)->doublePixels((QImage)* (QImage*)src));
}
void kde_KIconEffect_visualActivate( qt_QWidget * arg1, qt_QRect* arg2){
	KIconEffectBridge::visualActivate((QWidget*)arg1, (QRect)* (QRect*)arg2);
	return;
}
void kde_KIconEffect_toGray( qt_QImage * image, float value){
	KIconEffectBridge::toGray((QImage&)* (QImage*)image, (float)value);
	return;
}
void kde_KIconEffect_colorize( qt_QImage * image, qt_QColor * col, float value){
	KIconEffectBridge::colorize((QImage&)* (QImage*)image, (QColor&)* (QColor*)col, (float)value);
	return;
}
void kde_KIconEffect_deSaturate( qt_QImage * image, float value){
	KIconEffectBridge::deSaturate((QImage&)* (QImage*)image, (float)value);
	return;
}
void kde_KIconEffect_toGamma( qt_QImage * image, float value){
	KIconEffectBridge::toGamma((QImage&)* (QImage*)image, (float)value);
	return;
}
void kde_KIconEffect_semiTransparent( qt_QImage * image){
	KIconEffectBridge::semiTransparent((QImage&)* (QImage*)image);
	return;
}
void kde_KIconEffect_semiTransparent1( qt_QPixmap * pixmap){
	KIconEffectBridge::semiTransparent((QPixmap&)* (QPixmap*)pixmap);
	return;
}
void kde_KIconEffect_overlay( qt_QImage * src, qt_QImage * overlay){
	KIconEffectBridge::overlay((QImage&)* (QImage*)src, (QImage&)* (QImage*)overlay);
	return;
}
