summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidcreatekeystorecertificate.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-06-26 22:52:59 +0300
committerOrgad Shaneh <orgads@gmail.com>2016-07-04 09:35:58 +0000
commit88dfa84fc62484a6ec74ee7acb39808605f23390 (patch)
tree452b5df699ea002476c41b1acaffc5cb58e52f2d /src/plugins/android/androidcreatekeystorecertificate.cpp
parentc3acbc46edb1997fcf690e910e4eefee51c8c243 (diff)
downloadqt-creator-88dfa84fc62484a6ec74ee7acb39808605f23390.tar.gz
Android: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: Id09b62b7b9812d9c0981202c257d18387a8b09d9 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'src/plugins/android/androidcreatekeystorecertificate.cpp')
-rw-r--r--src/plugins/android/androidcreatekeystorecertificate.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/plugins/android/androidcreatekeystorecertificate.cpp b/src/plugins/android/androidcreatekeystorecertificate.cpp
index 70c9dc9d92..317f8f2212 100644
--- a/src/plugins/android/androidcreatekeystorecertificate.cpp
+++ b/src/plugins/android/androidcreatekeystorecertificate.cpp
@@ -39,12 +39,18 @@ AndroidCreateKeystoreCertificate::AndroidCreateKeystoreCertificate(QWidget *pare
ui(new Ui::AndroidCreateKeystoreCertificate)
{
ui->setupUi(this);
- connect(ui->keystorePassLineEdit, SIGNAL(textChanged(QString)), this, SLOT(checkKeystorePassword()));
- connect(ui->keystoreRetypePassLineEdit, SIGNAL(textChanged(QString)), this, SLOT(checkKeystorePassword()));
- connect(ui->certificatePassLineEdit, SIGNAL(textChanged(QString)), this, SLOT(checkCertificatePassword()));
- connect(ui->certificateRetypePassLineEdit, SIGNAL(textChanged(QString)), this, SLOT(checkCertificatePassword()));
- connect(ui->certificateAliasLineEdit, SIGNAL(textChanged(QString)), this, SLOT(checkCertificateAlias()));
- connect(ui->countryLineEdit, SIGNAL(textChanged(QString)), this, SLOT(checkCountryCode()));
+ connect(ui->keystorePassLineEdit, &QLineEdit::textChanged,
+ this, &AndroidCreateKeystoreCertificate::checkKeystorePassword);
+ connect(ui->keystoreRetypePassLineEdit, &QLineEdit::textChanged,
+ this, &AndroidCreateKeystoreCertificate::checkKeystorePassword);
+ connect(ui->certificatePassLineEdit, &QLineEdit::textChanged,
+ this, &AndroidCreateKeystoreCertificate::checkCertificatePassword);
+ connect(ui->certificateRetypePassLineEdit, &QLineEdit::textChanged,
+ this, &AndroidCreateKeystoreCertificate::checkCertificatePassword);
+ connect(ui->certificateAliasLineEdit, &QLineEdit::textChanged,
+ this, &AndroidCreateKeystoreCertificate::checkCertificateAlias);
+ connect(ui->countryLineEdit, &QLineEdit::textChanged,
+ this, &AndroidCreateKeystoreCertificate::checkCountryCode);
}
AndroidCreateKeystoreCertificate::~AndroidCreateKeystoreCertificate()