File indexing completed on 2024-05-19 05:01:24
0001 /* 0002 This file is part of the KDE project. 0003 0004 SPDX-FileCopyrightText: 2011 Dawit Alemayehu <adawit@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-or-later 0007 */ 0008 0009 #include "webhistoryinterface.h" 0010 0011 #include <historyprovider.h> 0012 0013 0014 WebHistoryInterface::WebHistoryInterface(QObject* parent) 0015 { 0016 } 0017 0018 void WebHistoryInterface::addHistoryEntry(const QString& url) 0019 { 0020 HistoryProvider::self()->insert(url); 0021 } 0022 0023 bool WebHistoryInterface::historyContains(const QString& url) const 0024 { 0025 return HistoryProvider::self()->contains(url); 0026 }