File indexing completed on 2024-05-19 16:41:36
0001 /* 0002 SPDX-FileCopyrightText: 2007 Glenn Ergeerts <glenn.ergeerts@telenet.be> 0003 SPDX-FileCopyrightText: 2012 Marco Gulino <marco.gulino@xpeppers.com> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #pragma once 0009 0010 #include "browser.h" 0011 #include "favicon.h" 0012 class KBookmarkManager; 0013 class Favicon; 0014 0015 class KDEFavicon : public Favicon 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit KDEFavicon(QObject *parent = nullptr); 0020 QIcon iconFor(const QString &url) override; 0021 }; 0022 0023 class Konqueror : public QObject, public Browser 0024 { 0025 Q_OBJECT 0026 public: 0027 explicit Konqueror(QObject *parent = nullptr); 0028 QList<BookmarkMatch> match(const QString &term, bool addEverything) override; 0029 0030 public Q_SLOTS: 0031 void teardown() override 0032 { 0033 } 0034 0035 private: 0036 KBookmarkManager *const m_bookmarkManager; 0037 Favicon *const m_favicon; 0038 };