summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimglobalprefs.h
authorzautrix <zautrix>2004-10-23 11:40:59 (UTC)
committer zautrix <zautrix>2004-10-23 11:40:59 (UTC)
commit25b0233d54a6d4bea457fd843073e57183d8bea0 (patch) (unidiff)
tree4d85c3cec59e8b085738be7111c7e2bb0ee7219e /libkdepim/kpimglobalprefs.h
parentba2583db0431059cd7368be23c9653e81af16d29 (diff)
downloadkdepimpi-25b0233d54a6d4bea457fd843073e57183d8bea0.zip
kdepimpi-25b0233d54a6d4bea457fd843073e57183d8bea0.tar.gz
kdepimpi-25b0233d54a6d4bea457fd843073e57183d8bea0.tar.bz2
global settings bugfixes
Diffstat (limited to 'libkdepim/kpimglobalprefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimglobalprefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libkdepim/kpimglobalprefs.h b/libkdepim/kpimglobalprefs.h
index d09c3da..11c534a 100644
--- a/libkdepim/kpimglobalprefs.h
+++ b/libkdepim/kpimglobalprefs.h
@@ -11,48 +11,49 @@
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/*
25Enhanced Version of the file for platform independent KDE tools. 25Enhanced Version of the file for platform independent KDE tools.
26Copyright (c) 2004 Ulf Schenk 26Copyright (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#include <qdict.h>
35 36
36class KPimGlobalPrefs : public KPrefs 37class KPimGlobalPrefs : public KPrefs
37{ 38{
38 public: 39 public:
39 40
40 void setGlobalConfig(); 41 void setGlobalConfig();
41 static KPimGlobalPrefs *instance(); 42 static KPimGlobalPrefs *instance();
42 43
43 44
44 virtual ~KPimGlobalPrefs(); 45 virtual ~KPimGlobalPrefs();
45 46
46 47
47 enum EMailClients { 48 enum EMailClients {
48 NONE_EMC = 0, 49 NONE_EMC = 0,
49 OTHER_EMC = 1, 50 OTHER_EMC = 1,
50 OMPI_EMC = 2, 51 OMPI_EMC = 2,
51 QTOPIA_EMC = 3, 52 QTOPIA_EMC = 3,
52 OPIE_EMC = 4 53 OPIE_EMC = 4
53 }; 54 };
54 55
55 enum PhoneClients { 56 enum PhoneClients {
56 NONE_PHC = 0, 57 NONE_PHC = 0,
57 OTHER_PHC = 1, 58 OTHER_PHC = 1,
58 KPPI_PHC = 2 59 KPPI_PHC = 2
@@ -62,48 +63,49 @@ class KPimGlobalPrefs : public KPrefs
62 NONE_FAC = 0, 63 NONE_FAC = 0,
63 OTHER_FAC = 1 64 OTHER_FAC = 1
64 }; 65 };
65 66
66 enum SMSClients { 67 enum SMSClients {
67 NONE_SMC = 0, 68 NONE_SMC = 0,
68 OTHER_SMC = 1 69 OTHER_SMC = 1
69 }; 70 };
70 71
71 enum PagerClients { 72 enum PagerClients {
72 NONE_PAC = 0, 73 NONE_PAC = 0,
73 OTHER_PAC = 1 74 OTHER_PAC = 1
74 }; 75 };
75 76
76 enum SIPClients { 77 enum SIPClients {
77 NONE_SIC = 0, 78 NONE_SIC = 0,
78 OTHER_SIC = 1, 79 OTHER_SIC = 1,
79 KPPI_SIC = 2 80 KPPI_SIC = 2
80 }; 81 };
81 82
82 private: 83 private:
83 KPimGlobalPrefs( const QString &name = QString::null ); 84 KPimGlobalPrefs( const QString &name = QString::null );
84 85
85 static KPimGlobalPrefs *sInstance; 86 static KPimGlobalPrefs *sInstance;
87 QDict<QString> *mLocaleDict;
86 88
87 89
88 public: 90 public:
89 //US I copied the following "locale" settings from KOPrefs 91 //US I copied the following "locale" settings from KOPrefs
90 int mPreferredDate; 92 int mPreferredDate;
91 QString mUserDateFormatLong; 93 QString mUserDateFormatLong;
92 QString mUserDateFormatShort; 94 QString mUserDateFormatShort;
93 int mPreferredLanguage; 95 int mPreferredLanguage;
94 int mPreferredTime; 96 int mPreferredTime;
95 bool mWeekStartsOnSunday; 97 bool mWeekStartsOnSunday;
96 QString mTimeZoneId; 98 QString mTimeZoneId;
97 bool mUseDaylightsaving; 99 bool mUseDaylightsaving;
98 int mDaylightsavingStart; 100 int mDaylightsavingStart;
99 int mDaylightsavingEnd; 101 int mDaylightsavingEnd;
100 bool mTimeZoneAdd30min; 102 bool mTimeZoneAdd30min;
101 103
102 int mEmailClient; 104 int mEmailClient;
103 QString mEmailOtherChannel; 105 QString mEmailOtherChannel;
104 QString mEmailOtherMessage; 106 QString mEmailOtherMessage;
105 QString mEmailOtherMessageParameters; 107 QString mEmailOtherMessageParameters;
106 QString mEmailOtherMessage2; 108 QString mEmailOtherMessage2;
107 QString mEmailOtherMessageParameters2; 109 QString mEmailOtherMessageParameters2;
108 110
109 int mPhoneClient; 111 int mPhoneClient;