/***************************************************************************
                            kde_KFileItemList.cpp -  description
                             -------------------
    begin                : Mon Oct 15 14:17:29 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Mon Oct 15 14:17:29 2001, using kdoc $.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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_KFileItemList.h"
}

#include <kfileitem.h>


kde_KFileItemList * kde_new_KFileItemList(){
	return (kde_KFileItemList *) new KFileItemList();
}
kde_KFileItemList * kde_new_KFileItemList1(kde_KFileItemList* l){
	return (kde_KFileItemList *) new KFileItemList((KFileItemList&)* (KFileItemList*)l);
}
void kde_del_KFileItemList( kde_KFileItemList* p ){
	delete (KFileItemList*) p;
}
unsigned int kde_KFileItemList_count( kde_KFileItemList* instPointer){
	return (unsigned int) ((KFileItemList*)instPointer)->count();
}
int kde_KFileItemList_isEmpty( kde_KFileItemList* instPointer){
	return (int) ((KFileItemList*)instPointer)->isEmpty();
}
int kde_KFileItemList_insert( kde_KFileItemList* instPointer,unsigned int i, kde_KFileItem * d){
	return (int) ((KFileItemList*)instPointer)->insert((uint)i, (KFileItem*)d);
}
void kde_KFileItemList_inSort( kde_KFileItemList* instPointer,kde_KFileItem * d){
	((KFileItemList*)instPointer)->inSort((KFileItem*)d);
	return;
}
void kde_KFileItemList_prepend( kde_KFileItemList* instPointer,kde_KFileItem * d){
	((KFileItemList*)instPointer)->prepend((KFileItem*)d);
	return;
}
void kde_KFileItemList_append( kde_KFileItemList* instPointer,kde_KFileItem * d){
	((KFileItemList*)instPointer)->append((KFileItem*)d);
	return;
}
int kde_KFileItemList_remove( kde_KFileItemList* instPointer,unsigned int i){
	return (int) ((KFileItemList*)instPointer)->remove((uint)i);
}
int kde_KFileItemList_remove1( kde_KFileItemList* instPointer){
	return (int) ((KFileItemList*)instPointer)->remove();
}
int kde_KFileItemList_remove2( kde_KFileItemList* instPointer,kde_KFileItem * d){
	return (int) ((KFileItemList*)instPointer)->remove((KFileItem*)d);
}
int kde_KFileItemList_removeRef( kde_KFileItemList* instPointer,kde_KFileItem * d){
	return (int) ((KFileItemList*)instPointer)->removeRef((KFileItem*)d);
}
void kde_KFileItemList_removeNode( kde_KFileItemList* instPointer,qt_QLNode* n){
	((KFileItemList*)instPointer)->removeNode((QLNode*)n);
	return;
}
int kde_KFileItemList_removeFirst( kde_KFileItemList* instPointer){
	return (int) ((KFileItemList*)instPointer)->removeFirst();
}
int kde_KFileItemList_removeLast( kde_KFileItemList* instPointer){
	return (int) ((KFileItemList*)instPointer)->removeLast();
}
kde_KFileItem * kde_KFileItemList_take( kde_KFileItemList* instPointer,unsigned int i){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->take((uint)i);
}
kde_KFileItem * kde_KFileItemList_take1( kde_KFileItemList* instPointer){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->take();
}
kde_KFileItem * kde_KFileItemList_takeNode( kde_KFileItemList* instPointer,qt_QLNode* n){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->takeNode((QLNode*)n);
}
void kde_KFileItemList_clear( kde_KFileItemList* instPointer){
	((KFileItemList*)instPointer)->clear();
	return;
}
void kde_KFileItemList_sort( kde_KFileItemList* instPointer){
	((KFileItemList*)instPointer)->sort();
	return;
}
int kde_KFileItemList_find( kde_KFileItemList* instPointer,kde_KFileItem * d){
	return (int) ((KFileItemList*)instPointer)->find((KFileItem*)d);
}
int kde_KFileItemList_findNext( kde_KFileItemList* instPointer,kde_KFileItem * d){
	return (int) ((KFileItemList*)instPointer)->findNext((KFileItem*)d);
}
int kde_KFileItemList_findRef( kde_KFileItemList* instPointer,kde_KFileItem * d){
	return (int) ((KFileItemList*)instPointer)->findRef((KFileItem*)d);
}
int kde_KFileItemList_findNextRef( kde_KFileItemList* instPointer,kde_KFileItem * d){
	return (int) ((KFileItemList*)instPointer)->findNextRef((KFileItem*)d);
}
unsigned int kde_KFileItemList_contains( kde_KFileItemList* instPointer,kde_KFileItem * d){
	return (unsigned int) ((KFileItemList*)instPointer)->contains((KFileItem*)d);
}
unsigned int kde_KFileItemList_containsRef( kde_KFileItemList* instPointer,kde_KFileItem * d){
	return (unsigned int) ((KFileItemList*)instPointer)->containsRef((KFileItem*)d);
}
kde_KFileItem * kde_KFileItemList_at( kde_KFileItemList* instPointer,unsigned int i){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->at((uint)i);
}
int kde_KFileItemList_at1( kde_KFileItemList* instPointer){
	return (int) ((KFileItemList*)instPointer)->at();
}
kde_KFileItem * kde_KFileItemList_current( kde_KFileItemList* instPointer){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->current();
}
qt_QLNode* kde_KFileItemList_currentNode( kde_KFileItemList* instPointer){
	return (qt_QLNode*) ((KFileItemList*)instPointer)->currentNode();
}
kde_KFileItem * kde_KFileItemList_getFirst( kde_KFileItemList* instPointer){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->getFirst();
}
kde_KFileItem * kde_KFileItemList_getLast( kde_KFileItemList* instPointer){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->getLast();
}
kde_KFileItem * kde_KFileItemList_first( kde_KFileItemList* instPointer){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->first();
}
kde_KFileItem * kde_KFileItemList_last( kde_KFileItemList* instPointer){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->last();
}
kde_KFileItem * kde_KFileItemList_next( kde_KFileItemList* instPointer){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->next();
}
kde_KFileItem * kde_KFileItemList_prev( kde_KFileItemList* instPointer){
	return (kde_KFileItem *) ((KFileItemList*)instPointer)->prev();
}
void kde_KFileItemList_toVector( kde_KFileItemList* instPointer,qt_QGVector* vec){
	((KFileItemList*)instPointer)->toVector((QGVector*)vec);
	return;
}
