qt5base-lts/tests/auto
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
..
cmake Use IF(NOT TARGET ...) before creating imported targets. 2012-05-15 23:03:23 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove insignification from QtConcurrentFilter test. 2012-04-19 13:26:51 +02:00
corelib Add test of automated container metatype declaration. 2012-05-18 15:22:22 +02:00
dbus Fix unit confusion in ccf3b9e48b2d773999a9a88e249f79380618cde6 2012-05-02 22:49:26 +02:00
gui QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network tst_QNetworkReply: enable the ioGetFromBuiltinHttp test. 2012-05-16 04:24:38 +02:00
opengl Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
other enable the text layout's cache where it is seems to be missed 2012-05-16 19:38:01 +02:00
printsupport Revert "QtPrintSupport: Remove remaining LPR specific code" 2012-05-08 06:58:27 +02:00
shared Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
sql Fix encoding mismatches in tst_QSqlQuery 2012-05-07 05:03:17 +02:00
testlib Make the event notification on Windows be mandatory in all dispatchers 2012-05-04 12:44:14 +02:00
tools Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtDBus] 2012-05-07 05:05:30 +02:00
widgets QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00
xml Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtXml] 2012-05-03 11:33:05 +02:00
auto.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00
network-settings.h Don't require exact IMAP server version in autotests 2012-04-03 12:45:46 +02:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00