/***************************************************************************
                            QFontDatabase.java -  description
                             -------------------
    begin                : Tue Mar  5 13:44:57 2002
    copyright            : (C) 2000-2002 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Mar  5 13:44:57 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class  QFontDatabase implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected QFontDatabase(Class dummy){}

	private native void newQFontDatabase();
	public QFontDatabase() {
		newQFontDatabase();
	}
	public native ArrayList families();
	public native ArrayList styles( String arg1);
	public native int[] pointSizes( String arg1, String arg2);
	public native int[] smoothSizes( String arg1, String arg2);
	public native String styleString( QFont arg1);
	public native QFont font( String arg1, String arg2, int arg3);
	public native boolean isBitmapScalable( String arg1, String arg2);
	public native boolean isBitmapScalable( String arg1);
	public native boolean isSmoothlyScalable( String arg1, String arg2);
	public native boolean isSmoothlyScalable( String arg1);
	public native boolean isScalable( String arg1, String arg2);
	public native boolean isScalable( String arg1);
	public native boolean isFixedPitch( String arg1, String arg2);
	public native boolean isFixedPitch( String arg1);
	public native boolean italic( String arg1, String arg2);
	public native boolean bold( String arg1, String arg2);
	public native int weight( String arg1, String arg2);
	public native ArrayList families( boolean arg1);
	public native ArrayList styles( String arg1, String arg2);
	public native int[] pointSizes( String arg1, String arg2, String arg3);
	public native int[] smoothSizes( String arg1, String arg2, String arg3);
	public native QFont font( String arg1, String arg2, int arg3, String arg4);
	public native boolean isBitmapScalable( String arg1, String arg2, String arg3);
	public native boolean isSmoothlyScalable( String arg1, String arg2, String arg3);
	public native boolean isScalable( String arg1, String arg2, String arg3);
	public native boolean isFixedPitch( String arg1, String arg2, String arg3);
	public native boolean italic( String arg1, String arg2, String arg3);
	public native boolean bold( String arg1, String arg2, String arg3);
	public native int weight( String arg1, String arg2, String arg3);
	public static native int[] standardSizes();
	public static native String scriptName( int arg1);
	public static native String scriptSample( int arg1);
//	public static native void qwsAddDiskFont( QDiskFont qdf);
}
