/***************************************************************************
                            kde_KFileMetaInfoItem.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_KFILEMETAINFOITEM
#define KDE_KFILEMETAINFOITEM

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 This is one item of the meta information about a file (see
 @ref KFileMetaInfo).
 
 @short 
 This is one item of the meta information about a file (see
 @ref KFileMetaInfo).
*/
kde_KFileMetaInfoItem * kde_new_KFileMetaInfoItem(qt_QString * key, qt_QString * translatedKey, qt_QVariant * value, int editable, qt_QString * prefix, qt_QString * suffix);
//kde_KFileMetaInfoItem * kde_new_KFileMetaInfoItem1(KFileMetaInfoItem item);

/** 
 Default constructor. This creates an "invalid" item
     
*/
kde_KFileMetaInfoItem * kde_new_KFileMetaInfoItem2();
void kde_del_KFileMetaInfoItem( kde_KFileMetaInfoItem* p );

/** 

*/
qt_QString * kde_KFileMetaInfoItem_key(kde_KFileMetaInfoItem* instPointer);

/** 

*/
qt_QString * kde_KFileMetaInfoItem_translatedKey(kde_KFileMetaInfoItem* instPointer);

/** 

*/
qt_QVariant * kde_KFileMetaInfoItem_value(kde_KFileMetaInfoItem* instPointer);

/** 
 changes the value of the item
     
*/
void kde_KFileMetaInfoItem_setValue(kde_KFileMetaInfoItem* instPointer,qt_QVariant * value);

/** 
 convenience method. It does the same as value()->type()
     
*/
int kde_KFileMetaInfoItem_type(kde_KFileMetaInfoItem* instPointer);

/** 

*/
int kde_KFileMetaInfoItem_isEditable(kde_KFileMetaInfoItem* instPointer);

/** 
 remove this item from the meta info of the file. @ref remove() doesn't
 actually remove the item, but only mark it as removed until
 @ref KFileMetaInfo::applyChanges() is called
     
*/
void kde_KFileMetaInfoItem_remove(kde_KFileMetaInfoItem* instPointer);

/** 

*/
int kde_KFileMetaInfoItem_isRemoved(kde_KFileMetaInfoItem* instPointer);

/** 

*/
int kde_KFileMetaInfoItem_isModified(kde_KFileMetaInfoItem* instPointer);

/** 

*/
qt_QString * kde_KFileMetaInfoItem_prefix(kde_KFileMetaInfoItem* instPointer);

/** 

*/
qt_QString * kde_KFileMetaInfoItem_suffix(kde_KFileMetaInfoItem* instPointer);

/** 

     
*/
int kde_KFileMetaInfoItem_isValid(kde_KFileMetaInfoItem* instPointer);

#endif
