src/hbcore/style/hbstyleoptionprogressbar.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    30 /*!
    30 /*!
    31     \class HbStyleOptionProgressBar
    31     \class HbStyleOptionProgressBar
    32     \brief HbStyleOptionProgressBar has the style component for progress bar primitives
    32     \brief HbStyleOptionProgressBar has the style component for progress bar primitives
    33 
    33 
    34 */
    34 */
       
    35 
       
    36 
       
    37 /*!
       
    38 
       
    39     \deprecated HbStyleOptionProgressBar::HbStyleOptionProgressBar()
       
    40     is deprecated. Styleoptions will not be public.
       
    41 
       
    42 */
    35 HbStyleOptionProgressBar::HbStyleOptionProgressBar() :
    43 HbStyleOptionProgressBar::HbStyleOptionProgressBar() :
    36     progressValue(0),
    44     progressValue(0),
    37     minimum(0),
    45     minimum(0),
    38     maximum(100),
    46     maximum(100),
    39     inverted(false),
    47     inverted(false),
    40     text(),// deprecated
    48     text(),                             // deprecated
    41     isSlider(false),
    49     isSlider(false),
    42     minText(QString()),
    50     minText(QString()),
    43     maxText(QString()),
    51     maxText(QString()),
    44     orientation(Qt::Horizontal),
    52     orientation(Qt::Horizontal),
    45     thumbIcon(),// deprecated
    53     thumbIcon(),                        // deprecated
    46     maskWidth(0),
    54     maskWidth(0),                       // deprecated
    47     secondoryType(false),
    55     secondaryType(false),
    48     handleState(PlayNormal),// deprecated
    56     handleState(PlayNormal),            // deprecated
    49     sliderState(SliderStatePlayNormal),
    57     sliderState(SliderStatePlayNormal), // deprecated
    50     minMaxTextAlignment(Qt::AlignCenter)
    58     minMaxTextAlignment(Qt::AlignCenter)
    51 {
    59 {
    52     type = Type;
    60     type = Type;
    53     version = Version;
    61     version = Version;
    54 }
    62 }
    55 
    63 
       
    64 
       
    65 /*!
       
    66 
       
    67     \deprecated HbStyleOptionProgressBar::HbStyleOptionProgressBar(const HbStyleOptionProgressBar&)
       
    68     is deprecated. Styleoptions will not be public.
       
    69 
       
    70 */
    56 HbStyleOptionProgressBar::HbStyleOptionProgressBar(const HbStyleOptionProgressBar &other) :
    71 HbStyleOptionProgressBar::HbStyleOptionProgressBar(const HbStyleOptionProgressBar &other) :
    57     HbStyleOption(other),
    72     HbStyleOption(other),
    58     progressValue(other.progressValue),
    73     progressValue(other.progressValue),
    59     minimum(other.minimum),
    74     minimum(other.minimum),
    60     maximum(other.maximum),
    75     maximum(other.maximum),
    61     inverted(other.inverted),
    76     inverted(other.inverted),
    62     text(other.text),// deprecated
    77     text(other.text),                   // deprecated
    63     isSlider(other.isSlider),
    78     isSlider(other.isSlider),
    64     minText(other.minText),
    79     minText(other.minText),
    65     maxText(other.maxText),
    80     maxText(other.maxText),
    66     orientation(other.orientation),
    81     orientation(other.orientation),
    67     thumbIcon(other.thumbIcon),
    82     thumbIcon(other.thumbIcon),         // deprecated
    68     maskWidth(other.maskWidth),
    83     maskWidth(other.maskWidth),         // deprecated
    69     secondoryType(other.secondoryType),
    84     secondaryType(other.secondaryType),
    70     handleState(other.handleState),
    85     handleState(other.handleState),     // deprecated
    71     sliderState(other.sliderState),
    86     sliderState(other.sliderState),     // deprecated
    72     minMaxTextAlignment(other.minMaxTextAlignment)
    87     minMaxTextAlignment(other.minMaxTextAlignment)
    73 {
    88 {
    74     type = Type;
    89     type = Type;
    75     version = Version;
    90     version = Version;
    76 }
    91 }