//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.qt; import org.kde.qt.Qt; public class QDropEvent extends QEvent implements QMimeSourceInterface { protected QDropEvent(Class dummy){super((Class) null);} 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 QDropEvent(QPoint pos, int typ) { super((Class) null); newQDropEvent(pos,typ); } private native void newQDropEvent(QPoint pos, int typ); public QDropEvent(QPoint pos) { super((Class) null); newQDropEvent(pos); } private native void newQDropEvent(QPoint 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 String format(); public native byte[] encodedData(String arg1); public native boolean provides(String arg1); public native byte[] data(String f); public native void setPoint(QPoint np); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ public native void dispose(); /** Has the wrapped C++ instance been deleted? */ public native boolean isDisposed(); public native int serialNumber(); /** Internal method */ protected native long mimeSource(); }