| 451 | |
| 452 | |
| 453 | void NWebView::setTitleEditor(NTitleEditor *editor) { |
| 454 | titleEditor = editor; |
| 455 | if (editor == NULL) |
| 456 | return; |
| 457 | connect(page(), SIGNAL(contentsChanged()), this, SLOT(setDefaultTitle())); |
| 458 | } |
| 459 | |
| 460 | |
| 461 | void NWebView::setDefaultTitle() { |