93 void accept()
override;
96 void updateEnabledState();
98 void socketStateChanged( QAbstractSocket::SocketState state );
99 void socketConnected();
100 void socketDisconnected();
101 void socketEncrypted();
102 void socketError( QAbstractSocket::SocketError err );
103 void socketReadyRead();
104 void destroySocket();
105 void sslErrors(
const QList<QSslError> &errors );
106 void showCertificateInfo();
108 void widgetReadyToSaveChanged(
bool cansave );
111 void radioServerImportToggled(
bool checked );
112 void radioFileImportToggled(
bool checked );
114 void btnCertPath_clicked();
115 void clearCertificateConfig();
116 void clearStatusCertificateConfig();
119 void loadCertFromFile();
121 void appendString(
const QString &line );
123 QPushButton *saveButton();
124 QPushButton *closeButton();
125 QString getOpenFileName(
const QString &title,
const QString &extfilter );
127 QSslSocket *mSocket =
nullptr;
128 bool mExecErrorsDialog =
false;
129 QTimer *mTimer =
nullptr;
130 QList<QSslError> mSslErrors;
131 QList<QSslCertificate> mTrustedCAs;
133 QVBoxLayout *mAuthNotifyLayout =
nullptr;
134 QLabel *mAuthNotify =
nullptr;