telutils/dialpad/src/dialpadnumericbutton.cpp
changeset 48 78df25012fda
parent 46 2fa1fa551b0b
--- a/telutils/dialpad/src/dialpadnumericbutton.cpp	Fri Sep 03 13:59:20 2010 +0300
+++ b/telutils/dialpad/src/dialpadnumericbutton.cpp	Fri Sep 17 17:09:13 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;
 }