X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fwindows%2FBrowserWindow.h;h=a35e060c12bc6dfb32a9fcddff63d12f4164134c;hp=6995efc026a6b270c285ac6b64f5cddfea0b0c35;hb=cba9a47f00b59f59f76f1b5195086285ca0cdb59;hpb=8933c941521c591a962034ecf3486c9143bf1f80 diff --git a/src/windows/BrowserWindow.h b/src/windows/BrowserWindow.h index 6995efc..a35e060 100644 --- a/src/windows/BrowserWindow.h +++ b/src/windows/BrowserWindow.h @@ -31,6 +31,9 @@ #include #include +// C++ headers. +#include + class BrowserWindow : public KXmlGuiWindow { // Include the Q_OBJECT macro. @@ -45,7 +48,7 @@ public: private Q_SLOTS: // The private slots. - void addCookie(const QNetworkCookie &newCookie) const; + void addCookieToList(const QNetworkCookie &newCookie) const; void addOrEditDomainSettings() const; void back() const; void clearUrlLineEditFocus() const; @@ -57,6 +60,7 @@ private Q_SLOTS: void openCookiesDialog(); void openDomainSettings() const; void refresh() const; + void removeCookieFromList(const QNetworkCookie &cookie) const; void settingsConfigure(); void showProgressBar(const int &progress) const; void toggleJavaScript() const; @@ -75,7 +79,7 @@ private: // The private variables. BrowserView *browserViewPointer; KConfigDialog *configDialogPointer; - QList *cookieListPointer; + std::forward_list *cookieListPointer; QString currentDomainSettingsDomain; QUrl currentUrl; double currentZoomFactor;