aboutsummaryrefslogtreecommitdiff
path: root/include/MainWindow.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-03-09 18:15:12 +0530
committerAkshay Nair <phenax5@gmail.com>2025-03-09 19:42:39 +0530
commit1e2302be2b47fbeb340db7482ed8476c829a7f66 (patch)
treed71091727c79de4c800355c68c98107ba5237040 /include/MainWindow.hpp
parent0e276c49adc1ef38993f1a90b0f87c732331598c (diff)
downloadnull-browser-1e2302be2b47fbeb340db7482ed8476c829a7f66.tar.gz
null-browser-1e2302be2b47fbeb340db7482ed8476c829a7f66.zip
Add browser manager + add multitab management (next/prev/close/new)
Diffstat (limited to 'include/MainWindow.hpp')
-rw-r--r--include/MainWindow.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/MainWindow.hpp b/include/MainWindow.hpp
index 552aa25..fde3178 100644
--- a/include/MainWindow.hpp
+++ b/include/MainWindow.hpp
@@ -4,6 +4,7 @@
#include <QObject>
#include <QWebEngineView>
+#include "BrowserManager.hpp"
#include "CommandInput.hpp"
class MainWindow : public QMainWindow {
@@ -14,9 +15,10 @@ protected:
void keyPressEvent(QKeyEvent *event) override;
void toggleURLInput();
void evaluateCommand(QString command);
- void hideInput();
+ void hideURLInput();
+ void showURLInput();
private:
- QWebEngineView *web;
+ BrowserManager *browserManager;
CommandInput *commandInput;
};