- disconnect(oldActiveView, SIGNAL(urlChanged(QUrl)),
- this, SIGNAL(activeViewUrlChanged(QUrl)));
- disconnect(oldActiveView, SIGNAL(redirection(QUrl,QUrl)),
- this, SLOT(slotViewUrlRedirection(QUrl,QUrl)));
- connect(newActiveView, SIGNAL(urlChanged(QUrl)),
- this, SIGNAL(activeViewUrlChanged(QUrl)));
- connect(newActiveView, SIGNAL(redirection(QUrl,QUrl)),
- this, SLOT(slotViewUrlRedirection(QUrl,QUrl)));
+ disconnect(oldActiveView, &DolphinView::urlChanged,
+ this, &DolphinTabPage::activeViewUrlChanged);
+ disconnect(oldActiveView, &DolphinView::redirection,
+ this, &DolphinTabPage::slotViewUrlRedirection);
+ connect(newActiveView, &DolphinView::urlChanged,
+ this, &DolphinTabPage::activeViewUrlChanged);
+ connect(newActiveView, &DolphinView::redirection,
+ this, &DolphinTabPage::slotViewUrlRedirection);