/***************************************************************************
                            qt_QSignalMapper.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_QSignalMapper.h"
}

#include <qsignalmapper.h>

class QSignalMapperBridge : public QSignalMapper
{
public:
	QSignalMapperBridge(QObject* parent, const char* name) : QSignalMapper(parent, name) {}
	~QSignalMapperBridge() {}
	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;
	}
};

qt_QSignalMapper * qt_new_QSignalMapper(qt_QObject * parent, char* name){
	return (qt_QSignalMapper *) new QSignalMapperBridge((QObject*)parent, (char*)name);
}
void qt_del_QSignalMapper( qt_QSignalMapper* p ){
	delete (QSignalMapperBridge*) p;
}
void qt_QSignalMapper_setMapping( qt_QSignalMapper* instPointer,qt_QObject * sender, int identifier){
	((QSignalMapperBridge*)instPointer)->setMapping((QObject*)sender, (int)identifier);
	return;
}
void qt_QSignalMapper_setMapping1( qt_QSignalMapper* instPointer,qt_QObject * sender, qt_QString * identifier){
	((QSignalMapperBridge*)instPointer)->setMapping((QObject*)sender, (QString&)* (QString*)identifier);
	return;
}
void qt_QSignalMapper_removeMappings( qt_QSignalMapper* instPointer,qt_QObject * sender){
	((QSignalMapperBridge*)instPointer)->removeMappings((QObject*)sender);
	return;
}
void qt_QSignalMapper_map( qt_QSignalMapper* instPointer){
	((QSignalMapperBridge*)instPointer)->map();
	return;
}
