/***************************************************************************
                            KImageFilePreview.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, 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.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 Image preview widget for the file dialog.
 
 See {@link KImageFilePreviewSignals} for signals emitted by KImageFilePreview.

 See {@link KImageFilePreviewEventHandling} for event handlers to override in subclasses of KImageFilePreview.

 @short 
 Image preview widget for the file dialog.
*/
public class KImageFilePreview extends KPreviewWidgetBase  {
	protected KImageFilePreview(Class dummy){super((Class) null);}

	private native void newKImageFilePreview( QWidget parent);
	public KImageFilePreview( QWidget parent) {
		super((Class) null);
		newKImageFilePreview( parent);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();
	public native QSize sizeHint();
	public native void showPreview( KURL url);
	public native void clearPreview();
	protected native void resizeEvent( QResizeEvent e);
	protected native int createJob( KURL url, int w, int h);
	protected native void showPreview();
	protected native void showPreview( KURL url, boolean force);
	protected native void toggleAuto( boolean arg1);
	protected native void gotPreview( KFileItem arg1, QPixmap arg2);
}
