/* ============================================================ * The rekonq project * ============================================================ * SPDX-License-Identifier: GPL-2.0-or-later * Copyright (C) 2013 by Andrea Diamantini * SPDX-License-Identifier: GPL-3.0-only * Copyright (C) 2022 aqua * ============================================================ * Description: Main Window class * ============================================================ */ #pragma once #include "rekonq.hpp" //#include "rwindow.h" //#include "tabwidget.h" //#include "bookmarkspanel.h" //#include "historypanel.h" #include #include // Forward Declarations class RekonqView; // class TabBar; // class WebPage; // class WebWindow; namespace Ui { class RekonqWindow; } class RekonqWindow : public QMainWindow { Q_OBJECT public: explicit RekonqWindow(QWidget *parent = nullptr); // explicit RekonqWindow(WebPage *pg, QWidget *parent = 0); ~RekonqWindow() override; // TabWidget *tabWidget(); // TabBar *tabBar(); // WebWindow *currentWebWindow() const; // bool isPrivateBrowsingMode(); private: // void init(); public slots: void addView(RekonqView *view); // void loadUrl(const KUrl &, Rekonq::OpenType type = Rekonq::CurrentTab, TabHistory *history = 0); private slots: // void showBookmarksPanel(bool); // void showHistoryPanel(bool); private: Ui::RekonqWindow *ui; // TabWidget *_tabWidget; QSplitter *_splitter = nullptr; // QWeakPointer _historyPanel; // QWeakPointer _bookmarksPanel; };