telutils/dialpad/src/dialpadkeypad.cpp
changeset 15 d7fc66ccd6fb
parent 13 e32024264ebb
child 19 e44a8c097b15
equal deleted inserted replaced
13:e32024264ebb 15:d7fc66ccd6fb
    91 
    91 
    92         if (keyCode==Qt::Key_Yes) {
    92         if (keyCode==Qt::Key_Yes) {
    93             button->setStyle(mCallButtonStyle);
    93             button->setStyle(mCallButtonStyle);
    94             HbIcon callIcon(handsetIcon); // todo correct icon
    94             HbIcon callIcon(handsetIcon); // todo correct icon
    95             button->setIcon(callIcon);
    95             button->setIcon(callIcon);
       
    96             button->setButtonType(DialpadButton::CallButton); // for css
    96         } else {
    97         } else {
    97             button->setStyle(mNormalButtonStyle);
    98             button->setStyle(mNormalButtonStyle);
       
    99             button->setButtonType(DialpadButton::NumericButton); // for css
    98         }
   100         }
    99 
   101 
   100         if (keyCode==Qt::Key_1) {
   102         if (keyCode==Qt::Key_1) {
   101             HbIcon mboxIcon(vmbxIcon);
   103             HbIcon mboxIcon(vmbxIcon);
   102             button->setIcon(mboxIcon);
   104             button->setIcon(mboxIcon);