Q_OBJECT
public:
- // The default constructor.
+ // The primary constructor.
explicit CookiesDialog(QList<QNetworkCookie> *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<QNetworkCookie> *cookieListPointer;
QVBoxLayout *cookiesVBoxLayoutPointer;
QPushButton *deleteAllButtonPointer;
// The private functions.
+ void addCookieToLayout(const QNetworkCookie &cookie) const;
void updateUi() const;
};
#endif