X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fdialogs%2FCookiesDialog.h;h=5319897e68bd5a2cb77c91d52873941961347347;hp=89c2be4e1998432c40faf8536960cf99d032c50b;hb=refs%2Fheads%2Fmaster;hpb=cd1c3d0483b9026736fdcb151d90dda872d8a400 diff --git a/src/dialogs/CookiesDialog.h b/src/dialogs/CookiesDialog.h index 89c2be4..5319897 100644 --- a/src/dialogs/CookiesDialog.h +++ b/src/dialogs/CookiesDialog.h @@ -1,5 +1,5 @@ /* - * Copyright © 2022 Soren Stoutner . + * Copyright 2022-2024 Soren Stoutner . * * This file is part of Privacy Browser PC . * @@ -48,11 +48,13 @@ signals: private Q_SLOTS: // The private slots. void addCookieFromDialog(const QNetworkCookie &cookie, const bool &isDurable) const; + void deleteCookieFromDatabase(const QNetworkCookie &cookie) const; void deleteCookieFromDialog(const QNetworkCookie &cookie) const; - void showAddCookieDialog() const; + void showAddCookieDialog(); void showDeleteAllMessageBox() const; void showDeleteCookieMessageBox() const; - void showEditCookieDialog() const; + void showDurableCookiesDialog(); + void showEditCookieDialog(); void updateUi() const; private: @@ -61,6 +63,7 @@ private: std::list *cookieListPointer; QPushButton *deleteAllButtonPointer; QPushButton *deleteCookieButtonPointer; + QPushButton *durableCookiesButtonPointer; QPushButton *editCookieButtonPointer; QStandardItemModel *treeModelPointer; QItemSelectionModel *treeSelectionModelPointer;