src/hbcore/style/hbstyleoptionlabel.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    53 /*!
    53 /*!
    54     \var HbStyleOptionLabel::aspectRatioMode
    54     \var HbStyleOptionLabel::aspectRatioMode
    55     Aspect ratio mode of icon. 
    55     Aspect ratio mode of icon. 
    56 */
    56 */
    57 
    57 
       
    58 
       
    59 /*!
       
    60 
       
    61     \deprecated   HbStyleOptionLabel::HbStyleOptionLabel()
       
    62     is deprecated. Styleoptions will not be public.
       
    63 
       
    64 */
    58 HbStyleOptionLabel::HbStyleOptionLabel() : HbStyleOption(HbSO_Label),
    65 HbStyleOptionLabel::HbStyleOptionLabel() : HbStyleOption(HbSO_Label),
    59     text(),
    66     text(),
    60     fontSpec(), /*HbFontSpec::Primary*/
    67     fontSpec(), /*HbFontSpec::Primary*/
    61     elideMode(Qt::ElideRight),
    68     elideMode(Qt::ElideRight),
    62     textWrapMode(Hb::TextNoWrap),
    69     textWrapMode(Hb::TextNoWrap),
    66 {
    73 {
    67     type = Type;
    74     type = Type;
    68     version = Version;
    75     version = Version;
    69 }
    76 }
    70 
    77 
       
    78 
       
    79 /*!
       
    80 
       
    81     \deprecated HbStyleOptionLabel::HbStyleOptionLabel(const HbStyleOptionLabel&) 
       
    82     is deprecated. Styleoptions will not be public.
       
    83 
       
    84 */
    71 HbStyleOptionLabel::HbStyleOptionLabel(const HbStyleOptionLabel &other) :
    85 HbStyleOptionLabel::HbStyleOptionLabel(const HbStyleOptionLabel &other) :
    72     HbStyleOption(other),
    86     HbStyleOption(other),
    73     text(other.text),
    87     text(other.text),
    74     fontSpec(other.fontSpec),
    88     fontSpec(other.fontSpec),
    75     elideMode(other.elideMode),
    89     elideMode(other.elideMode),