-rw-r--r-- | libkdepim/kpimprefs.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/libkdepim/kpimprefs.h b/libkdepim/kpimprefs.h index 05a564c..5186315 100644 --- a/libkdepim/kpimprefs.h +++ b/libkdepim/kpimprefs.h | |||
@@ -21,33 +21,47 @@ | |||
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef KPIMPREFS_H | 23 | #ifndef KPIMPREFS_H |
24 | #define KPIMPREFS_H | 24 | #define KPIMPREFS_H |
25 | 25 | ||
26 | #include <qstringlist.h> | 26 | #include <qstringlist.h> |
27 | 27 | ||
28 | #include "kprefs.h" | 28 | #include "kprefs.h" |
29 | 29 | ||
30 | class KPimPrefs : public KPrefs | 30 | class KPimPrefs : public KPrefs |
31 | { | 31 | { |
32 | public: | 32 | public: |
33 | |||
33 | KPimPrefs( const QString &name = QString::null ); | 34 | KPimPrefs( const QString &name = QString::null ); |
34 | 35 | ||
35 | virtual ~KPimPrefs(); | 36 | virtual ~KPimPrefs(); |
36 | 37 | ||
37 | /** Set preferences to default values */ | 38 | /** Set preferences to default values */ |
38 | void usrSetDefaults(); | 39 | void usrSetDefaults(); |
39 | 40 | ||
40 | /** Read preferences from config file */ | 41 | /** Read preferences from config file */ |
41 | void usrReadConfig(); | 42 | void usrReadConfig(); |
42 | 43 | ||
43 | /** Write preferences to config file */ | 44 | /** Write preferences to config file */ |
44 | void usrWriteConfig(); | 45 | void usrWriteConfig(); |
45 | 46 | ||
47 | enum EMailClients { | ||
48 | OMPI = 0, | ||
49 | QTOPIA = 1, | ||
50 | OPIE = 2, | ||
51 | OTHER = 3 | ||
52 | }; | ||
53 | |||
54 | |||
46 | public: | 55 | public: |
47 | QStringList mCustomCategories; | 56 | QStringList mCustomCategories; |
48 | 57 | ||
58 | int mEmailClient; | ||
59 | QString mEmailChannel; | ||
60 | |||
61 | |||
62 | |||
49 | protected: | 63 | protected: |
50 | virtual void setCategoryDefaults() = 0; | 64 | virtual void setCategoryDefaults() = 0; |
51 | }; | 65 | }; |
52 | 66 | ||
53 | #endif | 67 | #endif |