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

contact.cpp File Reference

#include "contact.h"
#include "vobject_p.h"
#include "qfiledirect_p.h"
#include <qpe/stringutil.h>
#include <qpe/timeconversion.h>
#include <qobject.h>
#include <qregexp.h>
#include <qstylesheet.h>
#include <qfileinfo.h>
#include <stdio.h>

Include dependency graph for contact.cpp:

Go to the source code of this file.

Defines

#define QTOPIA_INTERNAL_CONTACT_MRE

Functions

static VObjectsafeAddPropValue (VObject *o, const char *prop, const QString &value)
static VObjectsafeAddProp (VObject *o, const char *prop)
static VObjectcreateVObject (const Contact &c)
static Contact parseVObject (VObject *obj)


Define Documentation

#define QTOPIA_INTERNAL_CONTACT_MRE
 

Definition at line 21 of file contact.cpp.


Function Documentation

static VObject* createVObject const Contact c  )  [static]
 

For internal use only.

Definition at line 998 of file contact.cpp.

References Contact::anniversary(), Contact::assistant(), QValueList< T >::begin(), Contact::birthday(), Contact::businessCity(), Contact::businessCountry(), Contact::businessFax(), Contact::businessMobile(), Contact::businessPager(), Contact::businessPhone(), Contact::businessState(), Contact::businessStreet(), Contact::businessWebpage(), Contact::businessZip(), Contact::children(), Contact::company(), QDateTime::currentDateTime(), Contact::defaultEmail(), Contact::department(), Contact::emailList(), QValueList< T >::end(), Contact::firstName(), Contact::fullName(), Contact::gender(), Contact::homeCity(), Contact::homeCountry(), Contact::homeFax(), Contact::homeMobile(), Contact::homePhone(), Contact::homeState(), Contact::homeStreet(), Contact::homeWebpage(), Contact::homeZip(), Contact::jobTitle(), Contact::lastName(), Contact::manager(), Contact::middleName(), name, Contact::nickname(), Contact::notes(), QString::number(), Contact::office(), QValueList< T >::prepend(), Contact::profession(), safeAddProp(), safeAddPropValue(), Contact::spouse(), Contact::suffix(), title, Contact::title(), TimeConversion::toISO8601(), Qtopia::Record::uid(), VCAdditionalNamesProp, VCAdrProp, VCBirthDateProp, VCCardProp, VCCellularProp, VCCityProp, VCCountryNameProp, VCEmailAddressProp, VCFamilyNameProp, VCFaxProp, VCFullNameProp, VCGivenNameProp, VCHomeProp, VCInternetProp, VCLastRevisedProp, VCNamePrefixesProp, VCNameProp, VCNameSuffixesProp, VCNoteProp, VCOrgNameProp, VCOrgProp, VCOrgUnit2Prop, VCOrgUnitProp, VCPagerProp, VCPostalCodeProp, VCRegionProp, VCStreetAddressProp, VCTelephoneProp, VCTitleProp, VCUniqueStringProp, VCURLProp, VCVersionProp, and VCWorkProp.

Referenced by Task::writeVCalendar(), Event::writeVCalendar(), and Contact::writeVCard().

static Contact parseVObject VObject obj  )  [static]
 

For internal use only.

Definition at line 1101 of file contact.cpp.

References FALSE, Contact::insertEmail(), QString::latin1(), name, o, printf, Contact::setAnniversary(), Contact::setAssistant(), Contact::setBusinessCity(), Contact::setBusinessCountry(), Contact::setBusinessFax(), Contact::setBusinessMobile(), Contact::setBusinessPager(), Contact::setBusinessPhone(), Contact::setBusinessState(), Contact::setBusinessStreet(), Contact::setBusinessWebpage(), Contact::setBusinessZip(), Contact::setChildren(), Contact::setCompany(), Contact::setDepartment(), Contact::setFileAs(), Contact::setFirstName(), Contact::setGender(), Contact::setHomeCity(), Contact::setHomeCountry(), Contact::setHomeFax(), Contact::setHomeMobile(), Contact::setHomePhone(), Contact::setHomeState(), Contact::setHomeStreet(), Contact::setHomeWebpage(), Contact::setHomeZip(), Contact::setJobTitle(), Contact::setLastName(), Contact::setManager(), Contact::setMiddleName(), Contact::setNickname(), Contact::setOffice(), Contact::setProfession(), Contact::setSpouse(), Contact::setSuffix(), Contact::setTitle(), TRUE, type, VCAdditionalNamesProp, VCAdrProp, VCCellularProp, VCCityProp, VCCountryNameProp, VCEmailAddressProp, VCFamilyNameProp, VCFaxProp, VCGivenNameProp, VCHomeProp, VCInternetProp, VCNamePrefixesProp, VCNameProp, VCNameSuffixesProp, VCOrgNameProp, VCOrgProp, VCOrgUnit2Prop, VCOrgUnitProp, VCPagerProp, VCPostalCodeProp, VCPreferredProp, VCRegionProp, VCStreetAddressProp, VCTelephoneProp, VCTitleProp, VCURLProp, VCVoiceProp, and VCWorkProp.

Referenced by Task::readVCalendar(), Event::readVCalendar(), and Contact::readVCard().

static VObject* safeAddProp VObject o,
const char *  prop
[inline, static]
 

For internal use only.

Definition at line 987 of file contact.cpp.

Referenced by createVObject().

static VObject* safeAddPropValue VObject o,
const char *  prop,
const QString value
[inline, static]
 

For internal use only.

Definition at line 976 of file contact.cpp.

References QString::isEmpty(), and QString::latin1().

Referenced by createVObject().


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