/***************************************************************************
                            QEvent.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

/**

 $Id: QEvent.java,v 1.4 2001/11/22 00:50:27 rdale Exp $

 Definition of event classes

 Created : 931029

 Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.

 This file is part of the kernel module of the Qt GUI Toolkit.

 This file may be distributed under the terms of the Q Public License
 as defined by Trolltech AS of Norway and appearing in the file
 LICENSE.QPL included in the packaging of this file.

 This file may be distributed and/or modified under the terms of the
 GNU General Public License version 2 as published by the Free Software
 Foundation and appearing in the file LICENSE.GPL included in the
 packaging of this file.

 Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
 licenses may use this file in accordance with the Qt Commercial License
 Agreement provided with the Software.

 This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

 See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
   information about Qt Commercial License Agreements.
 See http://www.trolltech.com/qpl/ for QPL licensing information.
 See http://www.trolltech.com/gpl/ for GPL licensing information.

 Contact info@trolltech.com if any conditions of this licensing are
 not clear to you.


 @short 
* $Id:  qt/qevent.
*/
public class QEvent extends Qt  {
	protected QEvent(Class dummy){super((Class) null);}

	private native void newQEvent( int type);
	public QEvent( int type) {
		super((Class) null);
		newQEvent( type);
	}

	protected native void finalize() throws InternalError;
	public native int type();
	public native boolean spontaneous();
	public static final int None = 0;
	public static final int Timer = 1;
	public static final int MouseButtonPress = 2;
	public static final int MouseButtonRelease = 3;
	public static final int MouseButtonDblClick = 4;
	public static final int MouseMove = 5;
	public static final int KeyPress = 6;
	public static final int KeyRelease = 7;
	public static final int FocusIn = 8;
	public static final int FocusOut = 9;
	public static final int Enter = 10;
	public static final int Leave = 11;
	public static final int Paint = 12;
	public static final int Move = 13;
	public static final int Resize = 14;
	public static final int Create = 15;
	public static final int Destroy = 16;
	public static final int Show = 17;
	public static final int Hide = 18;
	public static final int Close = 19;
	public static final int Quit = 20;
	public static final int Reparent = 21;
	public static final int ShowMinimized = 22;
	public static final int ShowNormal = 23;
	public static final int WindowActivate = 24;
	public static final int WindowDeactivate = 25;
	public static final int ShowToParent = 26;
	public static final int HideToParent = 27;
	public static final int ShowMaximized = 28;
	public static final int ShowFullScreen = 29;
	public static final int Accel = 30;
	public static final int Wheel = 31;
	public static final int AccelAvailable = 32;
	public static final int CaptionChange = 33;
	public static final int IconChange = 34;
	public static final int ParentFontChange = 35;
	public static final int ApplicationFontChange = 36;
	public static final int ParentPaletteChange = 37;
	public static final int ApplicationPaletteChange = 38;
	public static final int PaletteChange = 39;
	public static final int Clipboard = 40;
	public static final int Speech = 42;
	public static final int SockAct = 50;
	public static final int AccelOverride = 51;
	public static final int DeferredDelete = 52;
	public static final int DragEnter = 60;
	public static final int DragMove = 61;
	public static final int DragLeave = 62;
	public static final int Drop = 63;
	public static final int DragResponse = 64;
	public static final int ChildInserted = 70;
	public static final int ChildRemoved = 71;
	public static final int LayoutHint = 72;
	public static final int ShowWindowRequest = 73;
	public static final int ActivateControl = 80;
	public static final int DeactivateControl = 81;
	public static final int ContextMenu = 82;
	public static final int IMStart = 83;
	public static final int IMCompose = 84;
	public static final int IMEnd = 85;
	public static final int Accessibility = 86;
	public static final int Tablet = 87;
	public static final int User = 1000;
	public static final int MaxUser = 65535;
}
