summaryrefslogtreecommitdiff
path: root/src/rekonqwindow.hpp
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-09-03 14:05:27 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-09-05 23:07:42 +0300
commitaf7da146be4f4c9db69d85e33cc7229bb775e5b2 (patch)
tree2116f86c4679324800aca370986a79270cdef2bd /src/rekonqwindow.hpp
parentAdd actions to RekonqView (diff)
downloadrekonq-af7da146be4f4c9db69d85e33cc7229bb775e5b2.tar.xz
Add rekonq::DefaultUrl enum
Diffstat (limited to 'src/rekonqwindow.hpp')
-rw-r--r--src/rekonqwindow.hpp12
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;
};