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

#include <kmainwindow.h>


kde_KMainWindowList * kde_new_KMainWindowList(){
	return (kde_KMainWindowList *) new QList<KMainWindow>();
}
kde_KMainWindowList * kde_new_KMainWindowList1(kde_KMainWindowList* l){
	return (kde_KMainWindowList *) new QList<KMainWindow>((QList<KMainWindow>&)* (QList<KMainWindow>*)l);
}
void kde_del_KMainWindowList( kde_KMainWindowList* p ){
	delete (QList<KMainWindow>*) p;
}
unsigned int kde_KMainWindowList_count( kde_KMainWindowList* instPointer){
	return (unsigned int) ((QList<KMainWindow>*)instPointer)->count();
}
int kde_KMainWindowList_isEmpty( kde_KMainWindowList* instPointer){
	return (int) ((QList<KMainWindow>*)instPointer)->isEmpty();
}
int kde_KMainWindowList_insert( kde_KMainWindowList* instPointer,unsigned int i, kde_KMainWindow * d){
	return (int) ((QList<KMainWindow>*)instPointer)->insert((uint)i, (KMainWindow*)d);
}
void kde_KMainWindowList_inSort( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	((QList<KMainWindow>*)instPointer)->inSort((KMainWindow*)d);
	return;
}
void kde_KMainWindowList_prepend( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	((QList<KMainWindow>*)instPointer)->prepend((KMainWindow*)d);
	return;
}
void kde_KMainWindowList_append( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	((QList<KMainWindow>*)instPointer)->append((KMainWindow*)d);
	return;
}
int kde_KMainWindowList_remove( kde_KMainWindowList* instPointer,unsigned int i){
	return (int) ((QList<KMainWindow>*)instPointer)->remove((uint)i);
}
int kde_KMainWindowList_remove1( kde_KMainWindowList* instPointer){
	return (int) ((QList<KMainWindow>*)instPointer)->remove();
}
int kde_KMainWindowList_remove2( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	return (int) ((QList<KMainWindow>*)instPointer)->remove((KMainWindow*)d);
}
int kde_KMainWindowList_removeRef( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	return (int) ((QList<KMainWindow>*)instPointer)->removeRef((KMainWindow*)d);
}
void kde_KMainWindowList_removeNode( kde_KMainWindowList* instPointer,qt_QLNode* n){
	((QList<KMainWindow>*)instPointer)->removeNode((QLNode*)n);
	return;
}
int kde_KMainWindowList_removeFirst( kde_KMainWindowList* instPointer){
	return (int) ((QList<KMainWindow>*)instPointer)->removeFirst();
}
int kde_KMainWindowList_removeLast( kde_KMainWindowList* instPointer){
	return (int) ((QList<KMainWindow>*)instPointer)->removeLast();
}
kde_KMainWindow * kde_KMainWindowList_take( kde_KMainWindowList* instPointer,unsigned int i){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->take((uint)i);
}
kde_KMainWindow * kde_KMainWindowList_take1( kde_KMainWindowList* instPointer){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->take();
}
kde_KMainWindow * kde_KMainWindowList_takeNode( kde_KMainWindowList* instPointer,qt_QLNode* n){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->takeNode((QLNode*)n);
}
void kde_KMainWindowList_clear( kde_KMainWindowList* instPointer){
	((QList<KMainWindow>*)instPointer)->clear();
	return;
}
void kde_KMainWindowList_sort( kde_KMainWindowList* instPointer){
	((QList<KMainWindow>*)instPointer)->sort();
	return;
}
int kde_KMainWindowList_find( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	return (int) ((QList<KMainWindow>*)instPointer)->find((KMainWindow*)d);
}
int kde_KMainWindowList_findNext( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	return (int) ((QList<KMainWindow>*)instPointer)->findNext((KMainWindow*)d);
}
int kde_KMainWindowList_findRef( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	return (int) ((QList<KMainWindow>*)instPointer)->findRef((KMainWindow*)d);
}
int kde_KMainWindowList_findNextRef( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	return (int) ((QList<KMainWindow>*)instPointer)->findNextRef((KMainWindow*)d);
}
unsigned int kde_KMainWindowList_contains( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	return (unsigned int) ((QList<KMainWindow>*)instPointer)->contains((KMainWindow*)d);
}
unsigned int kde_KMainWindowList_containsRef( kde_KMainWindowList* instPointer,kde_KMainWindow * d){
	return (unsigned int) ((QList<KMainWindow>*)instPointer)->containsRef((KMainWindow*)d);
}
kde_KMainWindow * kde_KMainWindowList_at( kde_KMainWindowList* instPointer,unsigned int i){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->at((uint)i);
}
int kde_KMainWindowList_at1( kde_KMainWindowList* instPointer){
	return (int) ((QList<KMainWindow>*)instPointer)->at();
}
kde_KMainWindow * kde_KMainWindowList_current( kde_KMainWindowList* instPointer){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->current();
}
qt_QLNode* kde_KMainWindowList_currentNode( kde_KMainWindowList* instPointer){
	return (qt_QLNode*) ((QList<KMainWindow>*)instPointer)->currentNode();
}
kde_KMainWindow * kde_KMainWindowList_getFirst( kde_KMainWindowList* instPointer){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->getFirst();
}
kde_KMainWindow * kde_KMainWindowList_getLast( kde_KMainWindowList* instPointer){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->getLast();
}
kde_KMainWindow * kde_KMainWindowList_first( kde_KMainWindowList* instPointer){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->first();
}
kde_KMainWindow * kde_KMainWindowList_last( kde_KMainWindowList* instPointer){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->last();
}
kde_KMainWindow * kde_KMainWindowList_next( kde_KMainWindowList* instPointer){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->next();
}
kde_KMainWindow * kde_KMainWindowList_prev( kde_KMainWindowList* instPointer){
	return (kde_KMainWindow *) ((QList<KMainWindow>*)instPointer)->prev();
}
void kde_KMainWindowList_toVector( kde_KMainWindowList* instPointer,qt_QGVector* vec){
	((QList<KMainWindow>*)instPointer)->toVector((QGVector*)vec);
	return;
}
