Use Q_FOREACH in headers.

Downstreams must be able to use QT_NO_KEYWORDS.

Change-Id: Ica75b348c1c9461750b5ae2426557ed8b9e2a8a1
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
bb10
Stephen Kelly 2011-11-26 18:07:03 +01:00 committed by Qt by Nokia
parent e1147dcb4b
commit ff049be072
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ namespace QTest
{
QList<struct QWindowSystemInterface::TouchPoint> newList;
foreach(QTouchEvent::TouchPoint p, pointList)
Q_FOREACH (QTouchEvent::TouchPoint p, pointList)
{
newList.append(touchPoint(p));
}