diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-09-03 14:05:27 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-05 23:07:42 +0300 |
commit | af7da146be4f4c9db69d85e33cc7229bb775e5b2 (patch) | |
tree | 2116f86c4679324800aca370986a79270cdef2bd /src/rekonqwindow.hpp | |
parent | Add actions to RekonqView (diff) | |
download | rekonq-af7da146be4f4c9db69d85e33cc7229bb775e5b2.tar.xz |
Add rekonq::DefaultUrl enum
Diffstat (limited to 'src/rekonqwindow.hpp')
-rw-r--r-- | src/rekonqwindow.hpp | 12 |
1 files changed, 1 insertions, 11 deletions
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 <QMainWindow> #include <QSplitter> // 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> _historyPanel; // QWeakPointer<BookmarksPanel> _bookmarksPanel; }; |