messagingapp/msgnotifications/msgindicatorplugin/src/msgindicator.cpp
changeset 43 35b64624a9e7
parent 34 84197e66a4bd
child 47 5b14749788d7
child 52 12db4185673b
equal deleted inserted replaced
34:84197e66a4bd 43:35b64624a9e7
    40 #define LOC_FAILED_SINGLE_MESSAGE hbTrId("Failed Message")
    40 #define LOC_FAILED_SINGLE_MESSAGE hbTrId("Failed Message")
    41 #define LOC_FAILED_MULTIPLE_MESSAGES hbTrId("Failed Messages")
    41 #define LOC_FAILED_MULTIPLE_MESSAGES hbTrId("Failed Messages")
    42 #define LOC_OUTGOING_SINGLE_MESSAGE hbTrId("Outgoing Message")
    42 #define LOC_OUTGOING_SINGLE_MESSAGE hbTrId("Outgoing Message")
    43 #define LOC_OUTGOING_MULTIPLE_MESSAGES hbTrId("Outgoing Messages")
    43 #define LOC_OUTGOING_MULTIPLE_MESSAGES hbTrId("Outgoing Messages")
    44 #define STATUS_MONO_NEW_MESSAGE QString("qtg_status_new_message")
    44 #define STATUS_MONO_NEW_MESSAGE QString("qtg_status_new_message")
       
    45 #define LOC_BUSINESSCARD hbTrId("Business card")
    45 /**
    46 /**
    46  * The number of indicators.
    47  * The number of indicators.
    47  */
    48  */
    48 static const int MsgIndicatorCount = 4;
    49 static const int MsgIndicatorCount = 4;
    49 
    50 
   317         if (info.mFromSingle) {
   318         if (info.mFromSingle) {
   318             if (ECsBlueTooth == info.mMessageType) {
   319             if (ECsBlueTooth == info.mMessageType) {
   319                 QFileInfo fname(secondaryText);
   320                 QFileInfo fname(secondaryText);
   320                 secondaryText = fname.fileName();
   321                 secondaryText = fname.fileName();
   321             }
   322             }
       
   323             else if(ECsBioMsg_VCard == info.mMessageType) {
       
   324             secondaryText = LOC_BUSINESSCARD;
       
   325             }
   322         }
   326         }
   323         else {
   327         else {
   324             info.mConversationId = -100;
   328             info.mConversationId = -100;
   325         }
   329         }
   326     }
   330     }