X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fdialogs%2FCookiesDialog.h;h=89f9c623b9f46e4b6037820589f274a6945252b4;hp=17498ca0f5b38fc1bce087b561547d1c2177882c;hb=9b6cee96126484925bec4f4ab30c2b880df687fe;hpb=8933c941521c591a962034ecf3486c9143bf1f80 diff --git a/src/dialogs/CookiesDialog.h b/src/dialogs/CookiesDialog.h index 17498ca..89f9c62 100644 --- a/src/dialogs/CookiesDialog.h +++ b/src/dialogs/CookiesDialog.h @@ -31,23 +31,29 @@ class CookiesDialog : public QDialog Q_OBJECT public: - // The default constructor. + // The primary constructor. explicit CookiesDialog(QList *cookieListPointer); signals: + // The signals. + void addCookie(const QNetworkCookie &cookie) const; void deleteAllCookies() const; private Q_SLOTS: // The private slots. + void addCookieFromDialog(const QNetworkCookie &cookie) const; + void showAddCookieMessageBox() const; void showDeleteAllMessageBox() const; private: // The private variables. + QPushButton *addCookieButtonPointer; QList *cookieListPointer; QVBoxLayout *cookiesVBoxLayoutPointer; QPushButton *deleteAllButtonPointer; // The private functions. + void addCookieToLayout(const QNetworkCookie &cookie) const; void updateUi() const; }; #endif