/***************************************************************************
                            QStyleSheet.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 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 12:08:37 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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QSTYLESHEET_H
#define QSTYLESHEET_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QObject.h>

@class QStyleSheetItem;
@class QFont;

@interface QStyleSheet : QObject 
- initWithObject: (QObject *)parent name: (NSString *)name;
- init;
- (void) dealloc;
- (QStyleSheetItem*) item: (NSString *)name;
- (QStyleSheetItem*) item: (NSString *)name;
- insert: (QStyleSheetItem*)item;
- scaleFont: (QFont *)font logicalSize: (int)logicalSize;
- error: (NSString *)arg1;
+ (QStyleSheet*) defaultSheet;
+ setDefaultSheet: (QStyleSheet*)arg1;
+ (NSString *) escape: (NSString *)arg1;
//+ (NSString *) convertFromPlainText: (NSString *)arg1 mode: (int)mode;
+ (BOOL) mightBeRichText: (NSString *)arg1;
@end

/** Override these methods in subclasses of QStyleSheet to customise event handling behaviour */
@protocol QStyleSheetEventHandling
- childEvent:(QChildEvent*) arg1;
- customEvent:(QCustomEvent*) arg1;
- timerEvent:(QTimerEvent*) arg1;
@end


#endif
