diff -r 2313cb430f28 -r d841fb1cc818 telutils/dialpad/src/dialpadnumericbutton.cpp --- a/telutils/dialpad/src/dialpadnumericbutton.cpp Fri Sep 17 08:33:29 2010 +0300 +++ b/telutils/dialpad/src/dialpadnumericbutton.cpp Mon Oct 04 00:54:29 2010 +0300 @@ -38,32 +38,37 @@ return mIcon; } -void DialpadNumericButton::setText(const QString& text) +QString DialpadNumericButton::iconName() const { - mText = text; + return mIcon.iconName(); } -QString DialpadNumericButton::text() const +void DialpadNumericButton::setPrimaryLabel(const QString& value) { - return mText; + mPrimaryLabel = value; } -void DialpadNumericButton::setSecondaryText(const QString& text) +QString DialpadNumericButton::primaryLabel() const { - mSecondaryText = text; + return mPrimaryLabel; } -QString DialpadNumericButton::secondaryText() const +void DialpadNumericButton::setSecondaryLabel(const QString& value) { - return mSecondaryText; + mSecondaryLabel = value; +} + +QString DialpadNumericButton::secondaryLabel() const +{ + return mSecondaryLabel; } -void DialpadNumericButton::setSecondary2ndRowText(const QString& text) +void DialpadNumericButton::setSecondaryLabelRow2(const QString& value) { - mSecondaryTextRow2 = text; + mSecondaryLabelRow2 = value; } -QString DialpadNumericButton::secondary2ndRowText() const +QString DialpadNumericButton::secondaryLabelRow2() const { - return mSecondaryTextRow2; + return mSecondaryLabelRow2; }