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

#include <qdom.h>

class QDomAttrBridge : public QDomAttr
{
public:
	QDomAttrBridge() : QDomAttr() {}
	QDomAttrBridge(const QDomAttr& x) : QDomAttr(x) {}
	~QDomAttrBridge() {}
};

qt_QDomAttr * qt_new_QDomAttr(){
	return (qt_QDomAttr *) new QDomAttrBridge();
}
qt_QDomAttr * qt_new_QDomAttr1(qt_QDomAttr* x){
	return (qt_QDomAttr *) new QDomAttrBridge((QDomAttr&)* (QDomAttr*)x);
}
void qt_del_QDomAttr( qt_QDomAttr* p ){
	delete (QDomAttrBridge*) p;
}
qt_QString * qt_QDomAttr_name( qt_QDomAttr* instPointer){
	return (qt_QString *)new QString(((QDomAttrBridge*)instPointer)->name());
}
int qt_QDomAttr_specified( qt_QDomAttr* instPointer){
	return (int) ((QDomAttrBridge*)instPointer)->specified();
}
qt_QDomElement* qt_QDomAttr_ownerElement( qt_QDomAttr* instPointer){
	return (qt_QDomElement*)new QDomElement(((QDomAttrBridge*)instPointer)->ownerElement());
}
qt_QString * qt_QDomAttr_value( qt_QDomAttr* instPointer){
	return (qt_QString *)new QString(((QDomAttrBridge*)instPointer)->value());
}
void qt_QDomAttr_setValue( qt_QDomAttr* instPointer,qt_QString * arg1){
	((QDomAttrBridge*)instPointer)->setValue((QString&)* (QString*)arg1);
	return;
}
int qt_QDomAttr_nodeType( qt_QDomAttr* instPointer){
	return (int) ((QDomAttrBridge*)instPointer)->nodeType();
}
int qt_QDomAttr_isAttr( qt_QDomAttr* instPointer){
	return (int) ((QDomAttrBridge*)instPointer)->isAttr();
}
