forked from qt-creator/qt-creator
Android: Move connections out of .ui
... and make them compile when using Qt 6 uic. Change-Id: If5a9a052c62aa2641c60378bb26916325aed628e Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -54,6 +54,12 @@ AndroidCreateKeystoreCertificate::AndroidCreateKeystoreCertificate(QWidget *pare
|
||||
this, &AndroidCreateKeystoreCertificate::checkCertificateAlias);
|
||||
connect(ui->countryLineEdit, &QLineEdit::textChanged,
|
||||
this, &AndroidCreateKeystoreCertificate::checkCountryCode);
|
||||
connect(ui->buttonBox, &QDialogButtonBox::rejected,
|
||||
this, &QDialog::reject);
|
||||
connect(ui->keystorePassLineEdit,
|
||||
&QLineEdit::editingFinished,
|
||||
ui->keystoreRetypePassLineEdit,
|
||||
QOverload<>::of(&QLineEdit::setFocus));
|
||||
}
|
||||
|
||||
AndroidCreateKeystoreCertificate::~AndroidCreateKeystoreCertificate()
|
||||
|
@@ -329,38 +329,4 @@
|
||||
<tabstop>countryLineEdit</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>AndroidCreateKeystoreCertificate</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>320</x>
|
||||
<y>422</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>286</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>keystorePassLineEdit</sender>
|
||||
<signal>editingFinished()</signal>
|
||||
<receiver>keystoreRetypePassLineEdit</receiver>
|
||||
<slot>setFocus()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>201</x>
|
||||
<y>48</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>213</x>
|
||||
<y>75</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
|
Reference in New Issue
Block a user