/***************************************************************************
                            qt_QWidgetList.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, 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 "qt_QWidgetList.h"
}

#include <qwidgetlist.h>

class QWidgetListBridge : public QWidgetList
{
public:
	QWidgetListBridge() : QWidgetList() {}
	QWidgetListBridge(const QWidgetList& l) : QWidgetList(l) {}
	~QWidgetListBridge() {}
};

qt_QWidgetList * qt_new_QWidgetList(){
	return (qt_QWidgetList *) new QWidgetListBridge();
}
qt_QWidgetList * qt_new_QWidgetList1(qt_QWidgetList* l){
	return (qt_QWidgetList *) new QWidgetListBridge((QWidgetList&)* (QWidgetList*)l);
}
void qt_del_QWidgetList( qt_QWidgetList* p ){
	delete (QWidgetListBridge*) p;
}
unsigned int qt_QWidgetList_count( qt_QWidgetList* instPointer){
	return (unsigned int) ((QWidgetListBridge*)instPointer)->count();
}
int qt_QWidgetList_isEmpty( qt_QWidgetList* instPointer){
	return (int) ((QWidgetListBridge*)instPointer)->isEmpty();
}
int qt_QWidgetList_insert( qt_QWidgetList* instPointer,unsigned int i, qt_QWidget * d){
	return (int) ((QWidgetListBridge*)instPointer)->insert((uint)i, (QWidget*)d);
}
void qt_QWidgetList_inSort( qt_QWidgetList* instPointer,qt_QWidget * d){
	((QWidgetListBridge*)instPointer)->inSort((QWidget*)d);
	return;
}
void qt_QWidgetList_prepend( qt_QWidgetList* instPointer,qt_QWidget * d){
	((QWidgetListBridge*)instPointer)->prepend((QWidget*)d);
	return;
}
void qt_QWidgetList_append( qt_QWidgetList* instPointer,qt_QWidget * d){
	((QWidgetListBridge*)instPointer)->append((QWidget*)d);
	return;
}
int qt_QWidgetList_remove( qt_QWidgetList* instPointer,unsigned int i){
	return (int) ((QWidgetListBridge*)instPointer)->remove((uint)i);
}
int qt_QWidgetList_remove1( qt_QWidgetList* instPointer){
	return (int) ((QWidgetListBridge*)instPointer)->remove();
}
int qt_QWidgetList_remove2( qt_QWidgetList* instPointer,qt_QWidget * d){
	return (int) ((QWidgetListBridge*)instPointer)->remove((QWidget*)d);
}
int qt_QWidgetList_removeRef( qt_QWidgetList* instPointer,qt_QWidget * d){
	return (int) ((QWidgetListBridge*)instPointer)->removeRef((QWidget*)d);
}
void qt_QWidgetList_removeNode( qt_QWidgetList* instPointer,qt_QLNode* n){
	((QWidgetListBridge*)instPointer)->removeNode((QLNode*)n);
	return;
}
int qt_QWidgetList_removeFirst( qt_QWidgetList* instPointer){
	return (int) ((QWidgetListBridge*)instPointer)->removeFirst();
}
int qt_QWidgetList_removeLast( qt_QWidgetList* instPointer){
	return (int) ((QWidgetListBridge*)instPointer)->removeLast();
}
qt_QWidget * qt_QWidgetList_take( qt_QWidgetList* instPointer,unsigned int i){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->take((uint)i);
}
qt_QWidget * qt_QWidgetList_take1( qt_QWidgetList* instPointer){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->take();
}
qt_QWidget * qt_QWidgetList_takeNode( qt_QWidgetList* instPointer,qt_QLNode* n){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->takeNode((QLNode*)n);
}
void qt_QWidgetList_clear( qt_QWidgetList* instPointer){
	((QWidgetListBridge*)instPointer)->clear();
	return;
}
void qt_QWidgetList_sort( qt_QWidgetList* instPointer){
	((QWidgetListBridge*)instPointer)->sort();
	return;
}
int qt_QWidgetList_find( qt_QWidgetList* instPointer,qt_QWidget * d){
	return (int) ((QWidgetListBridge*)instPointer)->find((QWidget*)d);
}
int qt_QWidgetList_findNext( qt_QWidgetList* instPointer,qt_QWidget * d){
	return (int) ((QWidgetListBridge*)instPointer)->findNext((QWidget*)d);
}
int qt_QWidgetList_findRef( qt_QWidgetList* instPointer,qt_QWidget * d){
	return (int) ((QWidgetListBridge*)instPointer)->findRef((QWidget*)d);
}
int qt_QWidgetList_findNextRef( qt_QWidgetList* instPointer,qt_QWidget * d){
	return (int) ((QWidgetListBridge*)instPointer)->findNextRef((QWidget*)d);
}
unsigned int qt_QWidgetList_contains( qt_QWidgetList* instPointer,qt_QWidget * d){
	return (unsigned int) ((QWidgetListBridge*)instPointer)->contains((QWidget*)d);
}
unsigned int qt_QWidgetList_containsRef( qt_QWidgetList* instPointer,qt_QWidget * d){
	return (unsigned int) ((QWidgetListBridge*)instPointer)->containsRef((QWidget*)d);
}
qt_QWidget * qt_QWidgetList_at( qt_QWidgetList* instPointer,unsigned int i){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->at((uint)i);
}
int qt_QWidgetList_at1( qt_QWidgetList* instPointer){
	return (int) ((QWidgetListBridge*)instPointer)->at();
}
qt_QWidget * qt_QWidgetList_current( qt_QWidgetList* instPointer){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->current();
}
qt_QLNode* qt_QWidgetList_currentNode( qt_QWidgetList* instPointer){
	return (qt_QLNode*) ((QWidgetListBridge*)instPointer)->currentNode();
}
qt_QWidget * qt_QWidgetList_getFirst( qt_QWidgetList* instPointer){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->getFirst();
}
qt_QWidget * qt_QWidgetList_getLast( qt_QWidgetList* instPointer){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->getLast();
}
qt_QWidget * qt_QWidgetList_first( qt_QWidgetList* instPointer){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->first();
}
qt_QWidget * qt_QWidgetList_last( qt_QWidgetList* instPointer){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->last();
}
qt_QWidget * qt_QWidgetList_next( qt_QWidgetList* instPointer){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->next();
}
qt_QWidget * qt_QWidgetList_prev( qt_QWidgetList* instPointer){
	return (qt_QWidget *) ((QWidgetListBridge*)instPointer)->prev();
}
void qt_QWidgetList_toVector( qt_QWidgetList* instPointer,qt_QGVector* vec){
	((QWidgetListBridge*)instPointer)->toVector((QGVector*)vec);
	return;
}
