summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimglobalprefs.h
Unidiff
Diffstat (limited to 'libkdepim/kpimglobalprefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimglobalprefs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libkdepim/kpimglobalprefs.h b/libkdepim/kpimglobalprefs.h
index 11c534a..5e27e85 100644
--- a/libkdepim/kpimglobalprefs.h
+++ b/libkdepim/kpimglobalprefs.h
@@ -1,142 +1,143 @@
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/*
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#include <qdict.h>
36 36
37class KPimGlobalPrefs : public KPrefs 37class KPimGlobalPrefs : public KPrefs
38{ 38{
39 public: 39 public:
40 40
41 void setGlobalConfig(); 41 void setGlobalConfig();
42 static KPimGlobalPrefs *instance(); 42 static KPimGlobalPrefs *instance();
43 43
44 44
45 virtual ~KPimGlobalPrefs(); 45 virtual ~KPimGlobalPrefs();
46 46
47 47
48 enum EMailClients { 48 enum EMailClients {
49 NONE_EMC = 0, 49 NONE_EMC = 0,
50 OTHER_EMC = 1, 50 OTHER_EMC = 1,
51 OMPI_EMC = 2, 51 OMPI_EMC = 2,
52 QTOPIA_EMC = 3, 52 QTOPIA_EMC = 3,
53 OPIE_EMC = 4 53 OPIE_EMC = 4,
54 OPIE_MAILIT_EMC = 5
54 }; 55 };
55 56
56 enum PhoneClients { 57 enum PhoneClients {
57 NONE_PHC = 0, 58 NONE_PHC = 0,
58 OTHER_PHC = 1, 59 OTHER_PHC = 1,
59 KPPI_PHC = 2 60 KPPI_PHC = 2
60 }; 61 };
61 62
62 enum FaxClients { 63 enum FaxClients {
63 NONE_FAC = 0, 64 NONE_FAC = 0,
64 OTHER_FAC = 1 65 OTHER_FAC = 1
65 }; 66 };
66 67
67 enum SMSClients { 68 enum SMSClients {
68 NONE_SMC = 0, 69 NONE_SMC = 0,
69 OTHER_SMC = 1 70 OTHER_SMC = 1
70 }; 71 };
71 72
72 enum PagerClients { 73 enum PagerClients {
73 NONE_PAC = 0, 74 NONE_PAC = 0,
74 OTHER_PAC = 1 75 OTHER_PAC = 1
75 }; 76 };
76 77
77 enum SIPClients { 78 enum SIPClients {
78 NONE_SIC = 0, 79 NONE_SIC = 0,
79 OTHER_SIC = 1, 80 OTHER_SIC = 1,
80 KPPI_SIC = 2 81 KPPI_SIC = 2
81 }; 82 };
82 83
83 private: 84 private:
84 KPimGlobalPrefs( const QString &name = QString::null ); 85 KPimGlobalPrefs( const QString &name = QString::null );
85 86
86 static KPimGlobalPrefs *sInstance; 87 static KPimGlobalPrefs *sInstance;
87 QDict<QString> *mLocaleDict; 88 QDict<QString> *mLocaleDict;
88 89
89 90
90 public: 91 public:
91 //US I copied the following "locale" settings from KOPrefs 92 //US I copied the following "locale" settings from KOPrefs
92 int mPreferredDate; 93 int mPreferredDate;
93 QString mUserDateFormatLong; 94 QString mUserDateFormatLong;
94 QString mUserDateFormatShort; 95 QString mUserDateFormatShort;
95 int mPreferredLanguage; 96 int mPreferredLanguage;
96 int mPreferredTime; 97 int mPreferredTime;
97 bool mWeekStartsOnSunday; 98 bool mWeekStartsOnSunday;
98 QString mTimeZoneId; 99 QString mTimeZoneId;
99 bool mUseDaylightsaving; 100 bool mUseDaylightsaving;
100 int mDaylightsavingStart; 101 int mDaylightsavingStart;
101 int mDaylightsavingEnd; 102 int mDaylightsavingEnd;
102 bool mTimeZoneAdd30min; 103 bool mTimeZoneAdd30min;
103 104
104 int mEmailClient; 105 int mEmailClient;
105 QString mEmailOtherChannel; 106 QString mEmailOtherChannel;
106 QString mEmailOtherMessage; 107 QString mEmailOtherMessage;
107 QString mEmailOtherMessageParameters; 108 QString mEmailOtherMessageParameters;
108 QString mEmailOtherMessage2; 109 QString mEmailOtherMessage2;
109 QString mEmailOtherMessageParameters2; 110 QString mEmailOtherMessageParameters2;
110 111
111 int mPhoneClient; 112 int mPhoneClient;
112 QString mPhoneOtherChannel; 113 QString mPhoneOtherChannel;
113 QString mPhoneOtherMessage; 114 QString mPhoneOtherMessage;
114 QString mPhoneOtherMessageParameters; 115 QString mPhoneOtherMessageParameters;
115 116
116 int mFaxClient; 117 int mFaxClient;
117 QString mFaxOtherChannel; 118 QString mFaxOtherChannel;
118 QString mFaxOtherMessage; 119 QString mFaxOtherMessage;
119 QString mFaxOtherMessageParameters; 120 QString mFaxOtherMessageParameters;
120 121
121 int mSMSClient; 122 int mSMSClient;
122 QString mSMSOtherChannel; 123 QString mSMSOtherChannel;
123 QString mSMSOtherMessage; 124 QString mSMSOtherMessage;
124 QString mSMSOtherMessageParameters; 125 QString mSMSOtherMessageParameters;
125 126
126 int mPagerClient; 127 int mPagerClient;
127 QString mPagerOtherChannel; 128 QString mPagerOtherChannel;
128 QString mPagerOtherMessage; 129 QString mPagerOtherMessage;
129 QString mPagerOtherMessageParameters; 130 QString mPagerOtherMessageParameters;
130 131
131 int mSipClient; 132 int mSipClient;
132 QString mSipOtherChannel; 133 QString mSipOtherChannel;
133 QString mSipOtherMessage; 134 QString mSipOtherMessage;
134 QString mSipOtherMessageParameters; 135 QString mSipOtherMessageParameters;
135 136
136 QString mEx2PhoneDevice; 137 QString mEx2PhoneDevice;
137 QString mEx2PhoneConnection; 138 QString mEx2PhoneConnection;
138 QString mEx2PhoneModel; 139 QString mEx2PhoneModel;
139 140
140}; 141};
141 142
142#endif 143#endif