mirror of
https://invent.kde.org/network/falkon.git
synced 2024-09-23 10:42:11 +02:00
19 lines
399 B
C++
19 lines
399 B
C++
#include "webhistoryinterface.h"
|
|
#include "mainapplication.h"
|
|
#include "historymodel.h"
|
|
|
|
WebHistoryInterface::WebHistoryInterface(QObject *parent) :
|
|
QWebHistoryInterface(parent)
|
|
{
|
|
}
|
|
|
|
void WebHistoryInterface::addHistoryEntry(const QString &url)
|
|
{
|
|
m_clickedLinks.append(url);
|
|
}
|
|
|
|
bool WebHistoryInterface::historyContains(const QString &url) const
|
|
{
|
|
return m_clickedLinks.contains(url);
|
|
}
|