1
/****************************************************************************
4
** Named color support for non-X platforms.
5
** The color names have been borrowed from X.
9
** Copyright (C) 2000 Trolltech AS. All rights reserved.
11
** This file is part of the kernel module of the Qt GUI Toolkit.
13
** This file may be distributed under the terms of the Q Public License
14
** as defined by Trolltech AS of Norway and appearing in the file
15
** LICENSE.QPL included in the packaging of this file.
17
** This file may be distributed and/or modified under the terms of the
18
** GNU General Public License version 2 as published by the Free Software
19
** Foundation and appearing in the file LICENSE.GPL included in the
20
** packaging of this file.
22
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
23
** licenses may use this file in accordance with the Qt Commercial License
24
** Agreement provided with the Software.
26
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
27
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
29
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
30
** information about Qt Commercial License Agreements.
31
** See http://www.trolltech.com/qpl/ for QPL licensing information.
32
** See http://www.trolltech.com/gpl/ for GPL licensing information.
34
** Contact info@trolltech.com if any conditions of this licensing are
37
**********************************************************************/
47
// This file is not part of the Qt API. It exists for the convenience
48
// of qmenudata.cpp, qmenubar.cpp, qmenubar.cpp, qpopupmenu.cpp,
49
// qmotifstyle.cpp and qwindowssstyle.cpp. This header file may change
50
// from version to version without notice, or even be removed.
59
extern uint qt_get_rgb_val( const char *name );
60
extern bool qt_get_named_rgb( const char *, QRgb* );
61
extern void qt_reset_color_avail();