diff -r 8957df7b0072 -r 098e361762d2 securitydialogs/secuinotifications/secuinotificationdialogplugin/src/secuinotificationdialog.cpp --- a/securitydialogs/secuinotifications/secuinotificationdialogplugin/src/secuinotificationdialog.cpp Mon May 03 13:20:16 2010 +0300 +++ b/securitydialogs/secuinotifications/secuinotificationdialogplugin/src/secuinotificationdialog.cpp Fri May 14 16:43:26 2010 +0300 @@ -37,6 +37,9 @@ #define ESecUiAlphaSupported 0x4000000 #define ESecUiAlphaNotSupported 0x0000000 +#define ESecUiSecretSupported 0x8000000 +#define ESecUiSecretNotSupported 0x0000000 + #define ESecUiMaskFlags 0xFF000000 #define ESecUiMaskType 0x00FFFFFF @@ -316,6 +319,7 @@ connect(content, SIGNAL(codeTopChanged(const QString &)), this, SLOT(handleCodeTopChanged(const QString &))); connect(content, SIGNAL(codeBottomChanged(const QString &)), this, SLOT(handleCodeBottomChanged(const QString &))); + connect(content, SIGNAL(codeTopContentChanged()), this, SLOT(handleCodeTopContentChanged())); connect(content, SIGNAL(but1Changed()), this, SLOT(handlebut1Changed())); connect(content, SIGNAL(but2Changed()), this, SLOT(handlebut2Changed())); connect(content, SIGNAL(but3Changed()), this, SLOT(handlebut3Changed())); @@ -416,6 +420,13 @@ //emit deviceDialogData(mResultMap); } +void SecUiNotificationDialog::handleCodeTopContentChanged() + { + qDebug() << "SecUiNotificationDialog::handleCodeTopContentChanged"; + qDebug() << codeTop->text(); + handleCodeTopChanged(codeTop->text()); + } + // ---------------------------------------------------------------------------- // SecUiNotificationDialog::handleCodeTopChanged() // ---------------------------------------------------------------------------- @@ -525,6 +536,7 @@ qDebug() << codeTopText; codeTopText = codeTopText + "5" ; qDebug() << "codeTopText+5"; + codeTop->setEchoMode(HbLineEdit::PasswordEchoOnEdit); qDebug() << codeTopText; codeTop->setText(codeTopText); }