Diffstat (limited to 'libopie2/opiepim/ocontactfields.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/ocontactfields.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libopie2/opiepim/ocontactfields.h b/libopie2/opiepim/ocontactfields.h index 9f6171b..f105de7 100644 --- a/libopie2/opiepim/ocontactfields.h +++ b/libopie2/opiepim/ocontactfields.h | |||
@@ -34,24 +34,31 @@ class OContactFields{ | |||
34 | 34 | ||
35 | /** Store fieldorder to contact. */ | 35 | /** Store fieldorder to contact. */ |
36 | void saveToRecord( OContact& ); | 36 | void saveToRecord( OContact& ); |
37 | /** Get Fieldorder from contact. */ | 37 | /** Get Fieldorder from contact. */ |
38 | void loadFromRecord( const OContact& ); | 38 | void loadFromRecord( const OContact& ); |
39 | 39 | ||
40 | private: | 40 | private: |
41 | QString fieldOrder; | 41 | QString fieldOrder; |
42 | QString globalFieldOrder; | 42 | QString globalFieldOrder; |
43 | bool changedFieldOrder; | 43 | bool changedFieldOrder; |
44 | 44 | ||
45 | public: | 45 | public: |
46 | static QStringList personalfields( bool sorted = true, bool translated = false ); | ||
47 | static QStringList phonefields( bool sorted = true, bool translated = false ); | ||
48 | static QStringList detailsfields( bool sorted = true, bool translated = false ); | ||
49 | static QStringList fields( bool sorted = true, bool translated = false ); | ||
50 | |||
51 | static QStringList trpersonalfields( bool sorted = true ); | ||
52 | static QStringList untrpersonalfields( bool sorted = true ); | ||
46 | static QStringList trphonefields( bool sorted = true ); | 53 | static QStringList trphonefields( bool sorted = true ); |
47 | static QStringList untrphonefields( bool sorted = true ); | 54 | static QStringList untrphonefields( bool sorted = true ); |
48 | static QStringList trdetailsfields( bool sorted = true ); | 55 | static QStringList trdetailsfields( bool sorted = true ); |
49 | static QStringList untrdetailsfields( bool sorted = true ); | 56 | static QStringList untrdetailsfields( bool sorted = true ); |
50 | static QStringList trfields( bool sorted = true ); | 57 | static QStringList trfields( bool sorted = true ); |
51 | static QStringList untrfields( bool sorted = true ); | 58 | static QStringList untrfields( bool sorted = true ); |
52 | 59 | ||
53 | static QMap<int, QString> idToTrFields(); | 60 | static QMap<int, QString> idToTrFields(); |
54 | static QMap<QString, int> trFieldsToId(); | 61 | static QMap<QString, int> trFieldsToId(); |
55 | static QMap<int, QString> idToUntrFields(); | 62 | static QMap<int, QString> idToUntrFields(); |
56 | static QMap<QString, int> untrFieldsToId(); | 63 | static QMap<QString, int> untrFieldsToId(); |
57 | 64 | ||