-rw-r--r-- | libkdepim/kpimglobalprefs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libkdepim/kpimglobalprefs.h b/libkdepim/kpimglobalprefs.h index 7c55099..d09c3da 100644 --- a/libkdepim/kpimglobalprefs.h +++ b/libkdepim/kpimglobalprefs.h | |||
@@ -1,139 +1,140 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libkdepim. | 2 | This file is part of libkdepim. |
3 | Copyright (c) 2004 Ulf Schenk | 3 | Copyright (c) 2004 Ulf Schenk |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
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 | 23 | ||
24 | /* | 24 | /* |
25 | Enhanced Version of the file for platform independent KDE tools. | 25 | Enhanced Version of the file for platform independent KDE tools. |
26 | Copyright (c) 2004 Ulf Schenk | 26 | Copyright (c) 2004 Ulf Schenk |
27 | 27 | ||
28 | $Id$ | 28 | $Id$ |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #ifndef KPIMGLOBALPREFS_H | 31 | #ifndef KPIMGLOBALPREFS_H |
32 | #define KPIMGLOBALPREFS_H | 32 | #define KPIMGLOBALPREFS_H |
33 | 33 | ||
34 | #include "kprefs.h" | 34 | #include "kprefs.h" |
35 | 35 | ||
36 | class KPimGlobalPrefs : public KPrefs | 36 | class KPimGlobalPrefs : public KPrefs |
37 | { | 37 | { |
38 | public: | 38 | public: |
39 | 39 | ||
40 | void setGlobalConfig(); | 40 | void setGlobalConfig(); |
41 | static KPimGlobalPrefs *instance(); | 41 | static KPimGlobalPrefs *instance(); |
42 | 42 | ||
43 | 43 | ||
44 | virtual ~KPimGlobalPrefs(); | 44 | virtual ~KPimGlobalPrefs(); |
45 | 45 | ||
46 | 46 | ||
47 | enum EMailClients { | 47 | enum EMailClients { |
48 | NONE_EMC = 0, | 48 | NONE_EMC = 0, |
49 | OTHER_EMC = 1, | 49 | OTHER_EMC = 1, |
50 | OMPI_EMC = 2, | 50 | OMPI_EMC = 2, |
51 | QTOPIA_EMC = 3, | 51 | QTOPIA_EMC = 3, |
52 | OPIE_EMC = 4 | 52 | OPIE_EMC = 4 |
53 | }; | 53 | }; |
54 | 54 | ||
55 | enum PhoneClients { | 55 | enum PhoneClients { |
56 | NONE_PHC = 0, | 56 | NONE_PHC = 0, |
57 | OTHER_PHC = 1, | 57 | OTHER_PHC = 1, |
58 | KPPI_PHC = 2 | 58 | KPPI_PHC = 2 |
59 | }; | 59 | }; |
60 | 60 | ||
61 | enum FaxClients { | 61 | enum FaxClients { |
62 | NONE_FAC = 0, | 62 | NONE_FAC = 0, |
63 | OTHER_FAC = 1 | 63 | OTHER_FAC = 1 |
64 | }; | 64 | }; |
65 | 65 | ||
66 | enum SMSClients { | 66 | enum SMSClients { |
67 | NONE_SMC = 0, | 67 | NONE_SMC = 0, |
68 | OTHER_SMC = 1 | 68 | OTHER_SMC = 1 |
69 | }; | 69 | }; |
70 | 70 | ||
71 | enum PagerClients { | 71 | enum PagerClients { |
72 | NONE_PAC = 0, | 72 | NONE_PAC = 0, |
73 | OTHER_PAC = 1 | 73 | OTHER_PAC = 1 |
74 | }; | 74 | }; |
75 | 75 | ||
76 | enum SIPClients { | 76 | enum SIPClients { |
77 | NONE_SIC = 0, | 77 | NONE_SIC = 0, |
78 | OTHER_SIC = 1 | 78 | OTHER_SIC = 1, |
79 | KPPI_SIC = 2 | ||
79 | }; | 80 | }; |
80 | 81 | ||
81 | private: | 82 | private: |
82 | KPimGlobalPrefs( const QString &name = QString::null ); | 83 | KPimGlobalPrefs( const QString &name = QString::null ); |
83 | 84 | ||
84 | static KPimGlobalPrefs *sInstance; | 85 | static KPimGlobalPrefs *sInstance; |
85 | 86 | ||
86 | 87 | ||
87 | public: | 88 | public: |
88 | //US I copied the following "locale" settings from KOPrefs | 89 | //US I copied the following "locale" settings from KOPrefs |
89 | int mPreferredDate; | 90 | int mPreferredDate; |
90 | QString mUserDateFormatLong; | 91 | QString mUserDateFormatLong; |
91 | QString mUserDateFormatShort; | 92 | QString mUserDateFormatShort; |
92 | int mPreferredLanguage; | 93 | int mPreferredLanguage; |
93 | int mPreferredTime; | 94 | int mPreferredTime; |
94 | bool mWeekStartsOnSunday; | 95 | bool mWeekStartsOnSunday; |
95 | QString mTimeZoneId; | 96 | QString mTimeZoneId; |
96 | bool mUseDaylightsaving; | 97 | bool mUseDaylightsaving; |
97 | int mDaylightsavingStart; | 98 | int mDaylightsavingStart; |
98 | int mDaylightsavingEnd; | 99 | int mDaylightsavingEnd; |
99 | bool mTimeZoneAdd30min; | 100 | bool mTimeZoneAdd30min; |
100 | 101 | ||
101 | int mEmailClient; | 102 | int mEmailClient; |
102 | QString mEmailOtherChannel; | 103 | QString mEmailOtherChannel; |
103 | QString mEmailOtherMessage; | 104 | QString mEmailOtherMessage; |
104 | QString mEmailOtherMessageParameters; | 105 | QString mEmailOtherMessageParameters; |
105 | QString mEmailOtherMessage2; | 106 | QString mEmailOtherMessage2; |
106 | QString mEmailOtherMessageParameters2; | 107 | QString mEmailOtherMessageParameters2; |
107 | 108 | ||
108 | int mPhoneClient; | 109 | int mPhoneClient; |
109 | QString mPhoneOtherChannel; | 110 | QString mPhoneOtherChannel; |
110 | QString mPhoneOtherMessage; | 111 | QString mPhoneOtherMessage; |
111 | QString mPhoneOtherMessageParameters; | 112 | QString mPhoneOtherMessageParameters; |
112 | 113 | ||
113 | int mFaxClient; | 114 | int mFaxClient; |
114 | QString mFaxOtherChannel; | 115 | QString mFaxOtherChannel; |
115 | QString mFaxOtherMessage; | 116 | QString mFaxOtherMessage; |
116 | QString mFaxOtherMessageParameters; | 117 | QString mFaxOtherMessageParameters; |
117 | 118 | ||
118 | int mSMSClient; | 119 | int mSMSClient; |
119 | QString mSMSOtherChannel; | 120 | QString mSMSOtherChannel; |
120 | QString mSMSOtherMessage; | 121 | QString mSMSOtherMessage; |
121 | QString mSMSOtherMessageParameters; | 122 | QString mSMSOtherMessageParameters; |
122 | 123 | ||
123 | int mPagerClient; | 124 | int mPagerClient; |
124 | QString mPagerOtherChannel; | 125 | QString mPagerOtherChannel; |
125 | QString mPagerOtherMessage; | 126 | QString mPagerOtherMessage; |
126 | QString mPagerOtherMessageParameters; | 127 | QString mPagerOtherMessageParameters; |
127 | 128 | ||
128 | int mSipClient; | 129 | int mSipClient; |
129 | QString mSipOtherChannel; | 130 | QString mSipOtherChannel; |
130 | QString mSipOtherMessage; | 131 | QString mSipOtherMessage; |
131 | QString mSipOtherMessageParameters; | 132 | QString mSipOtherMessageParameters; |
132 | 133 | ||
133 | QString mEx2PhoneDevice; | 134 | QString mEx2PhoneDevice; |
134 | QString mEx2PhoneConnection; | 135 | QString mEx2PhoneConnection; |
135 | QString mEx2PhoneModel; | 136 | QString mEx2PhoneModel; |
136 | 137 | ||
137 | }; | 138 | }; |
138 | 139 | ||
139 | #endif | 140 | #endif |