qcpix/src/platform/s60/inc/cpixutils.h
changeset 13 fcb2a58c181b
child 14 8bd192d47aaa
equal deleted inserted replaced
11:7c6f43cd91cf 13:fcb2a58c181b
       
     1 /*
       
     2 * Copyright (c) 2010 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 CPIXUTILS_H_
       
    19 #define CPIXUTILS_H_
       
    20 
       
    21 /**
       
    22  * Helper to convert symbian descriptor to QString.
       
    23  * @param aDesc the descriptor to be converted to QString.
       
    24  * @return QString representation of the descriptor.
       
    25  */
       
    26 QString QStringFromDescriptor( const TDesC& aDesc );
       
    27 
       
    28 /**
       
    29  * Gets a QCPixDocument from CSearchDocument
       
    30  * @param aDoc CSearchDocument to be converted to QCPixDocument. Takes ownership of aDoc.
       
    31  * @return QCPixDocument representation of aDoc. Ownership transferred to caller.
       
    32  */
       
    33 CpixDocument* CpixDocFromCSearchDocument( CSearchDocument* aDoc );
       
    34 
       
    35 #endif /* QCPIXUTILS_H_ */