#include </home/clem/local/src/opie/noncore/unsupported/libopie/pim/ocontactfields.h>
Collaboration diagram for OContactFields:

Public Member Functions | |
| OContactFields () | |
| ~OContactFields () | |
| void | setFieldOrder (int num, int index) |
| int | getFieldOrder (int num, int defIndex) |
| void | saveToRecord (OContact &) |
| void | loadFromRecord (const OContact &) |
Static Public Member Functions | |
| static QStringList | personalfields (bool sorted=true, bool translated=false) |
| static QStringList | phonefields (bool sorted=true, bool translated=false) |
| static QStringList | detailsfields (bool sorted=true, bool translated=false) |
| static QStringList | fields (bool sorted=true, bool translated=false) |
| static QStringList | trpersonalfields (bool sorted=true) |
| static QStringList | untrpersonalfields (bool sorted=true) |
| static QStringList | trphonefields (bool sorted=true) |
| static QStringList | untrphonefields (bool sorted=true) |
| static QStringList | trdetailsfields (bool sorted=true) |
| static QStringList | untrdetailsfields (bool sorted=true) |
| static QStringList | trfields (bool sorted=true) |
| static QStringList | untrfields (bool sorted=true) |
| static QMap< int, QString > | idToTrFields () |
| static QMap< QString, int > | trFieldsToId () |
| static QMap< int, QString > | idToUntrFields () |
| static QMap< QString, int > | untrFieldsToId () |
Private Attributes | |
| QString | fieldOrder |
| QString | globalFieldOrder |
| bool | changedFieldOrder |
|
|
Definition at line 386 of file ocontactfields.cpp. References DEFAULT_FIELD_ORDER, globalFieldOrder, Config::readEntry(), and Config::setGroup(). |
|
|
Definition at line 397 of file ocontactfields.cpp. References changedFieldOrder, globalFieldOrder, Config::setGroup(), and Config::writeEntry(). |
|
||||||||||||
|
For internal use only. Returns a list of details field names for a contact. Definition at line 50 of file ocontactfields.cpp. References Qtopia::Anniversary, QValueList< T >::append(), Qtopia::Assistant, Qtopia::Birthday, Qtopia::Children, Qtopia::Gender, idToTrFields(), idToUntrFields(), list, Qtopia::Manager, Qtopia::Nickname, Qtopia::Office, Qtopia::Profession, QStringList::sort(), and Qtopia::Spouse. Referenced by fields(), trdetailsfields(), and untrdetailsfields(). |
|
||||||||||||
|
For internal use only. Returns a list of field names for a contact. Definition at line 112 of file ocontactfields.cpp. References QValueList< T >::append(), Qtopia::BusinessCity, Qtopia::BusinessCountry, Qtopia::BusinessState, Qtopia::BusinessStreet, Qtopia::BusinessZip, detailsfields(), Qtopia::HomeCity, Qtopia::HomeCountry, Qtopia::HomeState, Qtopia::HomeStreet, Qtopia::HomeZip, idToTrFields(), idToUntrFields(), list, personalfields(), phonefields(), and QStringList::sort(). Referenced by trfields(), and untrfields(). |
|
||||||||||||
|
Get the index for combo boxes. Returns the index of combo num or defindex if none was defined..
Definition at line 454 of file ocontactfields.cpp. References fieldOrder, QString::latin1(), QChar::null, and qDebug(). |
|
|
|
|
Get Fieldorder from contact. Definition at line 422 of file ocontactfields.cpp. References CONTACT_FIELD_ORDER_NAME, fieldOrder, globalFieldOrder, QString::isEmpty(), QString::latin1(), and qDebug(). |
|
||||||||||||
|
For internal use only. Returns a list of personal field names for a contact. Definition at line 16 of file ocontactfields.cpp. References Qtopia::AddressCategory, Qtopia::AddressUid, QValueList< T >::append(), Qtopia::Company, Qtopia::Department, Qtopia::FileAs, Qtopia::FirstName, Qtopia::Groups, idToTrFields(), idToUntrFields(), Qtopia::JobTitle, Qtopia::LastName, list, Qtopia::MiddleName, Qtopia::Notes, QStringList::sort(), Qtopia::Suffix, and Qtopia::Title. Referenced by fields(), trpersonalfields(), and untrpersonalfields(). |
|
||||||||||||
|
For internal use only. Returns a list of phone field names for a contact. Definition at line 79 of file ocontactfields.cpp. References QValueList< T >::append(), Qtopia::BusinessFax, Qtopia::BusinessMobile, Qtopia::BusinessPager, Qtopia::BusinessPhone, Qtopia::BusinessWebPage, Qtopia::DefaultEmail, Qtopia::Emails, Qtopia::HomeFax, Qtopia::HomeMobile, Qtopia::HomePhone, Qtopia::HomeWebPage, idToTrFields(), idToUntrFields(), list, and QStringList::sort(). Referenced by fields(), trphonefields(), and untrphonefields(). |
|
|
Store fieldorder to contact. Definition at line 410 of file ocontactfields.cpp. References changedFieldOrder, CONTACT_FIELD_ORDER_NAME, fieldOrder, globalFieldOrder, QString::latin1(), and qDebug(). |
|
||||||||||||
|
Set the index for combo boxes. Sets the index of combo num.
Definition at line 441 of file ocontactfields.cpp. References changedFieldOrder, fieldOrder, globalFieldOrder, QString::latin1(), QString::number(), and qDebug(). |
|
|
For internal use only. Returns a translated list of details field names for a contact. Definition at line 179 of file ocontactfields.cpp. References detailsfields(). |
|
|
For internal use only. Returns a translated list of field names for a contact. Definition at line 208 of file ocontactfields.cpp. References fields(). |
|
|
Definition at line 355 of file ocontactfields.cpp. References QMap< Key, T >::begin(), QMap< Key, T >::end(), idToTrFields(), and QMap< Key, T >::insert(). |
|
|
For internal use only. Returns a translated list of personal field names for a contact. Definition at line 159 of file ocontactfields.cpp. References personalfields(). |
|
|
For internal use only. Returns a translated list of phone field names for a contact. Definition at line 189 of file ocontactfields.cpp. References phonefields(). |
|
|
For internal use only. Returns an untranslated list of details field names for a contact. Definition at line 169 of file ocontactfields.cpp. References detailsfields(). |
|
|
For internal use only. Returns an untranslated list of field names for a contact. Definition at line 217 of file ocontactfields.cpp. References fields(). Referenced by OContactAccessBackend_SQL::queryByExample(), and OContactAccessBackend_SQL::requestNonCustom(). |
|
|
Definition at line 371 of file ocontactfields.cpp. References QMap< Key, T >::begin(), QMap< Key, T >::end(), idToUntrFields(), and QMap< Key, T >::insert(). Referenced by OContactAccessBackend_SQL::queryByExample(), and OContactAccessBackend_SQL::requestNonCustom(). |
|
|
For internal use only. Returns an untranslated list of personal field names for a contact. Definition at line 149 of file ocontactfields.cpp. References personalfields(). |
|
|
For internal use only. Returns an untranslated list of phone field names for a contact. Definition at line 198 of file ocontactfields.cpp. References phonefields(). |
|
|
Definition at line 43 of file ocontactfields.h. Referenced by saveToRecord(), setFieldOrder(), and ~OContactFields(). |
|
|
Definition at line 41 of file ocontactfields.h. Referenced by getFieldOrder(), loadFromRecord(), saveToRecord(), and setFieldOrder(). |
|
|
Definition at line 42 of file ocontactfields.h. Referenced by loadFromRecord(), OContactFields(), saveToRecord(), setFieldOrder(), and ~OContactFields(). |
1.4.2