diff -r 09b1ac925e3f -r 03674e5abf46 cpsecplugins/simpincodeplugin/src/seccodemodel.cpp --- a/cpsecplugins/simpincodeplugin/src/seccodemodel.cpp Tue Aug 31 16:04:40 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ -/* - * Copyright (c) 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"" - * 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: - * - */ - -// User includes -#include "seccodemodel.h" -#include "seccodemodel_p.h" -#include <../../inc/cpsecplugins.h> - -// ======== MEMBER FUNCTIONS ======== - -/*! - Constructor -*/ -SecCodeModel::SecCodeModel(QObject *parent/*= 0*/) - : QObject(parent) -{ - QT_TRAP_THROWING(d_ptr = SecCodeModelPrivate::NewL()); -} - -/*! - Destructor -*/ -SecCodeModel::~SecCodeModel() -{ - delete d_ptr; -} - -/*! - Get Pin Code Request State -*/ -bool SecCodeModel::pinCodeRequest() const -{ - RDEBUG("0", 0); - return d_ptr->pinCodeRequest(); -} - -/*! - Change Pin Code -*/ -bool SecCodeModel::changePinCodeRequest() -{ - RDEBUG("0", 0); - return d_ptr->changePinCodeRequest(); -} - -/*! - Change Pin Code -*/ -int SecCodeModel::changePinCode() -{ - RDEBUG("0", 0); - return d_ptr->changePinCode(); -} - -/*! - Change Pin2 Code -*/ -int SecCodeModel::changePin2Code() -{ - RDEBUG("0", 0); - return d_ptr->changePin2Code(); -}