diff -r 730c025d4b77 -r f378acbc9cfb src/hbcore/primitives/hbtoucharea.cpp --- a/src/hbcore/primitives/hbtoucharea.cpp Thu Jul 15 14:03:49 2010 +0100 +++ b/src/hbcore/primitives/hbtoucharea.cpp Thu Jul 22 16:36:53 2010 +0100 @@ -30,9 +30,9 @@ #include #include #include +#include #include #include -#include bool HbTouchAreaPrivate::outlinesEnabled = false; @@ -62,7 +62,7 @@ // Because this method is static we need to toggle QGraphicsItem::ItemHasNoContents flag // value hard way. This is RnD feature anyway. foreach (HbMainWindow *window, hbInstance->allMainWindows()) { - QGraphicsScene *scene = static_cast(window->scene()); + QGraphicsScene *scene = static_cast(window->scene()); //krazy:exclude=qclasses foreach( QGraphicsItem *item, scene->items() ) { if (HbTouchArea *widget = qgraphicsitem_cast(item)) { widget->setFlag(QGraphicsItem::ItemHasNoContents, !enabled); @@ -132,7 +132,7 @@ // The paint method is called only if HbTouchAreaPrivate::outlinesEnabled is true (RnD feature) // because flag QGraphicsItem::ItemHasNoContents is set otherwise. if (HbTouchAreaPrivate::outlinesEnabled) { - painter->setPen(Qt::red); + painter->setPen(Qt::red); //krazy:exclude=qenums painter->drawLine(contentsRect().topLeft(), contentsRect().bottomRight()); painter->drawLine(contentsRect().topRight(), contentsRect().bottomLeft()); painter->setBrush(QBrush(QColor(255, 0, 0, 50)));