Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

recordfields.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 ** Copyright (C) 2000-2002 Trolltech AS.  All rights reserved.
00003 **
00004 ** This file is part of the Qtopia Environment.
00005 **
00006 ** This file may be distributed and/or modified under the terms of the
00007 ** GNU General Public License version 2 as published by the Free Software
00008 ** Foundation and appearing in the file LICENSE.GPL included in the
00009 ** packaging of this file.
00010 **
00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00013 **
00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00015 **
00016 ** Contact info@trolltech.com if any conditions of this licensing are
00017 ** not clear to you.
00018 **
00019 **********************************************************************/
00020 #ifndef QPC_RECORD_FIELDS_H
00021 #define QPC_RECORD_FIELDS_H
00022 #include "qpcglobal.h"
00023 
00024 // dataset = "addressbook"
00025 namespace Qtopia
00026 {
00027     static const int UID_ID = 0;
00028     static const int CATEGORY_ID = 1;
00029 
00030     enum AddressBookFields {
00031         AddressUid = UID_ID,    
00032         AddressCategory = CATEGORY_ID,
00033 
00034         // NOTE: Order of fields dependency in backend/contact.cpp
00035 
00036         Title,
00037         FirstName,
00038         MiddleName,
00039         LastName,
00040         Suffix,
00041         FileAs,
00042 
00043         JobTitle,
00044         Department,
00045         Company,
00046         BusinessPhone,
00047         BusinessFax,
00048         BusinessMobile,
00049 
00050         // email
00051         DefaultEmail,
00052         Emails,
00053 
00054         HomePhone,
00055         HomeFax,
00056         HomeMobile,
00057 
00058         // business
00059         BusinessStreet,
00060         BusinessCity,
00061         BusinessState,
00062         BusinessZip,
00063         BusinessCountry,
00064         BusinessPager,
00065         BusinessWebPage,
00066 
00067         Office,
00068         Profession,
00069         Assistant,
00070         Manager,
00071 
00072         // home
00073         HomeStreet,
00074         HomeCity,
00075         HomeState,
00076         HomeZip,
00077         HomeCountry,
00078         HomeWebPage,
00079 
00080         //personal
00081         Spouse,
00082         Gender,
00083         Birthday,
00084         Anniversary,
00085         Nickname,
00086         Children,
00087 
00088         // other
00089         Notes,
00090 
00091         // used for internal record keeping, not for end user.
00092         Groups,
00093         rid,
00094         rinfo
00095     };
00096 
00097     // dataset = "todolist"
00098     enum TaskFields {
00099         TaskUid = UID_ID,
00100         TaskCategory = CATEGORY_ID,
00101         
00102         HasDate,
00103         Completed,
00104         TaskDescription,
00105         Priority,
00106         Date,
00107 
00108         TaskRid,
00109         TaskRinfo
00110     };
00111 
00112     // dataset = "categories" for todos
00113     enum CategoryFields {
00114         CatUid = UID_ID,
00115         CatName,
00116         CatAppGroup
00117     };
00118 
00119 
00120 // dataset = "datebook"
00121     enum DatebookFields {
00122         DatebookUid = UID_ID,
00123         DatebookCategory = CATEGORY_ID,
00124         
00125         DatebookDescription,
00126         Location,
00127         TimeZone,
00128         Note,
00129         StartDateTime,
00130         EndDateTime,
00131         DatebookType,
00132         HasAlarm,
00133         SoundType,
00134         AlarmTime,
00135 
00136         RepeatPatternType,
00137         RepeatPatternFrequency,
00138         RepeatPatternPosition,
00139         RepeatPatternDays,
00140         RepeatPatternHasEndDate,
00141         RepeatPatternEndDate,   
00142 
00143         DateBookRid,
00144         DateBookRinfo
00145     };
00146 };
00147 
00148 
00149 #endif

Generated on Sat Nov 5 16:16:33 2005 for OPIE by  doxygen 1.4.2