19#ifndef NETWORKSETTINGSDIALOG_H
20#define NETWORKSETTINGSDIALOG_H
35 class NetworkSettingsDialog;
38 class NetworkSettingsDialog :
public QDialog
43 explicit NetworkSettingsDialog(
const bool forInput, QWidget *parent =
nullptr);
44 ~NetworkSettingsDialog();
47 void chkInitialization(
QSettings* settings);
49 static const QString QSTR_ADDRESS_IPV4;
50 static const QString QSTR_ADDRESS_IPV6;
53 void accept()
override;
54 void showEvent(QShowEvent *event)
override;
55 void restoreDefaults();
56 void toggledIPv6(
bool checked);
59 Ui::NetworkSettingsDialog *ui;
The QObject class is the base class of all Qt objects.
The QSettings class provides persistent platform-independent application settings.