Eneboo - Documentación para desarrolladores
|
00001 /**************************************************************************** 00002 ** $Id: qt/qcolor_p.h 3.3.8 edited Jan 11 14:46 $ 00003 ** 00004 ** Named color support for non-X platforms. 00005 ** The color names have been borrowed from X. 00006 ** 00007 ** Created : 000228 00008 ** 00009 ** Copyright (C) 2005-2007 Trolltech ASA. All rights reserved. 00010 ** 00011 ** This file is part of the kernel module of the Qt GUI Toolkit. 00012 ** 00013 ** This file may be distributed under the terms of the Q Public License 00014 ** as defined by Trolltech ASA of Norway and appearing in the file 00015 ** LICENSE.QPL included in the packaging of this file. 00016 ** 00017 ** This file may be distributed and/or modified under the terms of the 00018 ** GNU General Public License version 2 as published by the Free Software 00019 ** Foundation and appearing in the file LICENSE.GPL included in the 00020 ** packaging of this file. 00021 ** 00022 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition 00023 ** licenses may use this file in accordance with the Qt Commercial License 00024 ** Agreement provided with the Software. 00025 ** 00026 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00027 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00028 ** 00029 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for 00030 ** information about Qt Commercial License Agreements. 00031 ** See http://www.trolltech.com/qpl/ for QPL licensing information. 00032 ** See http://www.trolltech.com/gpl/ for GPL licensing information. 00033 ** 00034 ** Contact info@trolltech.com if any conditions of this licensing are 00035 ** not clear to you. 00036 ** 00037 **********************************************************************/ 00038 00039 #ifndef QCOLOR_P_H 00040 #define QCOLOR_P_H 00041 00042 00043 // 00044 // W A R N I N G 00045 // ------------- 00046 // 00047 // This file is not part of the Qt API. It exists for the convenience 00048 // of qmenudata.cpp, qmenubar.cpp, qmenubar.cpp, qpopupmenu.cpp, 00049 // qmotifstyle.cpp and qwindowssstyle.cpp. This header file may change 00050 // from version to version without notice, or even be removed. 00051 // 00052 // We mean it. 00053 // 00054 // 00055 00056 #ifndef QT_H 00057 #endif // QT_H 00058 00059 extern uint qt_get_rgb_val( const char *name ); 00060 extern bool qt_get_named_rgb( const char *, QRgb* ); 00061 extern void qt_reset_color_avail(); 00062 00063 #endif