34 #define ESecUiEmergencySupported 0x2000000 |
34 #define ESecUiEmergencySupported 0x2000000 |
35 #define ESecUiEmergencyNotSupported 0x0000000 |
35 #define ESecUiEmergencyNotSupported 0x0000000 |
36 |
36 |
37 #define ESecUiAlphaSupported 0x4000000 |
37 #define ESecUiAlphaSupported 0x4000000 |
38 #define ESecUiAlphaNotSupported 0x0000000 |
38 #define ESecUiAlphaNotSupported 0x0000000 |
|
39 |
|
40 #define ESecUiSecretSupported 0x8000000 |
|
41 #define ESecUiSecretNotSupported 0x0000000 |
39 |
42 |
40 #define ESecUiMaskFlags 0xFF000000 |
43 #define ESecUiMaskFlags 0xFF000000 |
41 #define ESecUiMaskType 0x00FFFFFF |
44 #define ESecUiMaskType 0x00FFFFFF |
42 |
45 |
43 #define ESecUiTypeDeviceLock 0x00100000 |
46 #define ESecUiTypeDeviceLock 0x00100000 |
314 lMaxLength = content->lMaxLength; |
317 lMaxLength = content->lMaxLength; |
315 lEmergencySupported = content->lEmergencySupported; |
318 lEmergencySupported = content->lEmergencySupported; |
316 |
319 |
317 connect(content, SIGNAL(codeTopChanged(const QString &)), this, SLOT(handleCodeTopChanged(const QString &))); |
320 connect(content, SIGNAL(codeTopChanged(const QString &)), this, SLOT(handleCodeTopChanged(const QString &))); |
318 connect(content, SIGNAL(codeBottomChanged(const QString &)), this, SLOT(handleCodeBottomChanged(const QString &))); |
321 connect(content, SIGNAL(codeBottomChanged(const QString &)), this, SLOT(handleCodeBottomChanged(const QString &))); |
|
322 connect(content, SIGNAL(codeTopContentChanged()), this, SLOT(handleCodeTopContentChanged())); |
319 connect(content, SIGNAL(but1Changed()), this, SLOT(handlebut1Changed())); |
323 connect(content, SIGNAL(but1Changed()), this, SLOT(handlebut1Changed())); |
320 connect(content, SIGNAL(but2Changed()), this, SLOT(handlebut2Changed())); |
324 connect(content, SIGNAL(but2Changed()), this, SLOT(handlebut2Changed())); |
321 connect(content, SIGNAL(but3Changed()), this, SLOT(handlebut3Changed())); |
325 connect(content, SIGNAL(but3Changed()), this, SLOT(handlebut3Changed())); |
322 qDebug() << "SecUiNotificationDialog::queryType="; |
326 qDebug() << "SecUiNotificationDialog::queryType="; |
323 qDebug() << queryType; |
327 qDebug() << queryType; |
412 qDebug() << text; |
416 qDebug() << text; |
413 QVariant memorySelection(text); |
417 QVariant memorySelection(text); |
414 mResultMap.insert(KSelectedMemoryIndex, memorySelection); |
418 mResultMap.insert(KSelectedMemoryIndex, memorySelection); |
415 //TODO: do we need emit here, or would it be better to send all data at the end? |
419 //TODO: do we need emit here, or would it be better to send all data at the end? |
416 //emit deviceDialogData(mResultMap); |
420 //emit deviceDialogData(mResultMap); |
|
421 } |
|
422 |
|
423 void SecUiNotificationDialog::handleCodeTopContentChanged() |
|
424 { |
|
425 qDebug() << "SecUiNotificationDialog::handleCodeTopContentChanged"; |
|
426 qDebug() << codeTop->text(); |
|
427 handleCodeTopChanged(codeTop->text()); |
417 } |
428 } |
418 |
429 |
419 // ---------------------------------------------------------------------------- |
430 // ---------------------------------------------------------------------------- |
420 // SecUiNotificationDialog::handleCodeTopChanged() |
431 // SecUiNotificationDialog::handleCodeTopChanged() |
421 // ---------------------------------------------------------------------------- |
432 // ---------------------------------------------------------------------------- |
523 QString codeTopText = codeTop->text(); |
534 QString codeTopText = codeTop->text(); |
524 qDebug() << "codeTopText"; |
535 qDebug() << "codeTopText"; |
525 qDebug() << codeTopText; |
536 qDebug() << codeTopText; |
526 codeTopText = codeTopText + "5" ; |
537 codeTopText = codeTopText + "5" ; |
527 qDebug() << "codeTopText+5"; |
538 qDebug() << "codeTopText+5"; |
|
539 codeTop->setEchoMode(HbLineEdit::PasswordEchoOnEdit); |
528 qDebug() << codeTopText; |
540 qDebug() << codeTopText; |
529 codeTop->setText(codeTopText); |
541 codeTop->setText(codeTopText); |
530 } |
542 } |
531 |
543 |
532 // ---------------------------------------------------------------------------- |
544 // ---------------------------------------------------------------------------- |