phoneengine/phonecntfinder2/tsrc/mocks/qcontactname.h
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
equal deleted inserted replaced
30:ebdbd102c78a 36:2eacb6118286
     1 /*
       
     2 * Copyright (c) 2008-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 
       
    19 
       
    20 #ifndef QCONTACTNAME_H
       
    21 #define QCONTACTNAME_H
       
    22 
       
    23 #include <QString>
       
    24 
       
    25 #include "qtcontactsglobal.h"
       
    26 #include "qcontactdetail.h"
       
    27 #include "qcontact.h"
       
    28 
       
    29 class QContactName : public QContactDetail
       
    30 {
       
    31 public:
       
    32 
       
    33     Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactName, "Name")
       
    34     Q_DECLARE_LATIN1_LITERAL(FieldPrefix, "Prefix");
       
    35     Q_DECLARE_LATIN1_LITERAL(FieldFirst, "First");
       
    36     Q_DECLARE_LATIN1_LITERAL(FieldMiddle, "Middle");
       
    37     Q_DECLARE_LATIN1_LITERAL(FieldLast, "Last");
       
    38     Q_DECLARE_LATIN1_LITERAL(FieldSuffix, "Suffix");
       
    39 
       
    40 };
       
    41 
       
    42 #endif