#include </home/clem/local/src/opie/libopie2/opiepim/core/opimcontactfields.h>
Collaboration diagram for Opie::OPimContactFields:

Public Member Functions | |
| OPimContactFields () | |
| ~OPimContactFields () | |
| void | setFieldOrder (int num, int index) |
| int | getFieldOrder (int num, int defIndex) |
| void | saveToRecord (OPimContact &) |
| void | loadFromRecord (const OPimContact &) |
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 418 of file opimcontactfields.cpp. References DEFAULT_FIELD_ORDER, globalFieldOrder, Config::readEntry(), and Config::setGroup(). |
|
|
Definition at line 429 of file opimcontactfields.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 82 of file opimcontactfields.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 144 of file opimcontactfields.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 492 of file opimcontactfields.cpp. References fieldOrder, QChar::null, odebug, and oendl. Referenced by ContactEditor::setEntry(). |
|
|
|
|
Get Fieldorder from contact. Definition at line 457 of file opimcontactfields.cpp. References CONTACT_FIELD_ORDER_NAME, fieldOrder, globalFieldOrder, QString::isEmpty(), odebug, and oendl. Referenced by ContactEditor::setEntry(). |
|
||||||||||||
|
For internal use only. Returns a list of personal field names for a contact. Definition at line 48 of file opimcontactfields.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 111 of file opimcontactfields.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 444 of file opimcontactfields.cpp. References changedFieldOrder, CONTACT_FIELD_ORDER_NAME, fieldOrder, globalFieldOrder, odebug, and oendl. Referenced by ContactEditor::saveEntry(). |
|
||||||||||||
|
Set the index for combo boxes. Sets the index of combo num.
Definition at line 478 of file opimcontactfields.cpp. References changedFieldOrder, fieldOrder, globalFieldOrder, QString::number(), odebug, and oendl. Referenced by ContactEditor::cmbChooserChange(), and ContactEditor::slotAddressTypeChange(). |
|
|
For internal use only. Returns a translated list of details field names for a contact. Definition at line 211 of file opimcontactfields.cpp. References detailsfields(). Referenced by ContactEditor::init(). |
|
|
For internal use only. Returns a translated list of field names for a contact. Definition at line 240 of file opimcontactfields.cpp. References fields(). Referenced by ConfigDlg::ConfigDlg(). |
|
|
Definition at line 387 of file opimcontactfields.cpp. References QMap< Key, T >::begin(), QMap< Key, T >::end(), idToTrFields(), and QMap< Key, T >::insert(). Referenced by ConfigDlg::ConfigDlg(). |
|
|
For internal use only. Returns a translated list of personal field names for a contact. Definition at line 191 of file opimcontactfields.cpp. References personalfields(). |
|
|
For internal use only. Returns a translated list of phone field names for a contact. Definition at line 221 of file opimcontactfields.cpp. References phonefields(). Referenced by ContactEditor::init(). |
|
|
For internal use only. Returns an untranslated list of details field names for a contact. Definition at line 201 of file opimcontactfields.cpp. References detailsfields(). Referenced by ContactEditor::init(). |
|
|
For internal use only. Returns an untranslated list of field names for a contact. Definition at line 249 of file opimcontactfields.cpp. References fields(). Referenced by Opie::OPimContactAccessBackend_SQL::matchRegexp(), and Opie::OPimContactAccessBackend_SQL::queryByExample(). |
|
|
Definition at line 403 of file opimcontactfields.cpp. References QMap< Key, T >::begin(), QMap< Key, T >::end(), idToUntrFields(), and QMap< Key, T >::insert(). Referenced by ContactEditor::init(), and Opie::OPimContactAccessBackend_SQL::queryByExample(). |
|
|
For internal use only. Returns an untranslated list of personal field names for a contact. Definition at line 181 of file opimcontactfields.cpp. References personalfields(). |
|
|
For internal use only. Returns an untranslated list of phone field names for a contact. Definition at line 230 of file opimcontactfields.cpp. References phonefields(). Referenced by ContactEditor::init(). |
|
|
Definition at line 78 of file opimcontactfields.h. Referenced by saveToRecord(), setFieldOrder(), and ~OPimContactFields(). |
|
|
Definition at line 76 of file opimcontactfields.h. Referenced by getFieldOrder(), loadFromRecord(), saveToRecord(), and setFieldOrder(). |
|
|
Definition at line 77 of file opimcontactfields.h. Referenced by loadFromRecord(), OPimContactFields(), saveToRecord(), setFieldOrder(), and ~OPimContactFields(). |
1.4.2