/*
- * Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
+ * Copyright 2022,2024 Soren Stoutner <soren@stoutner.com>.
*
* This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
*
#ifndef DOMAINSETTINGSDIALOG_H
#define DOMAINSETTINGSDIALOG_H
+// Application headers.
+#include "helpers/UserAgentHelper.h"
+
// KDE Frameworks headers.
#include <KLineEdit>
// The private variables.
QPushButton *applyButtonPointer;
QDoubleSpinBox *customZoomFactorSpinBoxPointer;
+ QPalette defaultPalette;
QPushButton *deleteDomainButtonPointer;
+ QWidget *domStorageWidgetPointer;
QComboBox *domStorageComboBoxPointer;
QLabel *domStorageLabelPointer;
KLineEdit *domainNameLineEditPointer;
QListView *domainsListViewPointer;
QSqlTableModel *domainsTableModelPointer;
QItemSelectionModel *domainsSelectionModelPointer;
+ QPalette highlightedPalette;
+ QWidget *javaScriptWidgetPointer;
QComboBox *javaScriptComboBoxPointer;
QLabel *javaScriptLabelPointer;
+ QWidget *localStorageWidgetPointer;
QComboBox *localStorageComboBoxPointer;
QLabel *localStorageLabelPointer;
QPushButton *resetButtonPointer;
+ QWidget *userAgentWidgetPointer;
QComboBox *userAgentComboBoxPointer;
+ UserAgentHelper *userAgentHelperPointer;
QLabel *userAgentLabelPointer;
+ QWidget *zoomFactorWidgetPointer;
QComboBox *zoomFactorComboBoxPointer;
// The private functions.
- void addDomain(const QString &domainName) const;
void populateDomStorageLabel() const;
void populateJavaScriptLabel() const;
void populateLocalStorageLabel() const;