699 |
696 |
700 CERTMANUILOGGER_LEAVEFN( " CCertManUIContainerTrust::ShowTrustChangeSettingPageL" ); |
697 CERTMANUILOGGER_LEAVEFN( " CCertManUIContainerTrust::ShowTrustChangeSettingPageL" ); |
701 } |
698 } |
702 |
699 |
703 // --------------------------------------------------------------------------- |
700 // --------------------------------------------------------------------------- |
|
701 // CCertManUIContainerTrust::ChangeTrustChangeSettingSingleClickL() |
|
702 // --------------------------------------------------------------------------- |
|
703 // |
|
704 void CCertManUIContainerTrust::ChangeTrustChangeSettingSingleClickL() |
|
705 { |
|
706 if( !iKeeper.iWrapper->IsActive() ) |
|
707 { |
|
708 TInt certIndex = iKeeper.iCurrentCACertForTrustSettings; |
|
709 |
|
710 if( certIndex >= 0 && certIndex < iKeeper.iCALabelEntries.Count() ) |
|
711 { |
|
712 CCTCertInfo* entry = iKeeper.iCALabelEntries[ certIndex ]->iCAEntry; |
|
713 if( entry && entry->IsDeletable() ) |
|
714 { |
|
715 TInt currentTrustSetting = iListBox->CurrentItemIndex(); |
|
716 if( currentTrustSetting >= 0 && currentTrustSetting < iClientUids.Count() ) |
|
717 { |
|
718 TUid uid = iClientUids[ currentTrustSetting ]; |
|
719 ChangeTrustValueL( *entry, uid ); |
|
720 UpdateTrustListboxItemL( *entry, currentTrustSetting ); |
|
721 } |
|
722 } |
|
723 } |
|
724 } |
|
725 } |
|
726 |
|
727 // --------------------------------------------------------------------------- |
704 // CCertManUIContainerTrust::PopupTrustChangeSettingPageL( |
728 // CCertManUIContainerTrust::PopupTrustChangeSettingPageL( |
705 // TInt aCertificateIndex) |
729 // TInt aCertificateIndex) |
706 // Finds out which client was focused in Trust Settings view and calls |
730 // Finds out which client was focused in Trust Settings view and calls |
707 // ShowTrustChangeSettingPageL This is accessed only by X509S |
731 // ShowTrustChangeSettingPageL This is accessed only by X509S |
708 // certificates, located in CertMan and having one or more clients |
732 // certificates, located in CertMan and having one or more clients |