machanic conversion

sed -i -e
's/Q3CanvasItemList/QList/g;s/Q3CanvasItem/QGraphicsItem/g;s/Q3CanvasPolygon/QGraphicsPolygonItem/g;s/Q3CanvasRectangle/QGraphicsRectItem/g;s/Q3CanvasText/QGraphicsSimpleTextItem/g;s/Q3CanvasSpline/QGraphicsPathItem/g;s/Q3CanvasView/QGraphicsView/g;s/Q3Canvas/QGraphicsScene/g'
$F

http://doc.qt.digia.com/4.2/graphicsview-porting.html
QGraphicsView ctor
rtti() to type()
link to dot format, whitespace
Merge branch 'canvas' into qt4-port
WIP
WIP2 now it compiles
re-enabled debugging prints
converted Q3CanvasPolygonalItem::drawShape() to QGraphicsItem::paint().

but coordinates may be wrong
indentation settings for Emacs
restored graph edge display (fixup b17dc85bb7a879548243430946ceb8d6356e4bfc )
fixing tons of warnings about painting outside paintEvent

by using the proper superclass
log backtrace on qt messages; FIXME singleton, move upstream