/***************************************************************************
                            qt_QFontDatabase.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_QFontDatabase.h"
}

#include <qfontdatabase.h>

class QFontDatabaseBridge : public QFontDatabase
{
public:
	QFontDatabaseBridge() : QFontDatabase() {}
};

qt_QFontDatabase * qt_new_QFontDatabase(){
	return (qt_QFontDatabase *) new QFontDatabaseBridge();
}
qt_QStringList* qt_QFontDatabase_families( qt_QFontDatabase* instPointer){
	return (qt_QStringList*)new QStringList(((QFontDatabaseBridge*)instPointer)->families());
}
qt_QStringList* qt_QFontDatabase_styles( qt_QFontDatabase* instPointer,qt_QString * arg1){
	return (qt_QStringList*)new QStringList(((QFontDatabaseBridge*)instPointer)->styles((QString&)* (QString*)arg1));
}
qt_QString * qt_QFontDatabase_styleString( qt_QFontDatabase* instPointer,qt_QFont * arg1){
	return (qt_QString *)new QString(((QFontDatabaseBridge*)instPointer)->styleString((QFont&)* (QFont*)arg1));
}
qt_QFont * qt_QFontDatabase_font( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2, int arg3){
	return (qt_QFont *)new QFont(((QFontDatabaseBridge*)instPointer)->font((QString&)* (QString*)arg1, (QString&)* (QString*)arg2, (int)arg3));
}
int qt_QFontDatabase_isBitmapScalable( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2){
	return (int) ((QFontDatabaseBridge*)instPointer)->isBitmapScalable((QString&)* (QString*)arg1, (QString&)* (QString*)arg2);
}
int qt_QFontDatabase_isSmoothlyScalable( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2){
	return (int) ((QFontDatabaseBridge*)instPointer)->isSmoothlyScalable((QString&)* (QString*)arg1, (QString&)* (QString*)arg2);
}
int qt_QFontDatabase_isScalable( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2){
	return (int) ((QFontDatabaseBridge*)instPointer)->isScalable((QString&)* (QString*)arg1, (QString&)* (QString*)arg2);
}
int qt_QFontDatabase_isFixedPitch( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2){
	return (int) ((QFontDatabaseBridge*)instPointer)->isFixedPitch((QString&)* (QString*)arg1, (QString&)* (QString*)arg2);
}
int qt_QFontDatabase_italic( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2){
	return (int) ((QFontDatabaseBridge*)instPointer)->italic((QString&)* (QString*)arg1, (QString&)* (QString*)arg2);
}
int qt_QFontDatabase_bold( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2){
	return (int) ((QFontDatabaseBridge*)instPointer)->bold((QString&)* (QString*)arg1, (QString&)* (QString*)arg2);
}
int qt_QFontDatabase_weight( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2){
	return (int) ((QFontDatabaseBridge*)instPointer)->weight((QString&)* (QString*)arg1, (QString&)* (QString*)arg2);
}
qt_QStringList* qt_QFontDatabase_families1( qt_QFontDatabase* instPointer,int arg1){
	return (qt_QStringList*)new QStringList(((QFontDatabaseBridge*)instPointer)->families((bool)arg1));
}
qt_QStringList* qt_QFontDatabase_styles1( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2){
	return (qt_QStringList*)new QStringList(((QFontDatabaseBridge*)instPointer)->styles((QString&)* (QString*)arg1, (QString&)* (QString*)arg2));
}
qt_QFont * qt_QFontDatabase_font1( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2, int arg3, qt_QString * arg4){
	return (qt_QFont *)new QFont(((QFontDatabaseBridge*)instPointer)->font((QString&)* (QString*)arg1, (QString&)* (QString*)arg2, (int)arg3, (QString&)* (QString*)arg4));
}
int qt_QFontDatabase_isBitmapScalable1( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2, qt_QString * arg3){
	return (int) ((QFontDatabaseBridge*)instPointer)->isBitmapScalable((QString&)* (QString*)arg1, (QString&)* (QString*)arg2, (QString&)* (QString*)arg3);
}
int qt_QFontDatabase_isSmoothlyScalable1( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2, qt_QString * arg3){
	return (int) ((QFontDatabaseBridge*)instPointer)->isSmoothlyScalable((QString&)* (QString*)arg1, (QString&)* (QString*)arg2, (QString&)* (QString*)arg3);
}
int qt_QFontDatabase_isScalable1( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2, qt_QString * arg3){
	return (int) ((QFontDatabaseBridge*)instPointer)->isScalable((QString&)* (QString*)arg1, (QString&)* (QString*)arg2, (QString&)* (QString*)arg3);
}
int qt_QFontDatabase_isFixedPitch1( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2, qt_QString * arg3){
	return (int) ((QFontDatabaseBridge*)instPointer)->isFixedPitch((QString&)* (QString*)arg1, (QString&)* (QString*)arg2, (QString&)* (QString*)arg3);
}
int qt_QFontDatabase_italic1( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2, qt_QString * arg3){
	return (int) ((QFontDatabaseBridge*)instPointer)->italic((QString&)* (QString*)arg1, (QString&)* (QString*)arg2, (QString&)* (QString*)arg3);
}
int qt_QFontDatabase_bold1( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2, qt_QString * arg3){
	return (int) ((QFontDatabaseBridge*)instPointer)->bold((QString&)* (QString*)arg1, (QString&)* (QString*)arg2, (QString&)* (QString*)arg3);
}
int qt_QFontDatabase_weight1( qt_QFontDatabase* instPointer,qt_QString * arg1, qt_QString * arg2, qt_QString * arg3){
	return (int) ((QFontDatabaseBridge*)instPointer)->weight((QString&)* (QString*)arg1, (QString&)* (QString*)arg2, (QString&)* (QString*)arg3);
}
qt_QString * qt_QFontDatabase_scriptName( int arg1){
	return (qt_QString *)new QString(QFontDatabaseBridge::scriptName((QFont::Script)arg1));
}
qt_QString * qt_QFontDatabase_scriptSample( int arg1){
	return (qt_QString *)new QString(QFontDatabaseBridge::scriptSample((QFont::Script)arg1));
}
//void qt_QFontDatabase_qwsAddDiskFont( qt_QDiskFont* qdf){
//	QFontDatabaseBridge::qwsAddDiskFont((QDiskFont*)qdf);
//	return;
//}
