/***************************************************************************
                            kde_KFilePropsPlugin.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KFILEPROPSPLUGIN
#define KDE_KFILEPROPSPLUGIN

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

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

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

/** 
 Constructor
   
*/
kde_KFilePropsPlugin * kde_new_KFilePropsPlugin(kde_KPropertiesDialog* _props);
void kde_del_KFilePropsPlugin( kde_KFilePropsPlugin* p );

/** 
 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.
   
*/
void kde_KFilePropsPlugin_applyChanges(kde_KFilePropsPlugin* instPointer);

/** 
 Called after all plugins applied their changes
   
*/
void kde_KFilePropsPlugin_postApplyChanges(kde_KFilePropsPlugin* instPointer);

/** 
 Tests whether the files specified by _items need a 'General' plugin.
   
*/
int kde_KFilePropsPlugin_supports( kde_KFileItemList* _items);
void kde_KFilePropsPlugin_slotCopyFinished(kde_KFilePropsPlugin* instPointer,kde_Job* arg1);
void kde_KFilePropsPlugin_slotFileRenamed(kde_KFilePropsPlugin* instPointer,kde_Job* arg1, kde_KURL* arg2, kde_KURL* arg3);
void kde_KFilePropsPlugin_slotDirSizeFinished(kde_KFilePropsPlugin* instPointer,kde_Job* arg1);
void kde_KFilePropsPlugin_slotFoundMountPoint(kde_KFilePropsPlugin* instPointer,qt_QString * mp, unsigned long kBSize, unsigned long kBUsed, unsigned long kBAvail);
void kde_KFilePropsPlugin_slotSizeStop(kde_KFilePropsPlugin* instPointer);
void kde_KFilePropsPlugin_slotSizeDetermine(kde_KFilePropsPlugin* instPointer);

#endif
