/***************************************************************************
                            qt_QTabletEvent.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_QTabletEvent.h"
}

#include <qevent.h>

int qt_QTabletEvent_pressure( qt_QTabletEvent* instPointer){
	return (int) ((QTabletEvent*)instPointer)->pressure();
}
int qt_QTabletEvent_xTilt( qt_QTabletEvent* instPointer){
	return (int) ((QTabletEvent*)instPointer)->xTilt();
}
int qt_QTabletEvent_yTilt( qt_QTabletEvent* instPointer){
	return (int) ((QTabletEvent*)instPointer)->yTilt();
}
qt_QPoint* qt_QTabletEvent_pos( qt_QTabletEvent* instPointer){
	QPoint _p= ((QTabletEvent*)instPointer)->pos();
	return (qt_QPoint*)new QPoint(_p.x(),_p.y());
}
qt_QPoint* qt_QTabletEvent_globalPos( qt_QTabletEvent* instPointer){
	QPoint _p= ((QTabletEvent*)instPointer)->globalPos();
	return (qt_QPoint*)new QPoint(_p.x(),_p.y());
}
int qt_QTabletEvent_x( qt_QTabletEvent* instPointer){
	return (int) ((QTabletEvent*)instPointer)->x();
}
int qt_QTabletEvent_y( qt_QTabletEvent* instPointer){
	return (int) ((QTabletEvent*)instPointer)->y();
}
int qt_QTabletEvent_globalX( qt_QTabletEvent* instPointer){
	return (int) ((QTabletEvent*)instPointer)->globalX();
}
int qt_QTabletEvent_globalY( qt_QTabletEvent* instPointer){
	return (int) ((QTabletEvent*)instPointer)->globalY();
}
int qt_QTabletEvent_device( qt_QTabletEvent* instPointer){
	return (int) ((QTabletEvent*)instPointer)->device();
}
int qt_QTabletEvent_isAccepted( qt_QTabletEvent* instPointer){
	return (int) ((QTabletEvent*)instPointer)->isAccepted();
}
void qt_QTabletEvent_accept( qt_QTabletEvent* instPointer){
	((QTabletEvent*)instPointer)->accept();
	return;
}
void qt_QTabletEvent_ignore( qt_QTabletEvent* instPointer){
	((QTabletEvent*)instPointer)->ignore();
	return;
}
