controlpanelui/src/seccodeui/src/seccodemodel_symbian.cpp
changeset 19 36aa4756ee82
parent 12 624337f114fe
child 20 22d3abee08da
--- a/controlpanelui/src/seccodeui/src/seccodemodel_symbian.cpp	Mon May 03 12:32:06 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-/*
-* Copyright (c) 2009 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""
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  
-*
-*/
-
-#include "seccodemodel_p.h"
-#include "seccodeuiglobal.h"
-#include <e32err.h>
-#include <exterror.h>
-
-static int symbianErrtoQtErr(int err)
-{
-    switch (err) {
-    case KErrNone:
-        return SecCode::ErrNone;
-    case KErrGsm0707IncorrectPassword:
-        return SecCode::ErrGsm0707IncorrectPassword;
-    case KErrAccessDenied:
-        return SecCode::ErrAccessDenied;
-    case KErrGsmSSPasswordAttemptsViolation:
-        return SecCode::ErrGsmSSPasswordAttemptsViolation;
-    case KErrLocked:
-        return SecCode::ErrLocked;
-    case KErrGsm0707OperationNotAllowed:
-        return SecCode::ErrGsm0707OperationNotAllowed;
-    case KErrGsm0707SIMPuk2Required:
-        return SecCode::ErrGsm0707SIMPuk2Required;
-    case KErrAbort:
-        return SecCode::ErrAbort;
-    default:
-        break;
-    }
-    
-    return err;
-}
-