messagingapp/smartmessaging/ringbc/src/ringbc_p.cpp
changeset 41 25fe1fe642e3
parent 37 518b245aa84c
child 48 4f501b74aeb1
equal deleted inserted replaced
40:224522e33db9 41:25fe1fe642e3
    88         {
    88         {
    89         QDEBUG_WRITE_FORMAT("RingBcPrivate::saveTone Error code =",error)
    89         QDEBUG_WRITE_FORMAT("RingBcPrivate::saveTone Error code =",error)
    90         
    90         
    91         if(error == KErrCorrupt)
    91         if(error == KErrCorrupt)
    92             {
    92             {
    93             HbMessageBox::information("Ringing Tone Corrupted");
    93             HbMessageBox::information("Ringing Tone Corrupted", 0, 0, HbMessageBox::Ok);
    94             QDEBUG_WRITE("RingBcPrivate::saveTone : Ringing tone corrupted")
    94             QDEBUG_WRITE("RingBcPrivate::saveTone : Ringing tone corrupted")
    95             }
    95             }
    96         else if(error == KErrNoMemory || error == KErrDiskFull)
    96         else if(error == KErrNoMemory || error == KErrDiskFull)
    97             {
    97             {
    98             HbMessageBox::information("No memory to save");
    98             HbMessageBox::information("No memory to save", 0, 0, HbMessageBox::Ok);
    99             QDEBUG_WRITE("RingBcPrivate::saveTone : Low memory")
    99             QDEBUG_WRITE("RingBcPrivate::saveTone : Low memory")
   100             }
   100             }
   101         else
   101         else
   102             {
   102             {
   103             HbMessageBox::information("Error in Saving");
   103             HbMessageBox::information("Error in Saving", 0, 0, HbMessageBox::Ok);
   104             QDEBUG_WRITE("RingBcPrivate::saveTone : Error in Saving")
   104             QDEBUG_WRITE("RingBcPrivate::saveTone : Error in Saving")
   105             }
   105             }
   106         }
   106         }
   107     else
   107     else
   108         {
   108         {
   109         HbMessageBox::information("Saved succesfully");
   109         HbMessageBox::information("Saved succesfully", 0, 0, HbMessageBox::Ok);
   110         QDEBUG_WRITE("RingBcPrivate::saveTone : Ringing tone saved successfully")
   110         QDEBUG_WRITE("RingBcPrivate::saveTone : Ringing tone saved successfully")
   111         }
   111         }
   112 
   112 
   113     QDEBUG_WRITE("RingBcPrivate::saveTone : Exit")
   113     QDEBUG_WRITE("RingBcPrivate::saveTone : Exit")
   114     }
   114     }