/***************************************************************************
                            kde_DrawContentsEvent.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_DrawContentsEvent.h"
}

#include <khtml_events.h>

class DrawContentsEventBridge : public khtml::DrawContentsEvent
{
public:
	DrawContentsEventBridge(QPainter* painter, int clipx, int clipy, int clipw, int cliph) : DrawContentsEvent(painter, clipx, clipy, clipw, cliph) {}
	~DrawContentsEventBridge() {}
};

kde_DrawContentsEvent * kde_new_DrawContentsEvent(qt_QPainter * painter, int clipx, int clipy, int clipw, int cliph){
	return (kde_DrawContentsEvent *) new DrawContentsEventBridge((QPainter*)painter, (int)clipx, (int)clipy, (int)clipw, (int)cliph);
}
void kde_del_DrawContentsEvent( kde_DrawContentsEvent* p ){
	delete (DrawContentsEventBridge*) p;
}
qt_QPainter * kde_DrawContentsEvent_painter( kde_DrawContentsEvent* instPointer){
	return (qt_QPainter *) ((DrawContentsEventBridge*)instPointer)->painter();
}
int kde_DrawContentsEvent_clipx( kde_DrawContentsEvent* instPointer){
	return (int) ((DrawContentsEventBridge*)instPointer)->clipx();
}
int kde_DrawContentsEvent_clipy( kde_DrawContentsEvent* instPointer){
	return (int) ((DrawContentsEventBridge*)instPointer)->clipy();
}
int kde_DrawContentsEvent_clipw( kde_DrawContentsEvent* instPointer){
	return (int) ((DrawContentsEventBridge*)instPointer)->clipw();
}
int kde_DrawContentsEvent_cliph( kde_DrawContentsEvent* instPointer){
	return (int) ((DrawContentsEventBridge*)instPointer)->cliph();
}
int kde_DrawContentsEvent_test( qt_QEvent * event){
	return (int) DrawContentsEventBridge::test((QEvent*)event);
}
