void View::changeRotateY(int value) { kDebug() << __FUNCTION__ << ": value: " << value < items; if(scene()->selectedItems().count() == 0) return; foreach (QGraphicsItem *item, scene()->selectedItems()){ if(Item *item = qgraphicsitem_cast(item)) item->setRotateY(value); // items << item; } kDebug() << __FUNCTION__ << ": items count: " << items.count() << endl; // foreach(Item *item, items){ // item->setRotateY(value); // kDebug() << __FUNCTION__ << ": cambiando valorY " << endl; // } // kDebug() << __FUNCTION__ << ": saliendo " << endl; }