sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/group/testpinnotifier.rss
--- a/sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/group/testpinnotifier.rss Wed Jun 23 19:38:32 2010 +0300
+++ b/sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/group/testpinnotifier.rss Tue Jul 06 15:43:30 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -19,8 +19,13 @@
@internalComponent - Internal Symbian test code
*/
-#include <techview/eikon.rh>
-#include <techview/eikon.rsg>
+#include <avkon.rh>
+#include <avkon.rsg>
+
+#include <eikon.rh>
+#include <eikon.rsg>
+
+#define qtn_sen_pindlg_auth_title "Security check"
NAME SPIN
@@ -30,21 +35,31 @@
RESOURCE TBUF16 { buf=""; }
+
+
RESOURCE DIALOG r_security_pin
{
- title="Security check";
- buttons=R_EIK_BUTTONS_CANCEL_OK;
+ flags = EGeneralQueryFlags;
+ title="Security check";
+ buttons=R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
- DLG_LINE
- {
- type = EEikCtSecretEd; //Control factory id.
- id = 0;
- control = SECRETED
- {
- num_letters=8;
- };
- }
+ DLG_LINE
+ {
+ type = EAknCtQuery;
+ id = EGeneralQuery;
+ control = AVERELL_DATA_QUERY
+ {
+ layout = EPinLayout;
+ label = qtn_sen_pindlg_auth_title;
+ control = SECRETED
+ {
+ num_letters = 8 ;//KSenMaxPasswordLength
+ };
+ };
+ }
};
}
+
+RESOURCE TBUF r_pinnotdlg_auth_title { buf = qtn_sen_pindlg_auth_title; }