/***************************************************************************
                            kde_KProcessController.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_KProcessController.h"
}

#include <kprocctrl.h>

class KProcessControllerBridge : public KProcessController
{
public:
	KProcessControllerBridge() : KProcessController() {}
	~KProcessControllerBridge() {}
	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_KProcessController * kde_new_KProcessController(){
	return (kde_KProcessController *) new KProcessControllerBridge();
}
void kde_del_KProcessController( kde_KProcessController* p ){
	delete (KProcessControllerBridge*) p;
}
void kde_KProcessController_addKProcess( kde_KProcessController* instPointer,kde_KProcess* arg1){
	((KProcessControllerBridge*)instPointer)->addKProcess((KProcess*)arg1);
	return;
}
void kde_KProcessController_removeKProcess( kde_KProcessController* instPointer,kde_KProcess* arg1){
	((KProcessControllerBridge*)instPointer)->removeKProcess((KProcess*)arg1);
	return;
}
void kde_KProcessController_slotDoHousekeeping( kde_KProcessController* instPointer,int socket){
	((KProcessControllerBridge*)instPointer)->slotDoHousekeeping((int)socket);
	return;
}
void kde_KProcessController_theSigCHLDHandler( int signal){
	KProcessControllerBridge::theSigCHLDHandler((int)signal);
	return;
}
void kde_KProcessController_setupHandlers( ){
	KProcessControllerBridge::setupHandlers();
	return;
}
void kde_KProcessController_resetHandlers( ){
	KProcessControllerBridge::resetHandlers();
	return;
}
