📄 contact.cpp
字号:
// home { "HomeStreet", QT_TRANSLATE_NOOP("PimContact", "Home Street" ), PimContact::HomeStreet, 10 }, { "HomeCity", QT_TRANSLATE_NOOP("PimContact", "Home City" ), PimContact::HomeCity, 0 }, { "HomeState", QT_TRANSLATE_NOOP("PimContact", "Home State" ), PimContact::HomeState, 0 }, { "HomeZip", QT_TRANSLATE_NOOP("PimContact", "Home Zip" ), PimContact::HomeZip, 0 }, { "HomeCountry", QT_TRANSLATE_NOOP("PimContact", "Home Country" ), PimContact::HomeCountry, 0 }, { "HomePhone", QT_TRANSLATE_NOOP("PimContact", "Home Phone" ), PimContact::HomePhone, 10 }, { "HomeFax", QT_TRANSLATE_NOOP("PimContact", "Home Fax" ), PimContact::HomeFax, 10 }, { "HomeMobile", QT_TRANSLATE_NOOP("PimContact", "Home Mobile" ), PimContact::HomeMobile, 30 }, { "HomeWebPage", QT_TRANSLATE_NOOP("PimContact", "Home Web Page" ), PimContact::HomeWebPage, 10 }, // business { "Company", QT_TRANSLATE_NOOP("PimContact", "Company" ), PimContact::Company, 10 }, { "BusinessStreet", QT_TRANSLATE_NOOP("PimContact", "Business Street" ), PimContact::BusinessStreet, 10 }, { "BusinessCity", QT_TRANSLATE_NOOP("PimContact", "Business City" ), PimContact::BusinessCity, 0 }, { "BusinessState", QT_TRANSLATE_NOOP("PimContact", "Business State" ), PimContact::BusinessState, 0 }, { "BusinessZip", QT_TRANSLATE_NOOP("PimContact", "Business Zip" ), PimContact::BusinessZip, 0 }, { "BusinessCountry", QT_TRANSLATE_NOOP("PimContact", "Business Country" ), PimContact::BusinessCountry, 0 }, { "BusinessWebPage", QT_TRANSLATE_NOOP("PimContact", "Business Web Page" ), PimContact::BusinessWebPage, 10 }, { "JobTitle", QT_TRANSLATE_NOOP("PimContact", "Job Title" ), PimContact::JobTitle, 10 }, { "Department", QT_TRANSLATE_NOOP("PimContact", "Department" ), PimContact::Department, 0 }, { "Office", QT_TRANSLATE_NOOP("PimContact", "Office" ), PimContact::Office, 0 }, { "BusinessPhone", QT_TRANSLATE_NOOP("PimContact", "Business Phone" ), PimContact::BusinessPhone, 10 }, { "BusinessFax", QT_TRANSLATE_NOOP("PimContact", "Business Fax" ), PimContact::BusinessFax, 10 }, { "BusinessMobile", QT_TRANSLATE_NOOP("PimContact", "Business Mobile" ), PimContact::BusinessMobile, 20 }, { "BusinessPager", QT_TRANSLATE_NOOP("PimContact", "Business Pager" ), PimContact::BusinessPager, 10 }, { "Profession", QT_TRANSLATE_NOOP("PimContact", "Profession" ), PimContact::Profession, 0 }, { "Assistant", QT_TRANSLATE_NOOP("PimContact", "Assistant" ), PimContact::Assistant, 0 }, { "Manager", QT_TRANSLATE_NOOP("PimContact", "Manager" ), PimContact::Manager, 0 }, //personal { "Spouse", QT_TRANSLATE_NOOP("PimContact", "Spouse" ), PimContact::Spouse, 10 }, { "Gender", QT_TRANSLATE_NOOP("PimContact", "Gender" ), PimContact::Gender, 0 }, { "Birthday", QT_TRANSLATE_NOOP("PimContact", "Birthday" ), PimContact::Birthday, 50 }, { "Anniversary", QT_TRANSLATE_NOOP("PimContact", "Anniversary" ), PimContact::Anniversary, 0 }, { "Nickname", QT_TRANSLATE_NOOP("PimContact", "Nickname" ), PimContact::Nickname, 0 }, { "Children", QT_TRANSLATE_NOOP("PimContact", "Children" ), PimContact::Children, 20 }, // other { "Notes", QT_TRANSLATE_NOOP("PimContact", "Notes" ), PimContact::Notes, 0 }, // Added in Qtopia 1.6 { "LastNamePronunciation", QT_TRANSLATE_NOOP("PimContact", " Pronunciation" ), PimContact::LastNamePronunciation, 0 }, { "FirstNamePronunciation", QT_TRANSLATE_NOOP("PimContact", " Pronunciation" ), PimContact::FirstNamePronunciation, 0 }, { "CompanyPronunciation", QT_TRANSLATE_NOOP("PimContact", " Pronunciation" ), PimContact::CompanyPronunciation, 0 }, { 0, 0, 0, 0 }};void PimContact::initMaps(){ delete keyToIdentifierMapPtr; keyToIdentifierMapPtr = new QMap<int, QCString>; delete identifierToKeyMapPtr; identifierToKeyMapPtr = new QMap<QCString, int>; delete trFieldsMapPtr; trFieldsMapPtr = new QMap<int,QString>; delete uniquenessMapPtr; uniquenessMapPtr = new QMap<int, int>; PimRecord::initMaps("PimContact", addressbookentries, *uniquenessMapPtr, *identifierToKeyMapPtr, *keyToIdentifierMapPtr, *trFieldsMapPtr );}/*! \internal*/const QMap<int, QCString> &PimContact::keyToIdentifierMap(){ if ( !keyToIdentifierMapPtr ) initMaps(); return *keyToIdentifierMapPtr;}/*! \internal*/const QMap<QCString,int> &PimContact::identifierToKeyMap(){ if ( !identifierToKeyMapPtr ) initMaps(); return *identifierToKeyMapPtr;}/*! \internal*/const QMap<int, QString> & PimContact::trFieldsMap(){ if ( !trFieldsMapPtr ) initMaps(); return *trFieldsMapPtr;}/*! \internal*/const QMap<int,int> & PimContact::uniquenessMap(){ if ( !uniquenessMapPtr ) initMaps(); return *uniquenessMapPtr;}/*! \fn void PimContact::setNameTitle( const QString &str ) Sets the title of the contact to \a str.*//*! \fn void PimContact::setFirstName( const QString &str ) Sets the first name of the contact to \a str.*//*! \fn void PimContact::setMiddleName( const QString &str ) Sets the middle name of the contact to \a str.*//*! \fn void PimContact::setLastName( const QString &str ) Sets the last name of the contact to \a str.*//*! \fn void PimContact::setFirstNamePronunciation( const QString &str ) Sets the pronunciation of the contacts first name to \a str.*//*! \fn QString PimContact::firstNamePronunciation() const Returns the pronunciation of the contacts first name.*//*! \fn void PimContact::setLastNamePronunciation( const QString &str ) Sets the pronunciation of the contacts last name to \a str.*//*! \fn QString PimContact::lastNamePronunciation() const Returns the pronunciation of the contacts last name.*//*! \fn void PimContact::setCompanyPronunciation( const QString &str ) Sets the pronunciation of the contacts company name to \a str.*//*! \fn QString PimContact::companyPronunciation() const Returns the pronunciation of the contacts company name.*//*! \fn void PimContact::setSuffix( const QString &str ) Sets the suffix of the contact to \a str.*//*! \fn void PimContact::setFileAs( const QString &str ) Sets the contact to filed as \a str.*//*! \fn void PimContact::setHomeStreet( const QString &str ) Sets the home street address of the contact to \a str.*//*! \fn void PimContact::setHomeCity( const QString &str ) Sets the home city of the contact to \a str.*//*! \fn void PimContact::setHomeState( const QString &str ) Sets the home state of the contact to \a str.*//*! \fn void PimContact::setHomeZip( const QString &str ) Sets the home zip code of the contact to \a str.*//*! \fn void PimContact::setHomeCountry( const QString &str ) Sets the home country of the contact to \a str.*//*! \fn void PimContact::setHomePhone( const QString &str ) Sets the home phone number of the contact to \a str.*//*! \fn void PimContact::setHomeFax( const QString &str ) Sets the home fax number of the contact to \a str.*//*! \fn void PimContact::setHomeMobile( const QString &str ) Sets the home mobile phone number of the contact to \a str.*//*! \fn void PimContact::setHomeWebpage( const QString &str ) Sets the home webpage of the contact to \a str.*//*! \fn void PimContact::setCompany( const QString &str ) Sets the company for contact to \a str.*//*! \fn void PimContact::setJobTitle( const QString &str ) Sets the job title of the contact to \a str.*//*! \fn void PimContact::setDepartment( const QString &str ) Sets the department for contact to \a str.*//*! \fn void PimContact::setOffice( const QString &str ) Sets the office for contact to \a str.*//*! \fn void PimContact::setBusinessStreet( const QString &str ) Sets the business street address of the contact to \a str.*//*! \fn void PimContact::setBusinessCity( const QString &str ) Sets the business city of the contact to \a str.*//*! \fn void PimContact::setBusinessState( const QString &str ) Sets the business state of the contact to \a str.*//*! \fn void PimContact::setBusinessZip( const QString &str ) Sets the business zip code of the contact to \a str.*//*! \fn void PimContact::setBusinessCountry( const QString &str ) Sets the business country of the contact to \a str.*//*! \fn void PimContact::setBusinessPhone( const QString &str ) Sets the business phone number of the contact to \a str.*//*! \fn void PimContact::setBusinessFax( const QString &str ) Sets the business fax number of the contact to \a str.*//*! \fn void PimContact::setBusinessMobile( const QString &str ) Sets the business mobile phone number of the contact to \a str.*//*! \fn void PimContact::setBusinessPager( const QString &str ) Sets the business pager number of the contact to \a str.*//*! \fn void PimContact::setBusinessWebpage( const QString &str ) Sets the business webpage of the contact to \a str.*//*! \fn void PimContact::setProfession( const QString &str ) Sets the profession of the contact to \a str.*//*! \fn void PimContact::setAssistant( const QString &str ) Sets the assistant of the contact to \a str.*//*! \fn void PimContact::setManager( const QString &str ) Sets the manager of the contact to \a str.*//*! \fn void PimContact::setSpouse( const QString &str ) Sets the spouse of the contact to \a str.*//*! \fn void PimContact::setNickname( const QString &str ) Sets the nickname of the contact to \a str.*//*! \fn void PimContact::setNotes( const QString &str ) Sets the notes about the contact to \a str.*//*! \fn QString PimContact::nameTitle() const Returns the title of the contact.*//*! \fn QString PimContact::firstName() const Returns the first name of the contact.*//*! \fn QString PimContact::middleName() const Returns the middle name of the contact.*//*! \fn QString PimContact::lastName() const Returns the last name of the contact.*//*! \fn QString PimContact::suffix() const Returns the suffix of the contact.*//*! \fn QString PimContact::fileAs() const Returns the string the contact is filed as.*//*! \fn QString PimContact::defaultEmail() const Returns the default email address of the contact.*//*! \fn QString PimContact::homeStreet() const Returns the home street address of the contact.*//*! \fn QString PimContact::homeCity() const Returns the home city of the contact.*//*! \fn QString PimContact::homeState() const Returns the home state of the contact.*//*! \fn QString PimContact::homeZip() const Returns the home zip of the contact.*//*! \fn QString PimContact::homeCountry() const Returns the home country of the contact.*//*! \fn QString PimContact::homePhone() const Returns the home phone number of the contact.*//*! \fn QString PimContact::homeFax() const Returns the home fax number of the contact.*//*! \fn QString PimContact::homeMobile() const Returns the home mobile number of the contact.*//*! \fn QString PimContact::homeWebpage() const Returns the home webpage of the contact.*//*! \fn QString PimContact::company() const Returns the company for the contact.*//*! \fn QString PimContact::department() const Returns the department for the contact.*//*! \fn QString PimContact::office() const Returns the office for the contact.*//*! \fn QString PimContact::jobTitle() const Returns the job title of the contact.*//*! \fn QString PimContact::profession() const Returns the profession of the contact.*//*! \fn QString PimContact::assistant() const Returns the assistant of the contact.*//*! \fn QString PimContact::manager() const Returns the manager of the contact.*//*! \fn QString PimContact::businessStreet() const Returns the business street address of the contact.*//*! \fn QString PimContact::businessCity() const Returns the business city of the contact.*//*! \fn QString PimContact::businessState() const Returns the business state of the contact.*//*! \fn QString PimContact::businessZip() const Returns the business zip of the contact.*//*! \fn QString PimContact::businessCountry() const Returns the business country of the contact.*//*! \fn QString PimContact::businessPhone() const Returns the business phone number of the contact.*//*! \fn QString PimContact::businessFax() const Returns the business fax number of the contact.*//*! \fn QString PimContact::businessMobile() const Returns the business mobile number of the contact.*//*! \fn QString PimContact::businessPager() const Returns the business pager number of the contact.*//*! \fn QString PimContact::businessWebpage() const Returns the business webpage of the contact.*//*! \fn QString PimContact::spouse() const Returns the spouse of the contact.*//*! \fn QString PimContact::nickname() const Returns the nickname of the contact.*//*! \fn QString PimContact::children() const Returns the children of the contact.*//*! \fn QString PimContact::notes() const Returns the notes relating to the the contact.*//*! \fn void PimContact::p_setUid(QUuid) \internal*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -