diff --git a/CMakeLists.txt b/CMakeLists.txt index b2cf83fe5e580a22d0249f8475a907c5b624a78f..76b7bf98a23ee4d2a7e919b45723f43a68fd7b94 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.0) -set(PIM_VERSION "5.5.61") +set(PIM_VERSION "5.5.62") project(pimcommon VERSION ${PIM_VERSION}) diff --git a/src/pimcommon/widgets/lineeditpassword.cpp b/src/pimcommon/widgets/lineeditpassword.cpp index ecef87da61fa2c4d5374afcfb22a30d86261fe7f..1421401dd4f14bb10bd3fd9b52ff9b3784ca4afd 100644 --- a/src/pimcommon/widgets/lineeditpassword.cpp +++ b/src/pimcommon/widgets/lineeditpassword.cpp @@ -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; diff --git a/src/pimcommon/widgets/lineeditpassword.h b/src/pimcommon/widgets/lineeditpassword.h index d23fb67752faf6408984a17b5ca7970c331752a3..418f66703748bab1164ef51d0edf8655fc1742ad 100644 --- a/src/pimcommon/widgets/lineeditpassword.h +++ b/src/pimcommon/widgets/lineeditpassword.h @@ -35,6 +35,8 @@ public: QAction *toggleEchoModeAction() const; + QLineEdit *passwordLineEdit() const; + private: void initialize(); void toggleEchoMode();