/***************************************************************************
                            qt_QPalette.h -  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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QPALETTE
#define QT_QPALETTE

#include <qtc/qtc_types.h>

/**

* $Id: qt_QPalette.h,v 1.2 2001/11/21 23:26:17 rdale Exp $
*
* Definition of Platinum-like style class
*
* Created : 981231
*
* Copyright (C) 1998-2000 Trolltech AS.  All rights reserved.
*
* This file is part of the widgets module of the Qt GUI Toolkit.
*
* This file may be distributed under the terms of the Q Public License
* as defined by Trolltech AS of Norway and appearing in the file
* LICENSE.QPL included in the packaging of this file.
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation and appearing in the file LICENSE.GPL included in the
* packaging of this file.
*
* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
* licenses may use this file in accordance with the Qt Commercial License
* Agreement provided with the Software.
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
*   information about Qt Commercial License Agreements.
* See http://www.trolltech.com/qpl/ for QPL licensing information.
* See http://www.trolltech.com/gpl/ for GPL licensing information.
*
* Contact info@trolltech.com if any conditions of this licensing are
* not clear to you.
*
********************************************************************
 @short 
* $Id:  qt/qplatinumstyle.
*/
#define QPALETTE_Disabled	0
#define QPALETTE_Active	1
#define QPALETTE_Inactive	2
#define QPALETTE_NColorGroups	3
#define QPALETTE_Normal	QPALETTE_Active
qt_QPalette * qt_new_QPalette();
qt_QPalette * qt_new_QPalette1(qt_QColor * button);
qt_QPalette * qt_new_QPalette2(qt_QColor * button, qt_QColor * background);
qt_QPalette * qt_new_QPalette3(qt_QColorGroup * active, qt_QColorGroup * disabled, qt_QColorGroup * inactive);
qt_QPalette * qt_new_QPalette4(qt_QPalette * arg1);
void qt_del_QPalette( qt_QPalette* p );
qt_QColor * qt_QPalette_color(qt_QPalette* instPointer,int arg1, int arg2);
qt_QBrush * qt_QPalette_brush(qt_QPalette* instPointer,int arg1, int arg2);
void qt_QPalette_setColor(qt_QPalette* instPointer,int arg1, int arg2, qt_QColor * arg3);
void qt_QPalette_setBrush(qt_QPalette* instPointer,int arg1, int arg2, qt_QBrush * arg3);
void qt_QPalette_setColor1(qt_QPalette* instPointer,int arg1, qt_QColor * arg2);
void qt_QPalette_setBrush1(qt_QPalette* instPointer,int arg1, qt_QBrush * arg2);
qt_QPalette * qt_QPalette_copy(qt_QPalette* instPointer);
qt_QColorGroup * qt_QPalette_active(qt_QPalette* instPointer);
qt_QColorGroup * qt_QPalette_disabled(qt_QPalette* instPointer);
qt_QColorGroup * qt_QPalette_inactive(qt_QPalette* instPointer);
qt_QColorGroup * qt_QPalette_normal(qt_QPalette* instPointer);
void qt_QPalette_setActive(qt_QPalette* instPointer,qt_QColorGroup * arg1);
void qt_QPalette_setDisabled(qt_QPalette* instPointer,qt_QColorGroup * arg1);
void qt_QPalette_setInactive(qt_QPalette* instPointer,qt_QColorGroup * arg1);
void qt_QPalette_setNormal(qt_QPalette* instPointer,qt_QColorGroup * cg);
int qt_QPalette_isCopyOf(qt_QPalette* instPointer,qt_QPalette * arg1);
int qt_QPalette_serialNumber(qt_QPalette* instPointer);
int qt_QPalette_foregroundRoleFromMode( int mode);
int qt_QPalette_backgroundRoleFromMode( int mode);

#endif
