aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshkeycreationdialog.cpp
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-02-04 10:11:46 +0100
committerhjk <[email protected]>2015-02-04 14:48:17 +0000
commit6a4d6efb3b69f3a5ffc314b4919fcffd52e30113 (patch)
treebbf89cf392b501d85f80cc8caaafc24604fca9cd /src/libs/ssh/sshkeycreationdialog.cpp
parent380acb5baa375806af0a081b56d6d1dccd87264f (diff)
Port to new connect api
Change-Id: I84834f37dd15108ed8c5fbf5353bcabc4e564f70 Reviewed-by: hjk <[email protected]> Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/libs/ssh/sshkeycreationdialog.cpp')
-rw-r--r--src/libs/ssh/sshkeycreationdialog.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/libs/ssh/sshkeycreationdialog.cpp b/src/libs/ssh/sshkeycreationdialog.cpp
index 39d36aa993c..d2f850125f4 100644
--- a/src/libs/ssh/sshkeycreationdialog.cpp
+++ b/src/libs/ssh/sshkeycreationdialog.cpp
@@ -56,10 +56,14 @@ SshKeyCreationDialog::SshKeyCreationDialog(QWidget *parent)
+ QLatin1String("/.ssh/qtc_id");
setPrivateKeyFile(defaultPath);
- connect(m_ui->rsa, SIGNAL(toggled(bool)), this, SLOT(keyTypeChanged()));
- connect(m_ui->dsa, SIGNAL(toggled(bool)), this, SLOT(keyTypeChanged()));
- connect(m_ui->privateKeyFileButton, SIGNAL(clicked()), SLOT(handleBrowseButtonClicked()));
- connect(m_ui->generateButton, SIGNAL(clicked()), this, SLOT(generateKeys()));
+ connect(m_ui->rsa, &QRadioButton::toggled,
+ this, &SshKeyCreationDialog::keyTypeChanged);
+ connect(m_ui->dsa, &QRadioButton::toggled,
+ this, &SshKeyCreationDialog::keyTypeChanged);
+ connect(m_ui->privateKeyFileButton, &QPushButton::clicked,
+ this, &SshKeyCreationDialog::handleBrowseButtonClicked);
+ connect(m_ui->generateButton, &QPushButton::clicked,
+ this, &SshKeyCreationDialog::generateKeys);
}
SshKeyCreationDialog::~SshKeyCreationDialog()