/* ============================================================ * The rekonq project * ============================================================ * SPDX-License-Identifier: GPL-3.0-only * Copyright (C) 2022 aqua * ============================================================ * Description: View Interface * ============================================================ */ #pragma once #include #include class rView : public QWidget { Q_OBJECT public: explicit rView(const QUrl &url = QUrl(), QWidget *parent = nullptr) : QWidget(parent) {} [[nodiscard]] virtual QString title() const = 0; signals: void iconChanged(const QIcon &); void urlChanged(const QUrl &); void titleChanged(const QString &); };