qt5base-lts/tests/auto/widgets/kernel
Olivier Goffart 6c06e14a49 QIcon: move back to QtGui
-  Move the files and tests
git mv src/widgets/kernel/qicon* qrc/gui/image/
git mv tests/auto/widgets/kernel/qicon/ tests/auto/gui/image/

 - update the include of QIcon
git grep -O"sed -i s,QtWidgets/qicon,QtGui/qicon," "QtWidgets/qicon"
git grep -O"sed -i s,QtWidgets/QIcon,QtGui/QIcon," "QtWidgets/QIcon"

 - Adapt QIcon \ingroup documentation
sed -i s/QtWidgets/QtGui/ src/gui/images/qicon*

 - Adapt export macro
sed -i s/Q_WIDGETS_EXPORT/Q_GUI_EXPORT/g src/gui/image/qicon*

 - Update .pri and .pro files

 - Remove the use of QStyle::alignedRect by copying its content (and
   adapt slightly

 - Use QGuiApplication::palette() instead of QApplication::palette()

 - Add a hook in QGuiApplicationPrivate to call the
   QStyle::generatedIconPixmap() from QtWidgets

Another commit follows to adjust QMetaType::Icon and move the QVariant
and QMetaType icon handler back in QtGui

Change-Id: I1b63759f892ebc02dfc30f41bb6e76e0b7451182
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
2012-05-18 21:42:38 +02:00
..
qaction Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
qactiongroup Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qapplication Use QFile::{encode,decode}Name to deal with QT_PLUGIN_PATH 2012-05-04 15:24:52 +02:00
qboxlayout Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdesktopwidget Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qformlayout Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgridlayout Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtWidgets] 2012-05-03 06:10:20 +02:00
qlayout QLayoutItem - make controlTypes a virtual function. 2012-04-13 10:17:44 +02:00
qshortcut Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtWidgets] 2012-05-03 06:10:20 +02:00
qstackedlayout Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtooltip Cocoa: Improve basic window handling. 2012-03-14 23:02:12 +01:00
qwidget Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
qwidget_window Improve widget geometry. 2012-05-09 13:40:16 +02:00
qwidgetaction Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
kernel.pro QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00