File indexing completed on 2024-05-19 16:41:36

0001 /*
0002     SPDX-FileCopyrightText: 2020 Alexander Lohnau <alexander.lohnau@gmx.de>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "browser.h"
0010 
0011 class Favicon;
0012 
0013 class Falkon : public QObject, public Browser
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit Falkon(QObject *parent = nullptr);
0018     QList<BookmarkMatch> match(const QString &term, bool addEverything) override;
0019 public Q_SLOTS:
0020     void prepare() override;
0021     void teardown() override;
0022 
0023 private:
0024     QString getStartupProfileDir();
0025     QJsonArray m_falkonBookmarkEntries;
0026     QString m_startupProfile;
0027     Favicon *m_favicon;
0028 };