|
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 QCONTACTFIELDS_H_ |
|
18 #define QCONTACTFIELDS_H_ |
|
19 |
|
20 |
|
21 //-------------- Fields supported by database ----------------------------------// |
|
22 //Fields |
|
23 const QString fieldFirstName("FIRSTNAME"); //QVariant( QString ) |
|
24 const QString fieldLastName("LASTNAME"); |
|
25 const QString fieldNickName("NICKNAME"); |
|
26 const QString fieldNumber("NUMBER"); |
|
27 const QString fieldAddress("ADDRESS"); |
|
28 const QString fieldEmail("EMAIL"); |
|
29 const QString fieldSip("SIP"); |
|
30 const QString fieldPortrait("PORTRAIT"); |
|
31 //.... |
|
32 |
|
33 //Field properties |
|
34 const QString typeMobile("MOBILE"); //NUMBER |
|
35 const QString typeFax("FAX"); //NUMBER |
|
36 const QString typeHome("HOME"); //NUMBER & EMAIL & ADDRESS |
|
37 const QString typeWork("WORK"); //NUMBER & EMAIL & ADDRESS |
|
38 //.... |
|
39 |
|
40 //Field parameters |
|
41 const QString parameterStreet("STREET"); //ADDRESS |
|
42 const QString parameterPostCode("POSTCODE"); //ADDRESS |
|
43 |
|
44 |
|
45 //-------------- Field Collections supported by the database --------------------// |
|
46 //All fields used for call (e.g. number and sip) |
|
47 const QString callFields("CALL"); |
|
48 |
|
49 //All fields used for sms |
|
50 const QString smsFields("SMS"); |
|
51 |
|
52 //All fields used for email (home, business etc.) |
|
53 const QString emailFields("EMAIL"); |
|
54 |
|
55 #endif // QCONTACTFIELDS_H_ |
|
56 |