src/hbwidgets/popups/hbvolumesliderpopup.h
changeset 34 ed14f46c0e55
parent 0 16d8024aca5e
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
    33 class HB_WIDGETS_EXPORT HbVolumeSliderPopup : public HbSliderPopup
    33 class HB_WIDGETS_EXPORT HbVolumeSliderPopup : public HbSliderPopup
    34 {
    34 {
    35     Q_OBJECT
    35     Q_OBJECT
    36     Q_PROPERTY(bool currentValueVisible READ isCurrentValueVisible 
    36     Q_PROPERTY(bool currentValueVisible READ isCurrentValueVisible 
    37         WRITE setCurrentValueVisible USER true)
    37         WRITE setCurrentValueVisible USER true)
       
    38     Q_PROPERTY(bool muted READ isMuted WRITE setMuted)    
    38 
    39 
    39 public:
    40 public:
    40     explicit HbVolumeSliderPopup();
    41     explicit HbVolumeSliderPopup();
    41     virtual ~HbVolumeSliderPopup();
    42     virtual ~HbVolumeSliderPopup();
    42 
    43 
    43     enum { Type = Hb::ItemType_VolumePopup };
    44     enum { Type = Hb::ItemType_VolumePopup };
    44     int type() const { return Type; }
    45     int type() const { return Type; }
    45 
    46 
    46     void setCurrentValueVisible(bool visible);
    47     void setCurrentValueVisible(bool visible);
    47     bool isCurrentValueVisible()const;
    48     bool isCurrentValueVisible()const;
       
    49     void setMuted( bool mute );
       
    50     bool isMuted( ) const;
    48 
    51 
    49 signals:
    52 signals:
    50     void iconToggled(bool checked); 
    53     void iconToggled(bool checked); 
    51 
    54 
    52 protected:
    55 protected: