Changeset 17:4ccf03de3794
- Timestamp:
- 09/13/07 11:22:57
(1 year ago)
- Author:
- Nikita@Luc
- Message:
slit from
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r11 |
r17 |
|
| 87 | 87 | {*/ |
|---|
| 88 | 88 | QString str = textEdit->toPlainText(); |
|---|
| 89 | | phapi->sendMessage(ligneSelected,"",str); |
|---|
| | 89 | qDebug() << phapi->mapCallInfo.value(callSelected)->contact; |
|---|
| | 90 | phapi->sendMessage(ligneSelected,"sip:MySelf@192.168.10.144",str); |
|---|
| 90 | 91 | textBrowser->append(QTime::currentTime().toString()+" "+phapi->mapLineInfo.value(ligneSelected).pseudo+"\n"+str+"\n"); |
|---|
| 91 | 92 | textEdit->clear(); |
|---|
| r12 |
r17 |
|
| 335 | 335 | else |
|---|
| 336 | 336 | inf->contact = contact.section( ":",1,1).section("@",0,0) ; |
|---|
| | 337 | |
|---|
| | 338 | //int pos1 = str.indexOf("<sip:")+5; |
|---|
| | 339 | |
|---|
| | 340 | if(inf->contact.contains(">")) |
|---|
| | 341 | { |
|---|
| | 342 | int pos2 = inf->contact.indexOf(">"); |
|---|
| | 343 | inf->contact = inf->contact.left(pos2); |
|---|
| | 344 | } |
|---|
| | 345 | inf->contact = inf->contact.remove("<").remove(">"); |
|---|
| | 346 | |
|---|
| 337 | 347 | inf->in = true; |
|---|
| 338 | 348 | inf->line = line; |
|---|
| … | … | |
| 351 | 361 | else |
|---|
| 352 | 362 | inf->contact = contact.section( ":",1,1).section("@",0,0) ; |
|---|
| | 363 | |
|---|
| | 364 | inf->contact = inf->contact.remove("<").remove(">"); |
|---|
| 353 | 365 | inf->in = false; |
|---|
| 354 | 366 | inf->line = line; |
|---|