src/hbwidgets/popups/hbsliderpopup.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
   462     Q_D(HbSliderPopup);
   462     Q_D(HbSliderPopup);
   463     d->mSliderPopupContentWidget->slider->setMinorTickLabels(minorTickLabels);
   463     d->mSliderPopupContentWidget->slider->setMinorTickLabels(minorTickLabels);
   464 }
   464 }
   465 
   465 
   466 /*!
   466 /*!
   467     \deprecated
   467     \deprecated HbSliderPopup::icon(HbSlider::SliderElement)
       
   468         is deprecated.Please use elementIcons() instead.
       
   469 
   468     Returns the icon of the \a element.
   470     Returns the icon of the \a element.
   469 
   471 
   470     returns NULL if element does not exist or icon was not set for this element
   472     returns NULL if element does not exist or icon was not set for this element
   471 
   473 
   472     \sa setIcon()
   474     \sa setIcon()
   477     Q_D(const HbSliderPopup);
   479     Q_D(const HbSliderPopup);
   478     return(d->mSliderPopupContentWidget->slider->icon(element));
   480     return(d->mSliderPopupContentWidget->slider->icon(element));
   479 }
   481 }
   480 
   482 
   481 /*!
   483 /*!
   482     \deprecated
   484     \deprecated HbSliderPopup::setIcon(HbSlider::SliderElement, const HbIcon&)
       
   485         is deprecated.Please use setElementIcons() instead.
       
   486 
   483     Sets the \a icon if the \a element.
   487     Sets the \a icon if the \a element.
   484 
   488 
   485     Supported elements:
   489     Supported elements:
   486     \li HbSlider::IncreaseElement
   490     \li HbSlider::IncreaseElement
   487     \li HbSlider::DecreaseElement
   491     \li HbSlider::DecreaseElement
   605     Q_D(HbSliderPopup);
   609     Q_D(HbSliderPopup);
   606     d->mSliderPopupContentWidget->slider->setInvertedAppearance(inverted);
   610     d->mSliderPopupContentWidget->slider->setInvertedAppearance(inverted);
   607  }
   611  }
   608 
   612 
   609 /*!
   613 /*!
   610     \deprecated
   614     \deprecated HbSliderPopup::elements() const
       
   615         is deprecated.Please use sliderElements() instead.
       
   616 
   611     Returns the elements of the slider.
   617     Returns the elements of the slider.
   612 
   618 
   613     The slider contains only track element by default.
   619     The slider contains only track element by default.
   614 
   620 
   615     \sa setElements()
   621     \sa setElements()
   620     Q_D(const HbSliderPopup);
   626     Q_D(const HbSliderPopup);
   621     return (d->mSliderPopupContentWidget->slider->elements());
   627     return (d->mSliderPopupContentWidget->slider->elements());
   622 }
   628 }
   623 
   629 
   624 /*!
   630 /*!
   625     \deprecated
   631     \deprecated HbSliderPopup::setElements(const QList<HbSlider::SliderElement>&)
       
   632         is deprecated.Please use setSliderElements instead.
       
   633 
   626     Sets the elements of the slider.
   634     Sets the elements of the slider.
   627 
   635 
   628     \note Duplicate elements will be ignored.
   636     \note Duplicate elements will be ignored.
   629 
   637 
   630     \note element order cant be changed
   638     \note element order cant be changed
  1058 
  1066 
  1059 }
  1067 }
  1060 
  1068 
  1061 
  1069 
  1062 /*!
  1070 /*!
       
  1071 
       
  1072     \deprecated HbSliderPopup::primitive(HbStyle::Primitive)
       
  1073         is deprecated.
       
  1074 
  1063     \reimp
  1075     \reimp
  1064  */
  1076  */
  1065 QGraphicsItem * HbSliderPopup::primitive(HbStyle::Primitive primitive) const
  1077 QGraphicsItem * HbSliderPopup::primitive(HbStyle::Primitive primitive) const
  1066 {
  1078 {
  1067     Q_D(const HbSliderPopup);
  1079     Q_D(const HbSliderPopup);