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

/**
 See {@link QTextDragSignals} for signals emitted by QTextDrag.

 See {@link QTextDragEventHandling} for event handlers to override in subclasses of QTextDrag.

*/
public class QTextDrag extends QDragObject  {
	protected QTextDrag(Class dummy){super((Class) null);}

	private native void newQTextDrag( String arg1, QWidget dragSource, String name);
	public QTextDrag( String arg1, QWidget dragSource, String name) {
		super((Class) null);
		newQTextDrag( arg1, dragSource, name);
	}
	public QTextDrag( String arg1, QWidget dragSource) {
		this( arg1, dragSource, null);
	}
	private native void newQTextDrag( String arg1);
	public QTextDrag( String arg1) {
		super((Class) null);
		newQTextDrag( arg1);
	}
	private native void newQTextDrag( QWidget dragSource, String name);
	public QTextDrag( QWidget dragSource, String name) {
		super((Class) null);
		newQTextDrag( dragSource, name);
	}
	public QTextDrag( QWidget dragSource) {
		this( dragSource, null);
	}
	private native void newQTextDrag();
	public QTextDrag() {
		super((Class) null);
		newQTextDrag();
	}
	protected native void finalize() throws InternalError;
	public native void setText( String arg1);
	public native void setSubtype( String arg1);
	public native String format( int i);
	public native byte[] encodedData( String arg1);
	public static native boolean canDecode( QMimeSourceInterface e);
	public static native boolean decode( QMimeSourceInterface e, StringBuffer s);
	public static native boolean decode( QMimeSourceInterface e, StringBuffer s, String subtype);
}
