// Write virtual function overries used to decide on static/virtual calls void QWebHistoryInterface_QtDShell::__override_addHistoryEntry(const QString& url0, bool static_call) { if (static_call) { return; } else { addHistoryEntry((const QString& )url0); } }
void HistoryManager::addHistoryEntry(const QString &url) { QUrl cleanUrl(url); cleanUrl.setPassword(QString()); cleanUrl.setHost(cleanUrl.host().toLower()); HistoryEntry item(atomicString(cleanUrl.toString()), QDateTime::currentDateTime()); addHistoryEntry(item); }
// AddHistoryEntry void HistoryModel::addHistoryEntry(WebView* view) { if (!m_isSaving) { return; } const QUrl &url = view->url(); const QString &title = view->title(); addHistoryEntry(url, title); }