/***************************************************************************
                            QPNGImageWriter.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  QPNGImageWriter implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected QPNGImageWriter(Class dummy){}

	private native void newQPNGImageWriter( QIODeviceInterface arg1);
	public QPNGImageWriter( QIODeviceInterface arg1) {
		newQPNGImageWriter( arg1);
	}
	protected native void finalize() throws InternalError;
	public native void setDisposalMethod( int arg1);
	public native void setLooping( int loops);
	public native void setLooping();
	public native void setFrameDelay( int msecs);
	public native void setGamma( float arg1);
	public native boolean writeImage( QImage img, int x, int y);
	public native boolean writeImage( QImage img, int quality, int x, int y);
	public native boolean writeImage( QImage img);
	public native boolean writeImage( QImage img, int quality);
	public native QIODeviceInterface device();
	public static final int Unspecified = 0;
	public static final int NoDisposal = 1;
	public static final int RestoreBackground = 2;
	public static final int RestoreImage = 3;
}
