//Auto-generated by kalyptus. DO NOT EDIT.
#include <smoke.h>
#include <qt_smoke.h>
#include <qpoint.h>
#include <qevent.h>
#include <qnamespace.h>

class x_QMouseEvent : public QMouseEvent {
public:
    static void x_0(Smoke::Stack x) {
	// QMouseEvent(QEvent::Type, const QPoint&, int, int)
	x_QMouseEvent* xret = new x_QMouseEvent((QEvent::Type)x[1].s_enum,*(const QPoint *)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
	x[0].s_class = (void*)xret;
    }
    x_QMouseEvent(QEvent::Type x1, const QPoint& x2, int x3, int x4) : QMouseEvent(x1, x2, x3, x4) {
    }
    static void x_1(Smoke::Stack x) {
	// QMouseEvent(QEvent::Type, const QPoint&, const QPoint&, int, int)
	x_QMouseEvent* xret = new x_QMouseEvent((QEvent::Type)x[1].s_enum,*(const QPoint *)x[2].s_class,*(const QPoint *)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int);
	x[0].s_class = (void*)xret;
    }
    x_QMouseEvent(QEvent::Type x1, const QPoint& x2, const QPoint& x3, int x4, int x5) : QMouseEvent(x1, x2, x3, x4, x5) {
    }
    void x_2(Smoke::Stack x) const {
	// pos()
	const QPoint& xret = this->QMouseEvent::pos();
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// globalPos()
	const QPoint& xret = this->QMouseEvent::globalPos();
	x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) const {
	// x()
	int xret = this->QMouseEvent::x();
	x[0].s_int = xret;
    }
    void x_5(Smoke::Stack x) const {
	// y()
	int xret = this->QMouseEvent::y();
	x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) const {
	// globalX()
	int xret = this->QMouseEvent::globalX();
	x[0].s_int = xret;
    }
    void x_7(Smoke::Stack x) const {
	// globalY()
	int xret = this->QMouseEvent::globalY();
	x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) const {
	// button()
	Qt::ButtonState xret = this->QMouseEvent::button();
	x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) const {
	// state()
	Qt::ButtonState xret = this->QMouseEvent::state();
	x[0].s_enum = xret;
    }
    void x_10(Smoke::Stack x) const {
	// stateAfter()
	Qt::ButtonState xret = this->QMouseEvent::stateAfter();
	x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) const {
	// isAccepted()
	bool xret = this->QMouseEvent::isAccepted();
	x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
	// accept()
	this->QMouseEvent::accept();
	(void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
	// ignore()
	this->QMouseEvent::ignore();
	(void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
	// QMouseEvent(const QMouseEvent&)
	x_QMouseEvent* xret = new x_QMouseEvent(*(const QMouseEvent *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_QMouseEvent(const QMouseEvent& x1) : QMouseEvent(x1) {
    }
    ~x_QMouseEvent() { qt_Smoke->binding->deleted(209, (void*)this); }
};
void xcall_QMouseEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMouseEvent *xself = (x_QMouseEvent*)obj;
    switch(xi) {
	case 0: x_QMouseEvent::x_0(args);	break;
	case 1: x_QMouseEvent::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: xself->x_8(args);	break;
	case 9: xself->x_9(args);	break;
	case 10: xself->x_10(args);	break;
	case 11: xself->x_11(args);	break;
	case 12: xself->x_12(args);	break;
	case 13: xself->x_13(args);	break;
	case 14: x_QMouseEvent::x_14(args);	break;
	case 15: delete (QMouseEvent*)xself;	break;
    }
}
