/***************************************************************************
                            kde_KRootPixmap.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_KRootPixmap.h"
}

#include <krootpixmap.h>

class KRootPixmapBridge : public KRootPixmap
{
public:
	KRootPixmapBridge(QWidget* target, const char* name) : KRootPixmap(target, name) {}
	KRootPixmapBridge(QWidget* target, QObject* parent, const char* name) : KRootPixmap(target, parent, name) {}
	~KRootPixmapBridge() {}
	 bool  protected_eventFilter(QObject* arg1, QEvent* arg2) {
		return ( bool ) KRootPixmap::eventFilter(arg1, arg2);
	}
	void protected_updateBackground(KSharedPixmap* arg1) {
		KRootPixmap::updateBackground(arg1);
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
};

kde_KRootPixmap * kde_new_KRootPixmap(qt_QWidget * target, char* name){
	return (kde_KRootPixmap *) new KRootPixmapBridge((QWidget*)target, (char*)name);
}
kde_KRootPixmap * kde_new_KRootPixmap1(qt_QWidget * target, qt_QObject * parent, char* name){
	return (kde_KRootPixmap *) new KRootPixmapBridge((QWidget*)target, (QObject*)parent, (char*)name);
}
void kde_del_KRootPixmap( kde_KRootPixmap* p ){
	delete (KRootPixmapBridge*) p;
}
int kde_KRootPixmap_isAvailable( kde_KRootPixmap* instPointer){
	return (int) ((KRootPixmapBridge*)instPointer)->isAvailable();
}
int kde_KRootPixmap_isActive( kde_KRootPixmap* instPointer){
	return (int) ((KRootPixmapBridge*)instPointer)->isActive();
}
int kde_KRootPixmap_currentDesktop( kde_KRootPixmap* instPointer){
	return (int) ((KRootPixmapBridge*)instPointer)->currentDesktop();
}
int kde_KRootPixmap_customPainting( kde_KRootPixmap* instPointer){
	return (int) ((KRootPixmapBridge*)instPointer)->customPainting();
}
int kde_KRootPixmap_checkAvailable( kde_KRootPixmap* instPointer,int arg1){
	return (int) ((KRootPixmapBridge*)instPointer)->checkAvailable((bool)arg1);
}
void kde_KRootPixmap_start( kde_KRootPixmap* instPointer){
	((KRootPixmapBridge*)instPointer)->start();
	return;
}
void kde_KRootPixmap_stop( kde_KRootPixmap* instPointer){
	((KRootPixmapBridge*)instPointer)->stop();
	return;
}
void kde_KRootPixmap_setFadeEffect( kde_KRootPixmap* instPointer,double strength, qt_QColor * color){
	((KRootPixmapBridge*)instPointer)->setFadeEffect((double)strength, (QColor&)* (QColor*)color);
	return;
}
void kde_KRootPixmap_repaint( kde_KRootPixmap* instPointer,int force){
	((KRootPixmapBridge*)instPointer)->repaint((bool)force);
	return;
}
void kde_KRootPixmap_repaint1( kde_KRootPixmap* instPointer){
	((KRootPixmapBridge*)instPointer)->repaint();
	return;
}
void kde_KRootPixmap_setCustomPainting( kde_KRootPixmap* instPointer,int enable){
	((KRootPixmapBridge*)instPointer)->setCustomPainting((bool)enable);
	return;
}
void kde_KRootPixmap_enableExports( kde_KRootPixmap* instPointer){
	((KRootPixmapBridge*)instPointer)->enableExports();
	return;
}
int kde_KRootPixmap_eventFilter( kde_KRootPixmap* instPointer,qt_QObject * arg1, qt_QEvent * arg2){
	return (int) ((KRootPixmapBridge*)instPointer)->protected_eventFilter((QObject*)arg1, (QEvent*)arg2);
}
void kde_KRootPixmap_updateBackground( kde_KRootPixmap* instPointer,kde_KSharedPixmap* arg1){
	((KRootPixmapBridge*)instPointer)->protected_updateBackground((KSharedPixmap*)arg1);
	return;
}
