mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
connect signal-slot in profileform
This commit is contained in:
parent
cfeeb03c5b
commit
aa05d71f4b
|
@ -104,6 +104,8 @@ ProfileForm::ProfileForm(QWidget *parent) :
|
|||
connect(bodyUI->logoutButton, &QPushButton::clicked, this, &ProfileForm::onLogoutClicked);
|
||||
connect(bodyUI->deletePassButton, &QPushButton::clicked, this, &ProfileForm::onDeletePassClicked);
|
||||
connect(bodyUI->changePassButton, &QPushButton::clicked, this, &ProfileForm::onChangePassClicked);
|
||||
connect(bodyUI->saveQr, &QPushButton::clicked, this, &ProfileForm::onSaveQrClicked);
|
||||
connect(bodyUI->copyQr, &QPushButton::clicked, this, &ProfileForm::copyIdClicked);
|
||||
|
||||
connect(core, &Core::usernameSet, this, [=](const QString& val) { bodyUI->userName->setText(val); });
|
||||
connect(core, &Core::statusMessageSet, this, [=](const QString& val) { bodyUI->statusMessage->setText(val); });
|
||||
|
|
Loading…
Reference in New Issue
Block a user