qt5base-lts/src
Marc Mutz a41393d0bc QColor: clean up qcolor_p.h
Only qt_get_hex_rgb(const char*, QRgb*) is used outside qcolor.cpp
(in qxpmhandler.cpp), so remove all other function declarations from
qcolor_p.h, and make the functions file-static in qcolor.cpp, removing
their qt_ prefix to avoid confusion.

Exception: it turned out that qt_get_named_rgb(const char *, QRgb*)
wasn't actually used anywhere, but a follow-up commit will fix this.
Adjust interface to that of the QChar overload (add explicit int len).

Simplify conditional compilation of QT_NO_COLORNAMES: move the ifdef
inside get_colornames, to avoid duplicating the declaration, and
remove the empty implementation of get_named_rgb, since their use is
already conditional on QT_NO_COLORNAMES not being defined.

Change-Id: Iaf685dfbea0b9d3bd010448dac0e95be7b097ce5
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2016-09-22 21:20:05 +00:00
..
3rdparty Fix out of source builds on windows 2016-09-16 08:13:39 +00:00
android Fix QtNative.checkSelfPermission() 2016-09-20 11:13:42 +00:00
angle Fix out of source builds 2016-09-22 09:36:30 +00:00
concurrent QtConcurrent: use QDeadlineTimer to get the clock tick 2016-09-15 19:43:57 +00:00
corelib Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-22 07:28:34 +02:00
dbus Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-21 11:57:52 +02:00
gui QColor: clean up qcolor_p.h 2016-09-22 21:20:05 +00:00
network API Review: Don't reorder existing enum values 2016-09-15 17:30:59 +00:00
opengl Merge dev into 5.8 2016-08-22 11:30:01 +02:00
openglextensions Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
platformheaders Merge remote-tracking branch 'origin/5.6' into 5.7 2016-08-22 21:58:45 +02:00
platformsupport eglfs: Add missing virtual layout setting for DRM/KMS 2016-09-22 10:30:13 +00:00
plugins fix -system-sqlite configure option 2016-09-22 21:06:31 +00:00
printsupport Use QString::fromLatin1() less to avoid string allocations 2016-09-15 15:55:57 +00:00
sql fix -system-sqlite configure option 2016-09-22 21:06:31 +00:00
testlib winrt: Differentiate between windows and winrt 2016-09-07 04:54:22 +00:00
tools moc: Fix asserts on moc on empty token preceding ## operator 2016-09-16 07:47:29 +00:00
widgets Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-21 11:57:52 +02:00
winmain Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-21 11:57:52 +02:00
xml Convert the old feature system 2016-09-15 08:24:10 +00:00
src.pro Convert the old feature system 2016-09-15 08:24:10 +00:00