diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-11 23:02:44 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-12 00:13:47 +0530 |
| commit | 35d8464f8975ab35c1e2f1a076302d9f95bfb22c (patch) | |
| tree | 0b4e26e36fb27dd32c0e174e4ef829f1f77c1daf /include/LuaRuntime.hpp | |
| parent | 0d5b7cb2a8bea5d91c58dd40f80d60bca384b766 (diff) | |
| download | null-browser-35d8464f8975ab35c1e2f1a076302d9f95bfb22c.tar.gz null-browser-35d8464f8975ab35c1e2f1a076302d9f95bfb22c.zip | |
Refactor browsermanager to webviewstack
Diffstat (limited to '')
| -rw-r--r-- | include/LuaRuntime.hpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/LuaRuntime.hpp b/include/LuaRuntime.hpp index 83ebf0c..5bfc82c 100644 --- a/include/LuaRuntime.hpp +++ b/include/LuaRuntime.hpp @@ -2,7 +2,7 @@ #include <QtCore> #include <lua.hpp> -#include "widgets/BrowserManager.hpp" +#include "widgets/WebViewStack.hpp" class LuaRuntime : public QObject { Q_OBJECT @@ -15,14 +15,12 @@ public: void evaluate(QString code); -protected: - LuaRuntime(); - ~LuaRuntime(); - signals: void urlOpened(QString url, OpenType openType); protected: + LuaRuntime(); + ~LuaRuntime(); static int lua_onUrlOpen(lua_State *state); static int lua_onUrlTabOpen(lua_State *state); |
