]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/windows/BrowserWindow.h
Add view page source controls. https://redmine.stoutner.com/issues/1022
[PrivacyBrowserPC.git] / src / windows / BrowserWindow.h
index 44486d945c2e2c0e941959afcb5f6f7aeee695fc..99fd146001fb69b83609b0968e231605725101de 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2022-2023 Soren Stoutner <soren@stoutner.com>.
+ * Copyright 2022-2023 Soren Stoutner <soren@stoutner.com>.
  *
  * This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
  *
@@ -76,6 +76,8 @@ private Q_SLOTS:
     void toggleJavaScript() const;
     void toggleLocalStorage() const;
     void toggleFullScreen();
+    void toggleViewSource() const;
+    void toggleViewSourceInNewTab() const;
     void updateCookiesAction(const int numberOfCookies) const;
     void updateDomStorageAction(const bool &isEnabled) const;
     void updateDomainSettingsIndicator(const bool status);
@@ -141,6 +143,7 @@ private:
     QAction *userAgentCustomActionPointer;
     KLineEdit *urlLineEditPointer;
     KToolBar *urlToolBarPointer;
+    QAction *viewSourceActionPointer;
     QAction *zoomFactorActionPointer;
 };
 #endif