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

#include <qsqlpropertymap.h>

class QSqlPropertyMapBridge : public QSqlPropertyMap
{
public:
	QSqlPropertyMapBridge() : QSqlPropertyMap() {}
	~QSqlPropertyMapBridge() {}
};

qt_QSqlPropertyMap * qt_new_QSqlPropertyMap(){
	return (qt_QSqlPropertyMap *) new QSqlPropertyMapBridge();
}
void qt_del_QSqlPropertyMap( qt_QSqlPropertyMap* p ){
	delete (QSqlPropertyMapBridge*) p;
}
qt_QVariant * qt_QSqlPropertyMap_property( qt_QSqlPropertyMap* instPointer,qt_QWidget * widget){
	return (qt_QVariant *)new QVariant(((QSqlPropertyMapBridge*)instPointer)->property((QWidget*)widget));
}
void qt_QSqlPropertyMap_setProperty( qt_QSqlPropertyMap* instPointer,qt_QWidget * widget, qt_QVariant * value){
	((QSqlPropertyMapBridge*)instPointer)->setProperty((QWidget*)widget, (QVariant&)* (QVariant*)value);
	return;
}
void qt_QSqlPropertyMap_insert( qt_QSqlPropertyMap* instPointer,qt_QString * classname, qt_QString * property){
	((QSqlPropertyMapBridge*)instPointer)->insert((QString&)* (QString*)classname, (QString&)* (QString*)property);
	return;
}
void qt_QSqlPropertyMap_remove( qt_QSqlPropertyMap* instPointer,qt_QString * classname){
	((QSqlPropertyMapBridge*)instPointer)->remove((QString&)* (QString*)classname);
	return;
}
qt_QSqlPropertyMap* qt_QSqlPropertyMap_defaultMap( ){
	return (qt_QSqlPropertyMap*) QSqlPropertyMapBridge::defaultMap();
}
void qt_QSqlPropertyMap_installDefaultMap( qt_QSqlPropertyMap* map){
	QSqlPropertyMapBridge::installDefaultMap((QSqlPropertyMap*)map);
	return;
}
