summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimglobalprefs.h
authorulf69 <ulf69>2004-11-07 01:13:59 (UTC)
committer ulf69 <ulf69>2004-11-07 01:13:59 (UTC)
commitc3168210fffc83fbab58f44ce456fd241d44716d (patch) (unidiff)
treec93de33dd16e9b0f1e0752d6006aa75bd003fccf /libkdepim/kpimglobalprefs.h
parent023e0e82dd8bf6421d12492a2dd25534fc43ad31 (diff)
downloadkdepimpi-c3168210fffc83fbab58f44ce456fd241d44716d.zip
kdepimpi-c3168210fffc83fbab58f44ce456fd241d44716d.tar.gz
kdepimpi-c3168210fffc83fbab58f44ce456fd241d44716d.tar.bz2
added support for mailit opie mailer,
now we check for applications in QTDIR, QPEDIR and OPIEDIR
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
@@ -5,97 +5,98 @@
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;