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

#include <qlayout.h>

class QLayoutIteratorBridge : public QLayoutIterator
{
public:
	QLayoutIteratorBridge(QGLayoutIterator* i) : QLayoutIterator(i) {}
	QLayoutIteratorBridge(const QLayoutIterator& i) : QLayoutIterator(i) {}
	~QLayoutIteratorBridge() {}
};

qt_QLayoutIterator * qt_new_QLayoutIterator(qt_QGLayoutIterator* i){
	return (qt_QLayoutIterator *) new QLayoutIteratorBridge((QGLayoutIterator*)i);
}
qt_QLayoutIterator * qt_new_QLayoutIterator1(qt_QLayoutIterator* i){
	return (qt_QLayoutIterator *) new QLayoutIteratorBridge((QLayoutIterator&)* (QLayoutIterator*)i);
}
void qt_del_QLayoutIterator( qt_QLayoutIterator* p ){
	delete (QLayoutIteratorBridge*) p;
}
qt_QLayoutItem* qt_QLayoutIterator_current( qt_QLayoutIterator* instPointer){
	return (qt_QLayoutItem*) ((QLayoutIteratorBridge*)instPointer)->current();
}
qt_QLayoutItem* qt_QLayoutIterator_takeCurrent( qt_QLayoutIterator* instPointer){
	return (qt_QLayoutItem*) ((QLayoutIteratorBridge*)instPointer)->takeCurrent();
}
void qt_QLayoutIterator_deleteCurrent( qt_QLayoutIterator* instPointer){
	((QLayoutIteratorBridge*)instPointer)->deleteCurrent();
	return;
}
