Port to newer KPasswordLineEdit
revealPasswordAvailable is now an enum.
See frameworks/kwidgetsaddons!234 (merged)
Patch done with the follwing script:
find -iname '*.cpp' -exec sed -i 's/setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password"))/setRevealPasswordMode(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password")) ? KPasswordLineEdit::RevealPasswordMode::Normal : KPasswordLineEdit::RevealPasswordMode::Never/g' {} \;
Edited by Carl Schwan