/***************************************************************************
                            qt_QMetaObject.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_QMetaObject.h"
}

#include <qmetaobject.h>

class QMetaObjectBridge : public QMetaObject
{
public:
	QMetaObjectBridge(const char* const class_name, QMetaObject* superclass, const QMetaData* const slot_data, int n_slots, const QMetaData* const signal_data, int n_signals, const QMetaProperty* const prop_data, int n_props, const QMetaEnum* const enum_data, int n_enums, const QClassInfo* const class_info, int n_info) : QMetaObject(class_name, superclass, slot_data, n_slots, signal_data, n_signals, prop_data, n_props, enum_data, n_enums, class_info, n_info) {}
	~QMetaObjectBridge() {}
};

qt_QMetaObject * qt_new_QMetaObject(char* class_name, qt_QMetaObject * superclass, qt_QMetaData* slot_data, int n_slots, qt_QMetaData* signal_data, int n_signals, qt_QMetaProperty* prop_data, int n_props, qt_QMetaEnum* enum_data, int n_enums, qt_QClassInfo* class_info, int n_info){
	return (qt_QMetaObject *) new QMetaObjectBridge((char*)class_name, (QMetaObject*)superclass, (QMetaData*)slot_data, (int)n_slots, (QMetaData*)signal_data, (int)n_signals, (QMetaProperty*)prop_data, (int)n_props, (QMetaEnum*)enum_data, (int)n_enums, (QClassInfo*)class_info, (int)n_info);
}
void qt_del_QMetaObject( qt_QMetaObject* p ){
	delete (QMetaObjectBridge*) p;
}
char* qt_QMetaObject_className( qt_QMetaObject* instPointer){
	return (char*) ((QMetaObjectBridge*)instPointer)->className();
}
char* qt_QMetaObject_superClassName( qt_QMetaObject* instPointer){
	return (char*) ((QMetaObjectBridge*)instPointer)->superClassName();
}
qt_QMetaObject * qt_QMetaObject_superClass( qt_QMetaObject* instPointer){
	return (qt_QMetaObject *) ((QMetaObjectBridge*)instPointer)->superClass();
}
int qt_QMetaObject_inherits( qt_QMetaObject* instPointer,char* clname){
	return (int) ((QMetaObjectBridge*)instPointer)->inherits((char*)clname);
}
int qt_QMetaObject_numSlots( qt_QMetaObject* instPointer,int super){
	return (int) ((QMetaObjectBridge*)instPointer)->numSlots((bool)super);
}
int qt_QMetaObject_numSignals( qt_QMetaObject* instPointer,int super){
	return (int) ((QMetaObjectBridge*)instPointer)->numSignals((bool)super);
}
int qt_QMetaObject_findSlot( qt_QMetaObject* instPointer,char* arg1, int super){
	return (int) ((QMetaObjectBridge*)instPointer)->findSlot((char*)arg1, (bool)super);
}
int qt_QMetaObject_findSignal( qt_QMetaObject* instPointer,char* arg1, int super){
	return (int) ((QMetaObjectBridge*)instPointer)->findSignal((char*)arg1, (bool)super);
}
qt_QMetaData* qt_QMetaObject_slot( qt_QMetaObject* instPointer,int index, int super){
	return (qt_QMetaData*) ((QMetaObjectBridge*)instPointer)->slot((int)index, (bool)super);
}
qt_QMetaData* qt_QMetaObject_signal( qt_QMetaObject* instPointer,int index, int super){
	return (qt_QMetaData*) ((QMetaObjectBridge*)instPointer)->signal((int)index, (bool)super);
}
qt_QStrList * qt_QMetaObject_slotNames( qt_QMetaObject* instPointer,int super){
	return (qt_QStrList *)new QStrList(((QMetaObjectBridge*)instPointer)->slotNames((bool)super));
}
qt_QStrList * qt_QMetaObject_signalNames( qt_QMetaObject* instPointer,int super){
	return (qt_QStrList *)new QStrList(((QMetaObjectBridge*)instPointer)->signalNames((bool)super));
}
int qt_QMetaObject_slotOffset( qt_QMetaObject* instPointer){
	return (int) ((QMetaObjectBridge*)instPointer)->slotOffset();
}
int qt_QMetaObject_signalOffset( qt_QMetaObject* instPointer){
	return (int) ((QMetaObjectBridge*)instPointer)->signalOffset();
}
int qt_QMetaObject_propertyOffset( qt_QMetaObject* instPointer){
	return (int) ((QMetaObjectBridge*)instPointer)->propertyOffset();
}
int qt_QMetaObject_numClassInfo( qt_QMetaObject* instPointer,int super){
	return (int) ((QMetaObjectBridge*)instPointer)->numClassInfo((bool)super);
}
qt_QClassInfo* qt_QMetaObject_classInfo( qt_QMetaObject* instPointer,int index, int super){
	return (qt_QClassInfo*) ((QMetaObjectBridge*)instPointer)->classInfo((int)index, (bool)super);
}
char* qt_QMetaObject_classInfo1( qt_QMetaObject* instPointer,char* name, int super){
	return (char*) ((QMetaObjectBridge*)instPointer)->classInfo((char*)name, (bool)super);
}
qt_QMetaProperty* qt_QMetaObject_property( qt_QMetaObject* instPointer,int index, int super){
	return (qt_QMetaProperty*) ((QMetaObjectBridge*)instPointer)->property((int)index, (bool)super);
}
int qt_QMetaObject_findProperty( qt_QMetaObject* instPointer,char* name, int super){
	return (int) ((QMetaObjectBridge*)instPointer)->findProperty((char*)name, (bool)super);
}
int qt_QMetaObject_indexOfProperty( qt_QMetaObject* instPointer,qt_QMetaProperty* arg1, int super){
	return (int) ((QMetaObjectBridge*)instPointer)->indexOfProperty((QMetaProperty*)arg1, (bool)super);
}
qt_QMetaProperty* qt_QMetaObject_resolveProperty( qt_QMetaObject* instPointer,qt_QMetaProperty* arg1){
	return (qt_QMetaProperty*) ((QMetaObjectBridge*)instPointer)->resolveProperty((QMetaProperty*)arg1);
}
int qt_QMetaObject_resolveProperty1( qt_QMetaObject* instPointer,int arg1){
	return (int) ((QMetaObjectBridge*)instPointer)->resolveProperty((int)arg1);
}
qt_QStrList * qt_QMetaObject_propertyNames( qt_QMetaObject* instPointer,int super){
	return (qt_QStrList *)new QStrList(((QMetaObjectBridge*)instPointer)->propertyNames((bool)super));
}
int qt_QMetaObject_numProperties( qt_QMetaObject* instPointer,int super){
	return (int) ((QMetaObjectBridge*)instPointer)->numProperties((bool)super);
}
qt_QMetaEnum* qt_QMetaObject_enumerator( qt_QMetaObject* instPointer,char* name, int super){
	return (qt_QMetaEnum*) ((QMetaObjectBridge*)instPointer)->enumerator((char*)name, (bool)super);
}
//qt_QMetaObject * qt_QMetaObject_new_metaobject( char* arg1, qt_QMetaObject * arg2, qt_QMetaData* const, int arg3, qt_QMetaData* const, int arg4, qt_QMetaProperty* prop_data, int n_props, qt_QMetaEnum* enum_data, int n_enums, qt_QClassInfo* class_info, int n_info){
//	return (qt_QMetaObject *) QMetaObjectBridge::new_metaobject((char*)arg1, (QMetaObject*)arg2, (QMetaData*)const, (int)arg3, (QMetaData*)const, (int)arg4, (QMetaProperty*)prop_data, (int)n_props, (QMetaEnum*)enum_data, (int)n_enums, (QClassInfo*)class_info, (int)n_info);
//}
qt_QMetaObject * qt_QMetaObject_metaObject( char* class_name){
	return (qt_QMetaObject *) QMetaObjectBridge::metaObject((char*)class_name);
}
