Commit 05966ae3 authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Andreas Traczyk

advancedSIPsetting: add security settings into the SIP advanced setting & LineEdit signal change

- change Line edit signal from textEdited to textChanged

Change-Id: Ib0476d9e97903dc7b9963de68fe11294626c7fd5
parent e52278b6
This diff is collapsed.
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <QListWidgetItem> #include <QListWidgetItem>
#include <QWidget> #include <QWidget>
#include <QPushButton>
namespace Ui { namespace Ui {
class AdvancedSIPSettingsWidget; class AdvancedSIPSettingsWidget;
...@@ -36,6 +37,11 @@ public: ...@@ -36,6 +37,11 @@ public:
~AdvancedSIPSettingsWidget(); ~AdvancedSIPSettingsWidget();
void updateAdvancedSIPSettings(); void updateAdvancedSIPSettings();
std::string openButtonFilePath(const std::string& accConfigFilePath,
const char* windowTitle,
const char* fileTypeDesp,
const QString& fileTypeFilter,
QPushButton* button);
private: private:
Ui::AdvancedSIPSettingsWidget* ui; Ui::AdvancedSIPSettingsWidget* ui;
...@@ -48,15 +54,33 @@ private slots: ...@@ -48,15 +54,33 @@ private slots:
void openFileCustomRingtone(); void openFileCustomRingtone();
// security
void setUseSRTP(bool state);
void setUseSDES(bool state);
void setUseRTPFallback(bool state);
void setUseTLS(bool state);
void setVerifyCertificatesServer(bool state);
void setVerifyCertificatesClient(bool state);
void setRequireCertificatesIncomingTLS(bool state);
void btnSIPCAClicked();
void btnSIPUserCertClicked();
void btnSIPPrivateKeyClicked();
void lineEditSIPCertPasswordLineEditTextChanged();
void tlsProtocolComboBoxIndexChanged(const int& index);
void outgoingTLSServerNameLineEditTextChanged();
void negotiationTimeoutSpinBoxValueChanged(const int& value);
// connectivity // connectivity
void setUseUPnP(bool state); void setUseUPnP(bool state);
void setUseTURN(bool state); void setUseTURN(bool state);
void setUseSTUN(bool state); void setUseSTUN(bool state);
void setTURNAddress(const QString& name); void setTURNAddress();
void setTURNUsername(const QString& name); void setTURNUsername();
void setTURNPsswd(const QString& name); void setTURNPsswd();
void setSTUNAddress(const QString& name); void setSTUNAddress();
// codecs // codecs
void updateAudioCodecs(); void updateAudioCodecs();
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment