From af7da146be4f4c9db69d85e33cc7229bb775e5b2 Mon Sep 17 00:00:00 2001 From: aqua Date: Sat, 3 Sep 2022 14:05:27 +0300 Subject: Add rekonq::DefaultUrl enum --- src/rekonqwindow.hpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/rekonqwindow.hpp') diff --git a/src/rekonqwindow.hpp b/src/rekonqwindow.hpp index ba1fd70f..742adbdb 100644 --- a/src/rekonqwindow.hpp +++ b/src/rekonqwindow.hpp @@ -12,18 +12,11 @@ #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; @@ -38,10 +31,9 @@ public: [[nodiscard]] RekonqView *currentView(); - // bool isPrivateBrowsingMode(); - public slots: int addView(RekonqView *view); + void loadUrl(rekonq::DefaultUrl url, rekonq::OpenType type = rekonq::CurrentTab); void loadUrl(const QUrl &url, rekonq::OpenType type = rekonq::CurrentTab); // void loadUrl(const KUrl &, Rekonq::OpenType type = Rekonq::CurrentTab, TabHistory *history = 0); @@ -51,10 +43,8 @@ private slots: private: Ui::RekonqWindow *ui; - // TabWidget *_tabWidget; QSplitter *_splitter = nullptr; - // QWeakPointer _historyPanel; // QWeakPointer _bookmarksPanel; }; -- cgit v1.2.1