src/hbwidgets/popups/hbsliderpopup.cpp
changeset 7 923ff622b8b9
parent 6 c3690ec91ef8
child 21 4633027730f5
equal deleted inserted replaced
6:c3690ec91ef8 7:923ff622b8b9
    96 void HbSliderPopupPrivate::init()
    96 void HbSliderPopupPrivate::init()
    97 {
    97 {
    98     Q_Q( HbSliderPopup);
    98     Q_Q( HbSliderPopup);
    99     mSliderPopupContentWidget = new HbSliderPopupContentWidget( this );
    99     mSliderPopupContentWidget = new HbSliderPopupContentWidget( this );
   100     q->setContentWidget( mSliderPopupContentWidget );
   100     q->setContentWidget( mSliderPopupContentWidget );
   101     q->setBackgroundItem(HbStyle::P_SliderPopup_background);
   101     setBackgroundItem(HbStyle::P_SliderPopup_background);
   102     HbStyle::setItemName(q->backgroundItem(),QLatin1String("sliderpopup_background"));
   102     HbStyle::setItemName(q->backgroundItem(),QLatin1String("sliderpopup_background"));
   103 
   103 
   104     q->connect(mSliderPopupContentWidget->slider,SIGNAL(valueChanged(int)),q,SLOT(_q_valueChanged(int)));
   104     q->connect(mSliderPopupContentWidget->slider,SIGNAL(valueChanged(int)),q,SLOT(_q_valueChanged(int)));
   105     q->connect(mSliderPopupContentWidget->slider,SIGNAL(sliderPressed()),q,SIGNAL(sliderPressed()));
   105     q->connect(mSliderPopupContentWidget->slider,SIGNAL(sliderPressed()),q,SIGNAL(sliderPressed()));
   106     q->connect(mSliderPopupContentWidget->slider,SIGNAL(sliderReleased()),q,SIGNAL(sliderReleased()));
   106     q->connect(mSliderPopupContentWidget->slider,SIGNAL(sliderReleased()),q,SIGNAL(sliderReleased()));