qt5base-lts/tests/auto/widgets
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
..
dialogs Fix bug when destruction fields in QWizard 2012-05-16 22:03:30 +02:00
effects Add header qtest_widgets.h, similar to qtest_gui.h, but for QApplication. 2012-05-16 19:37:33 +02:00
graphicsview Remove capitalization when specifying include-libraries. 2012-05-14 21:34:08 +02:00
itemviews Remove capitalization when specifying include-libraries. 2012-05-14 21:34:08 +02:00
kernel QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00
styles Re-enable the QMacStyle test. 2012-04-24 12:49:48 +02:00
util Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtWidgets] 2012-05-03 06:10:20 +02:00
widgets Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00