messagingapp/msgutils/s60qconversions/inc/s60qconversions.h
branchGCC_SURGE
changeset 47 5b14749788d7
parent 35 a32b19fb291e
parent 44 36f374c67aa8
equal deleted inserted replaced
35:a32b19fb291e 47:5b14749788d7
     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 #ifndef S60QCONVERSIONS
       
    18 #define S60QCONVERSIONS
       
    19 
       
    20 #include <QObject>
       
    21 #include <e32base.h>
       
    22 #include "s60qconversiondefines.h"
       
    23 
       
    24 QT_BEGIN_HEADER
       
    25 
       
    26 QT_BEGIN_NAMESPACE
       
    27 
       
    28 class S60QCONV_EXPORT S60QConversions
       
    29     {
       
    30     public:
       
    31         static QString s60DescToQString(const TDesC& desc);
       
    32         static HBufC* qStringToS60Desc(const QString& string);
       
    33         static QString s60Desc8ToQString(const TDesC8& desc);
       
    34         static HBufC8* qStringToS60Desc8(const QString& string);
       
    35     };
       
    36 
       
    37 QT_END_NAMESPACE
       
    38 
       
    39 QT_END_HEADER
       
    40 
       
    41 #endif // S60QCONVERSIONS
       
    42 
       
    43 // End of file
       
    44