/***************************************************************************
                            qt_QFocusEvent.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_QFocusEvent.h"
}

#include <qevent.h>

class QFocusEventBridge : public QFocusEvent
{
public:
	QFocusEventBridge(Type type) : QFocusEvent(type) {}
};

qt_QFocusEvent * qt_new_QFocusEvent(int type){
	return (qt_QFocusEvent *) new QFocusEventBridge((QEvent::Type)type);
}
int qt_QFocusEvent_gotFocus( qt_QFocusEvent* instPointer){
	return (int) ((QFocusEventBridge*)instPointer)->gotFocus();
}
int qt_QFocusEvent_lostFocus( qt_QFocusEvent* instPointer){
	return (int) ((QFocusEventBridge*)instPointer)->lostFocus();
}
int qt_QFocusEvent_reason( ){
	return (int) QFocusEventBridge::reason();
}
void qt_QFocusEvent_setReason( int reason){
	QFocusEventBridge::setReason((QFocusEvent::Reason)reason);
	return;
}
void qt_QFocusEvent_resetReason( ){
	QFocusEventBridge::resetReason();
	return;
}
