author | ulf69 <ulf69> | 2004-08-06 20:30:16 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-06 20:30:16 (UTC) |
commit | 26697d027609149853b984874190e2624749b7e3 (patch) (unidiff) | |
tree | 84b4392b20d1572645cb3d9ff5b6057da52ce970 /libkdepim/kpimprefs.h | |
parent | 38d84409bcca83516eb816461c8b79b4cf6cbf57 (diff) | |
download | kdepimpi-26697d027609149853b984874190e2624749b7e3.zip kdepimpi-26697d027609149853b984874190e2624749b7e3.tar.gz kdepimpi-26697d027609149853b984874190e2624749b7e3.tar.bz2 |
moved pim related parameters into kpimprefs. (email, phone parameters)
-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 | |||
@@ -29,24 +29,38 @@ | |||
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 | ||