| 770 | } |
| 771 | |
| 772 | void InlineChatWidget::reset() |
| 773 | { |
| 774 | if (d->chatInfo.fileName.isEmpty()) |
| 775 | return; |
| 776 | |
| 777 | d->edit->clear(); |
| 778 | d->handleReject(); |
| 779 | if (d->selectionMarker != -1) |
| 780 | d->editSrv->clearAllBackgroundColor(d->chatInfo.fileName, d->selectionMarker); |
| 781 | d->prevState = InlineChatWidgetPrivate::Original; |
| 782 | d->chatInfo.clear(); |
| 783 | } |
| 784 | |
| 785 | void InlineChatWidget::keyPressEvent(QKeyEvent *e) |
| 786 | { |
no test coverage detected