/***************************************************************************
                            qt_QContextMenuEvent.h -  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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QCONTEXTMENUEVENT
#define QT_QCONTEXTMENUEVENT

#include <qtc/qtc_types.h>

#define QCONTEXTMENUEVENT_Mouse	0
#define QCONTEXTMENUEVENT_Keyboard	1
#define QCONTEXTMENUEVENT_Other	2
qt_QContextMenuEvent * qt_new_QContextMenuEvent(int reason, qt_QPoint* pos, qt_QPoint* globalPos, int state);
qt_QContextMenuEvent * qt_new_QContextMenuEvent1(int reason, qt_QPoint* pos, int state);
int qt_QContextMenuEvent_x(qt_QContextMenuEvent* instPointer);
int qt_QContextMenuEvent_y(qt_QContextMenuEvent* instPointer);
int qt_QContextMenuEvent_globalX(qt_QContextMenuEvent* instPointer);
int qt_QContextMenuEvent_globalY(qt_QContextMenuEvent* instPointer);
qt_QPoint* qt_QContextMenuEvent_pos(qt_QContextMenuEvent* instPointer);
qt_QPoint* qt_QContextMenuEvent_globalPos(qt_QContextMenuEvent* instPointer);
int qt_QContextMenuEvent_state(qt_QContextMenuEvent* instPointer);
int qt_QContextMenuEvent_isAccepted(qt_QContextMenuEvent* instPointer);
int qt_QContextMenuEvent_isConsumed(qt_QContextMenuEvent* instPointer);
void qt_QContextMenuEvent_consume(qt_QContextMenuEvent* instPointer);
void qt_QContextMenuEvent_accept(qt_QContextMenuEvent* instPointer);
void qt_QContextMenuEvent_ignore(qt_QContextMenuEvent* instPointer);
int qt_QContextMenuEvent_reason(qt_QContextMenuEvent* instPointer);

#endif
