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 } |