The API changed for rotations, requiring another argument for positions.
[contacts_plasmoid.git] / contactframe.cpp
blob1bd3c6ed6e26d9d77bf02d45c6adc248935db84b
1 #include "contactframe.h"
3 #include <QPainter>
5 ContactFrame::ContactFrame( QGraphicsItem *parent )
6 : QGraphicsWidget( parent )
10 void ContactFrame::setPen( const QPen &pen)
12 mPen = pen;
15 void ContactFrame::paint( QPainter *painter, const QStyleOptionGraphicsItem* option, QWidget *widget)
17 Q_UNUSED( option );
18 Q_UNUSED( widget );
19 painter->setPen(mPen);
20 painter->drawRoundedRect(rect(), 19, 19);