/***************************************************************************
                            QDropEvent.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;

public class QDropEvent extends QEvent implements  QMimeSourceInterface {
	protected QDropEvent(Class dummy){super((Class) null);}

	private native void newQDropEvent( QPoint pos, int typ);
	public QDropEvent( QPoint pos, int typ) {
		super((Class) null);
		newQDropEvent( pos, typ);
	}
	private native void newQDropEvent( QPoint pos);
	public QDropEvent( QPoint pos) {
		super((Class) null);
		newQDropEvent( pos);
	}
	public native QPoint pos();
	public native boolean isAccepted();
	public native void accept( boolean y);
	public native void accept();
	public native void ignore();
	public native boolean isActionAccepted();
	public native void acceptAction( boolean y);
	public native void acceptAction();
	public native void setAction( int a);
	public native int action();
	public native QWidget source();
	public native String format( int n);
	public native byte[] encodedData( String arg1);
	public native boolean provides( String arg1);
	public native byte[] data( String f);
	public native void setPoint( QPoint np);
	public static final int Copy = 0;
	public static final int Link = 1;
	public static final int Move = 2;
	public static final int Private = 3;
	public static final int UserAction = 100;

	public native int serialNumber();
	
	/** Internal method */
	protected native long mimeSource();
}
