src/hbcore/gui/hbfadeitem.cpp
changeset 21 4633027730f5
parent 7 923ff622b8b9
equal deleted inserted replaced
7:923ff622b8b9 21:4633027730f5
    65 
    65 
    66 void HbFadeItemPrivate::init()
    66 void HbFadeItemPrivate::init()
    67 {
    67 {
    68     Q_Q(HbFadeItem);
    68     Q_Q(HbFadeItem);
    69 
    69 
    70     setBackgroundItem(HbStyle::P_Fade_background);
    70     setBackgroundItem(HbStylePrivate::P_Fade_background);
    71 
    71 
    72     q->setAcceptHoverEvents(true);
    72     q->setAcceptHoverEvents(true);
    73     // This is needed to be able to block moving the focus to items behind background item by
    73     // This is needed to be able to block moving the focus to items behind background item by
    74     // clicking on them.
    74     // clicking on them.
    75     q->setFlag(QGraphicsItem::ItemIsFocusable);
    75     q->setFlag(QGraphicsItem::ItemIsFocusable);