/***************************************************************************
                            QStyleSheet.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, 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;

/**
 See {@link QStyleSheetSignals} for signals emitted by QStyleSheet.

 See {@link QStyleSheetEventHandling} for event handlers to override in subclasses of QStyleSheet.

*/
public class QStyleSheet extends QObject  {
	protected QStyleSheet(Class dummy){super((Class) null);}

	private native void newQStyleSheet( QObject parent, String name);
	public QStyleSheet( QObject parent, String name) {
		super((Class) null);
		newQStyleSheet( parent, name);
	}
	private native void newQStyleSheet();
	public QStyleSheet() {
		super((Class) null);
		newQStyleSheet();
	}
	protected native void finalize() throws InternalError;
	public native QStyleSheetItem item( String name);
//	public native QStyleSheetItem item( String name);
	public native void insert( QStyleSheetItem item);
	public native void scaleFont( QFont font, int logicalSize);
	public native void error( String arg1);
	public static native QStyleSheet defaultSheet();
	public static native void setDefaultSheet( QStyleSheet arg1);
	public static native String escape( String arg1);
	public static native String convertFromPlainText( String arg1, int mode);
	public static native boolean mightBeRichText( String arg1);
}
