X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fdialogs%2FDomainSettingsDialog.h;h=7680a0323252b109ed27f78369837c11e3182af4;hb=fb2760a23bc59d63c74e18c92628ef03ccd8bf3a;hp=5663787b1b6ecc749cef5c431b08d1e4d4abde14;hpb=cca335d6b9751fbf0e87daa5f122a1b8770488c8;p=PrivacyBrowserPC.git diff --git a/src/dialogs/DomainSettingsDialog.h b/src/dialogs/DomainSettingsDialog.h index 5663787..7680a03 100644 --- a/src/dialogs/DomainSettingsDialog.h +++ b/src/dialogs/DomainSettingsDialog.h @@ -51,6 +51,7 @@ private Q_SLOTS: void apply() const; void cancel(); void customZoomFactorChanged(const double &newValue) const; + void domStorageChanged(const int &newIndex) const; void domainNameChanged(const QString &updatedDomainName) const; void domainSelected(const QModelIndex &modelIndex) const; void javaScriptChanged(const int &newIndex) const; @@ -66,22 +67,33 @@ private: // The private variables. QPushButton *applyButtonPointer; QDoubleSpinBox *customZoomFactorSpinBoxPointer; + QPalette defaultPalette; QPushButton *deleteDomainButtonPointer; - QListView *domainsListViewPointer; + QWidget *domStorageWidgetPointer; + QComboBox *domStorageComboBoxPointer; + QLabel *domStorageLabelPointer; KLineEdit *domainNameLineEditPointer; QWidget *domainSettingsWidgetPointer; + 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; QLabel *userAgentLabelPointer; + QWidget *zoomFactorWidgetPointer; QComboBox *zoomFactorComboBoxPointer; // The private functions. void addDomain(const QString &domainName) const; + void populateDomStorageLabel() const; void populateJavaScriptLabel() const; void populateLocalStorageLabel() const; void populateUserAgentLabel(const QString &userAgentName) const;