Commit 3545cb4e authored by Laurent Montel's avatar Laurent Montel 😁

Return passwordLineEdit widget

parent a88d4f4e
cmake_minimum_required(VERSION 3.0)
set(PIM_VERSION "5.5.61")
set(PIM_VERSION "5.5.62")
project(pimcommon VERSION ${PIM_VERSION})
......
......@@ -87,6 +87,11 @@ void LineEditPassword::showToggleEchoModeAction(const QString &text)
mToggleEchoModeAction->setVisible(mIsToggleEchoModeAvailable && (mPasswordLineEdit->echoMode() == QLineEdit::Normal || !text.isEmpty()));
}
QLineEdit *LineEditPassword::passwordLineEdit() const
{
return mPasswordLineEdit;
}
QAction *LineEditPassword::toggleEchoModeAction() const
{
return mToggleEchoModeAction;
......
......@@ -35,6 +35,8 @@ public:
QAction *toggleEchoModeAction() const;
QLineEdit *passwordLineEdit() const;
private:
void initialize();
void toggleEchoMode();
......
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