telutils/dialpad/src/dialpadnumericbutton.cpp
changeset 52 d841fb1cc818
parent 50 2313cb430f28
equal deleted inserted replaced
50:2313cb430f28 52:d841fb1cc818
    36 HbIcon& DialpadNumericButton::icon()
    36 HbIcon& DialpadNumericButton::icon()
    37 {
    37 {
    38     return mIcon;
    38     return mIcon;
    39 }
    39 }
    40 
    40 
    41 void DialpadNumericButton::setText(const QString& text)
    41 QString DialpadNumericButton::iconName() const
    42 {
    42 {
    43     mText = text;
    43     return mIcon.iconName();
    44 }
    44 }
    45 
    45 
    46 QString DialpadNumericButton::text() const
    46 void DialpadNumericButton::setPrimaryLabel(const QString& value)
    47 {
    47 {
    48     return mText;
    48     mPrimaryLabel = value;
    49 }
    49 }
    50 
    50 
    51 void DialpadNumericButton::setSecondaryText(const QString& text)
    51 QString DialpadNumericButton::primaryLabel() const
    52 {
    52 {
    53     mSecondaryText = text;
    53     return mPrimaryLabel;
    54 }
    54 }
    55 
    55 
    56 QString DialpadNumericButton::secondaryText() const
    56 void DialpadNumericButton::setSecondaryLabel(const QString& value)
    57 {
    57 {
    58     return mSecondaryText;
    58     mSecondaryLabel = value;
    59 }
    59 }
    60 
    60 
    61 void DialpadNumericButton::setSecondary2ndRowText(const QString& text)
    61 QString DialpadNumericButton::secondaryLabel() const
    62 {
    62 {
    63     mSecondaryTextRow2 = text;
    63     return mSecondaryLabel;
    64 }
    64 }
    65 
    65 
    66 QString DialpadNumericButton::secondary2ndRowText() const
    66 void DialpadNumericButton::setSecondaryLabelRow2(const QString& value)
    67 {
    67 {
    68     return mSecondaryTextRow2;
    68     mSecondaryLabelRow2 = value;
    69 }
    69 }
       
    70 
       
    71 QString DialpadNumericButton::secondaryLabelRow2() const
       
    72 {
       
    73     return mSecondaryLabelRow2;
       
    74 }