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

/**

 'General' plugin
  This plugin displays the name of the file, its size and access times.

 
 See {@link KFilePropsPluginSignals} for signals emitted by KFilePropsPlugin.

 See {@link KFilePropsPluginEventHandling} for event handlers to override in subclasses of KFilePropsPlugin.

 @short 
 'General' plugin
  This plugin displays the name of the file, its size and access times.
*/
public class KFilePropsPlugin extends KPropsDlgPlugin  {
	protected KFilePropsPlugin(Class dummy){super((Class) null);}

	private native void newKFilePropsPlugin( KPropertiesDialog _props);

/** 
 Constructor
   
*/
	public KFilePropsPlugin( KPropertiesDialog _props) {
		super((Class) null);
		newKFilePropsPlugin( _props);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();

/** 
 Applies all changes made.  This plugin must be always the first
 plugin in the dialog, since this function may rename the file which
 may confuse other applyChanges functions.
   
*/
	public native void applyChanges();

/** 
 Called after all plugins applied their changes
   
*/
	public native void postApplyChanges();

/** 
 Tests whether the files specified by _items need a 'General' plugin.
   
*/
	public static native boolean supports( ArrayList _items);
	protected native void slotCopyFinished( Job arg1);
	protected native void slotFileRenamed( Job arg1, KURL arg2, KURL arg3);
	protected native void slotDirSizeFinished( Job arg1);
	protected native void slotFoundMountPoint( String mp, long kBSize, long kBUsed, long kBAvail);
	protected native void slotSizeStop();
	protected native void slotSizeDetermine();
}
