/***************************************************************************
                            kde_Event.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_Event.h"
}

#include <kparts/event.h>

class EventBridge : public KParts::Event
{
public:
	EventBridge(const char* eventName) : Event(eventName) {}
};

kde_Event * kde_new_Event(char* eventName){
	return (kde_Event *) new EventBridge((char*)eventName);
}
char* kde_Event_eventName( kde_Event* instPointer){
	return (char*) ((EventBridge*)instPointer)->eventName();
}
int kde_Event_test( qt_QEvent * event){
	return (int) EventBridge::test((QEvent*)event);
}
int kde_Event_test1( qt_QEvent * event, char* name){
	return (int) EventBridge::test((QEvent*)event, (char*)name);
}
