Diffstat (limited to 'core/pim/addressbook/ocontactfields.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/ocontactfields.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/core/pim/addressbook/ocontactfields.h b/core/pim/addressbook/ocontactfields.h new file mode 100644 index 0000000..796bc0a --- a/dev/null +++ b/core/pim/addressbook/ocontactfields.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef OPIE_CONTACTS_FIELDS | ||
2 | #define OPIE_CONTACTS_FIELDS | ||
3 | |||
4 | class QStringList; | ||
5 | |||
6 | #include <qmap.h> | ||
7 | #include <qstring.h> | ||
8 | |||
9 | class OContactFields{ | ||
10 | |||
11 | public: | ||
12 | static QStringList trphonefields( bool sorted = true ); | ||
13 | static QStringList untrphonefields( bool sorted = true ); | ||
14 | static QStringList trdetailsfields( bool sorted = true ); | ||
15 | static QStringList untrdetailsfields( bool sorted = true ); | ||
16 | static QStringList trfields( bool sorted = true ); | ||
17 | static QStringList untrfields( bool sorted = true ); | ||
18 | |||
19 | static QMap<int, QString> idToTrFields(); | ||
20 | static QMap<QString, int> trFieldsToId(); | ||
21 | |||
22 | }; | ||
23 | |||
24 | #endif | ||