Commit 4fea6ca4 authored by Laurent Montel's avatar Laurent Montel 😁

Use new kpasswordlineedit

parent b89761cd
......@@ -83,7 +83,7 @@ set(KCONTACTS_LIB_VERSION "5.6.40")
set(AKONADIMIME_LIB_VERSION "5.6.40")
set(AKONADICONTACT_LIB_VERSION "5.6.40")
set(AKONADINOTE_LIB_VERSION "5.6.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.6.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.6.41")
set( SHARED_MIME_INFO_MINIMUM_VERSION "1.0" )
find_package( SharedMimeInfo REQUIRED )
......
......@@ -413,7 +413,7 @@ void SetupServer::readSettings()
"prompted for your password when needed."),
i18n("Do not use KWallet"), QStringLiteral("warning_kwallet_disabled"));
} else {
m_ui->password->passwordLineEdit()->insert(password);
m_ui->password->lineEdit()->insert(password);
}
m_ui->subscriptionEnabled->setChecked(m_parentResource->settings()->subscriptionEnabled());
......@@ -469,7 +469,7 @@ void SetupServer::readSettings()
"prompted for your password when needed."),
i18n("Do not use KWallet"), QStringLiteral("warning_kwallet_disabled"));
} else {
m_ui->customPassword->passwordLineEdit()->insert(customPassword);
m_ui->customPassword->lineEdit()->insert(customPassword);
}
const QString sieverCustomAuth(m_parentResource->settings()->sieveCustomAuthentification());
......
......@@ -107,7 +107,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="PimCommon::LineEditPassword" name="password">
<widget class="KPasswordLineEdit" name="password">
</widget>
</item>
</layout>
......@@ -271,7 +271,7 @@
</widget>
</item>
<item row="5" column="1">
<widget class="PimCommon::LineEditPassword" name="customPassword">
<widget class="KPasswordLineEdit" name="customPassword">
</widget>
</item>
<item row="0" column="0">
......@@ -681,9 +681,9 @@ p, li { white-space: pre-wrap; }
<container>1</container>
</customwidget>
<customwidget>
<class>PimCommon::LineEditPassword</class>
<extends>QLineEdit</extends>
<header>pimcommon/lineeditpassword.h</header>
<class>KPasswordLineEdit</class>
<extends>QWidget</extends>
<header>kpasswordlineedit.h</header>
</customwidget>
</customwidgets>
<resources/>
......
......@@ -231,7 +231,7 @@ void AccountDialog::loadSettings()
if (mWallet) {
connect(mWallet, &KWallet::Wallet::walletOpened, this, &AccountDialog::walletOpenedForLoading);
} else {
passwordEdit->passwordLineEdit()->setPlaceholderText(i18n("Wallet disabled in system settings"));
passwordEdit->lineEdit()->setPlaceholderText(i18n("Wallet disabled in system settings"));
}
passwordEdit->setEnabled(false);
passwordLabel->setEnabled(false);
......@@ -259,7 +259,7 @@ void AccountDialog::walletOpenedForLoading(bool success)
const bool walletError = !success || !mWallet->isOpen();
if (walletError) {
passwordEdit->passwordLineEdit()->setPlaceholderText(i18n("Unable to open wallet"));
passwordEdit->lineEdit()->setPlaceholderText(i18n("Unable to open wallet"));
}
}
......
......@@ -206,7 +206,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="PimCommon::LineEditPassword" name="passwordEdit">
<widget class="KPasswordLineEdit" name="passwordEdit">
<property name="toolTip">
<string>Password for access to the mail server</string>
</property>
......@@ -588,9 +588,9 @@ p, li { white-space: pre-wrap; }
<container>1</container>
</customwidget>
<customwidget>
<class>PimCommon::LineEditPassword</class>
<extends>QLineEdit</extends>
<header>pimcommon/lineeditpassword.h</header>
<class>KPasswordLineEdit</class>
<extends>QWidget</extends>
<header>kpasswordlineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
......
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