qcpix/src/qcpixdocumentfield.cpp
changeset 15 cf5c74390b98
parent 10 afe194b6b1cd
child 18 3e1f76dd2722
--- a/qcpix/src/qcpixdocumentfield.cpp	Tue Jul 06 15:30:04 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +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: 
-*
-*/
-
-#include <qcpixdocumentfield.h>
-#include "qcpixdocumentfieldprivate.h"
-
-/**
- * Note: Code in this file should never throw OR leak symbian exceptions.
- * Convert all leaves to C++ exceptions.
- */
-
-QCPixDocumentField::QCPixDocumentField( const QString aName, const QString aValue, const int aConfig )
-    :iPvtImpl( new QCPixDocumentFieldPrivate(aName,aValue,aConfig) )
-    {
-    }
-
-QCPixDocumentField* QCPixDocumentField::newInstance( const QString aName, const QString aValue, const int aConfig )
-    {
-    QCPixDocumentField* field = NULL;
-    try{
-        field = new QCPixDocumentField( aName, aValue, aConfig );
-    }
-    catch(...){
-        delete field;
-        return NULL;
-    }
-    return field;
-    }
-
-QCPixDocumentField::~QCPixDocumentField()
-    {
-    delete iPvtImpl;
-    }
-
-QString QCPixDocumentField::name() const
-    {
-    return iPvtImpl->iName;
-    }
-
-QString QCPixDocumentField::value() const
-    {
-    return iPvtImpl->iValue;
-    }
-
-int QCPixDocumentField::config() const
-    {
-    return iPvtImpl->iConfig;
-    }
-    
-void QCPixDocumentField::setName(const QString aName)
-    {
-    iPvtImpl->iName = aName;
-    }
-
-void QCPixDocumentField::setValue(const QString aValue)
-    {
-    iPvtImpl->iValue = aValue;
-    }
-
-void QCPixDocumentField::setConfig(const int aConfig)
-    {
-    iPvtImpl->iConfig = aConfig;
-    }
-
-//End of File