controlpanelui/src/seccodeui/src/seccodemodel.h
changeset 10 0a74be98a8bc
equal deleted inserted replaced
0:254040eb3b7d 10:0a74be98a8bc
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef SECCODEMODEL_H
       
    19 #define SECCODEMODEL_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class SecCodeModelPrivate;
       
    24 class SecCodeModel : public QObject
       
    25 {
       
    26     Q_OBJECT
       
    27 public:
       
    28 	SecCodeModel(QObject * parent = 0);
       
    29 	virtual ~SecCodeModel();
       
    30 	
       
    31 	bool simCardRemoved();
       
    32 	
       
    33 	int pinRemainingAttempts();
       
    34 	
       
    35 	int changePinCode(const QString &oldCode,const QString &newCode,const QString &verifyCode);
       
    36 	
       
    37 	int pin2RemainingAttempts();
       
    38 	
       
    39     int changePin2Code(const QString &oldCode,const QString &newCode,const QString &verifyCode);
       
    40 	
       
    41 private:
       
    42 	SecCodeModelPrivate *d_ptr;
       
    43 };
       
    44 
       
    45 
       
    46 #endif //SECCODEMODEL_H
       
    47