/***************************************************************************
                            kde_KFileMetaInfoItem.cpp -  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.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "kde_KFileMetaInfoItem.h"
}

#include <kfilemetainfo.h>

class KFileMetaInfoItemBridge : public KFileMetaInfoItem
{
public:
//	KFileMetaInfoItemBridge(const QString& key, const QString& translatedKey, const QVariant& value, bool editable, const QString& prefix, const QString& suffix) : KFileMetaInfoItem(key, translatedKey, value, editable, prefix, suffix) {}
	KFileMetaInfoItemBridge(const KFileMetaInfoItem& item) : KFileMetaInfoItem(item) {}
	KFileMetaInfoItemBridge() : KFileMetaInfoItem() {}
	~KFileMetaInfoItemBridge() {}
};

//kde_KFileMetaInfoItem * kde_new_KFileMetaInfoItem(qt_QString * key, qt_QString * translatedKey, qt_QVariant * value, int editable, qt_QString * prefix, qt_QString * suffix){
//	return (kde_KFileMetaInfoItem *) new KFileMetaInfoItemBridge((QString&)* (QString*)key, (QString&)* (QString*)translatedKey, (QVariant&)* (QVariant*)value, (bool)editable, (QString&)* (QString*)prefix, (QString&)* (QString*)suffix);
//}
kde_KFileMetaInfoItem * kde_new_KFileMetaInfoItem1(KFileMetaInfoItem item){
	return (kde_KFileMetaInfoItem *) new KFileMetaInfoItemBridge((KFileMetaInfoItem&)item);
}
kde_KFileMetaInfoItem * kde_new_KFileMetaInfoItem2(){
	return (kde_KFileMetaInfoItem *) new KFileMetaInfoItemBridge();
}
void kde_del_KFileMetaInfoItem( kde_KFileMetaInfoItem* p ){
	delete (KFileMetaInfoItemBridge*) p;
}
qt_QString * kde_KFileMetaInfoItem_key( kde_KFileMetaInfoItem* instPointer){
	return (qt_QString *) (const QString *)&((KFileMetaInfoItemBridge*)instPointer)->key();
}
qt_QString * kde_KFileMetaInfoItem_translatedKey( kde_KFileMetaInfoItem* instPointer){
	return (qt_QString *) (const QString *)&((KFileMetaInfoItemBridge*)instPointer)->translatedKey();
}
qt_QVariant * kde_KFileMetaInfoItem_value( kde_KFileMetaInfoItem* instPointer){
	return (qt_QVariant *) (const QVariant *)&((KFileMetaInfoItemBridge*)instPointer)->value();
}
void kde_KFileMetaInfoItem_setValue( kde_KFileMetaInfoItem* instPointer,qt_QVariant * value){
	((KFileMetaInfoItemBridge*)instPointer)->setValue((QVariant&)* (QVariant*)value);
	return;
}
int kde_KFileMetaInfoItem_type( kde_KFileMetaInfoItem* instPointer){
	return (int) ((KFileMetaInfoItemBridge*)instPointer)->type();
}
int kde_KFileMetaInfoItem_isEditable( kde_KFileMetaInfoItem* instPointer){
	return (int) ((KFileMetaInfoItemBridge*)instPointer)->isEditable();
}
//void kde_KFileMetaInfoItem_remove( kde_KFileMetaInfoItem* instPointer){
//	((KFileMetaInfoItemBridge*)instPointer)->remove();
//	return;
//}
int kde_KFileMetaInfoItem_isRemoved( kde_KFileMetaInfoItem* instPointer){
	return (int) ((KFileMetaInfoItemBridge*)instPointer)->isRemoved();
}
int kde_KFileMetaInfoItem_isModified( kde_KFileMetaInfoItem* instPointer){
	return (int) ((KFileMetaInfoItemBridge*)instPointer)->isModified();
}
qt_QString * kde_KFileMetaInfoItem_prefix( kde_KFileMetaInfoItem* instPointer){
	return (qt_QString *) (const QString *)&((KFileMetaInfoItemBridge*)instPointer)->prefix();
}
qt_QString * kde_KFileMetaInfoItem_suffix( kde_KFileMetaInfoItem* instPointer){
	return (qt_QString *) (const QString *)&((KFileMetaInfoItemBridge*)instPointer)->suffix();
}
int kde_KFileMetaInfoItem_isValid( kde_KFileMetaInfoItem* instPointer){
	return (int) ((KFileMetaInfoItemBridge*)instPointer)->isValid();
}
