sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/group/testpinnotifier.rss
branchRCL_3
changeset 60 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 61 8cb079868133
--- a/sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/group/testpinnotifier.rss	Thu Aug 19 11:09:10 2010 +0300
+++ b/sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/group/testpinnotifier.rss	Tue Aug 31 16:29:05 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; }