summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimglobalprefs.h
authorulf69 <ulf69>2004-08-10 16:10:42 (UTC)
committer ulf69 <ulf69>2004-08-10 16:10:42 (UTC)
commitc56c4729e32a9c8ba8709493b3ea11cf7cf229d3 (patch) (unidiff)
tree10072e3a37eb3dca26482e67c08229bd2a1cbba6 /libkdepim/kpimglobalprefs.h
parentc9d570427f3d5bead7bee1301514a2d4b82836ea (diff)
downloadkdepimpi-c56c4729e32a9c8ba8709493b3ea11cf7cf229d3.zip
kdepimpi-c56c4729e32a9c8ba8709493b3ea11cf7cf229d3.tar.gz
kdepimpi-c56c4729e32a9c8ba8709493b3ea11cf7cf229d3.tar.bz2
additional files for external application configuration
Diffstat (limited to 'libkdepim/kpimglobalprefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimglobalprefs.h112
1 files changed, 112 insertions, 0 deletions
diff --git a/libkdepim/kpimglobalprefs.h b/libkdepim/kpimglobalprefs.h
new file mode 100644
index 0000000..80b2c4f
--- a/dev/null
+++ b/libkdepim/kpimglobalprefs.h
@@ -0,0 +1,112 @@
1/*
2 This file is part of libkdepim.
3 Copyright (c) 2004 Ulf Schenk
4
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
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
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
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution.
22*/
23
24/*
25Enhanced Version of the file for platform independent KDE tools.
26Copyright (c) 2004 Ulf Schenk
27
28$Id$
29*/
30
31#ifndef KPIMGLOBALPREFS_H
32#define KPIMGLOBALPREFS_H
33
34#include "kprefs.h"
35
36class KPimGlobalPrefs : public KPrefs
37{
38 public:
39
40 static KPimGlobalPrefs *instance();
41
42
43 virtual ~KPimGlobalPrefs();
44
45
46 enum EMailClients {
47 NONE_EMC = 0,
48 OTHER_EMC = 1,
49 OMPI_EMC = 2,
50 QTOPIA_EMC = 3,
51 OPIE_EMC = 4
52 };
53
54 enum PhoneClients {
55 NONE_PHC = 0,
56 OTHER_PHC = 1,
57 KPPI_PHC = 2
58 };
59
60 enum FaxClients {
61 NONE_FAC = 0,
62 OTHER_FAC = 1
63 };
64
65 enum SMSClients {
66 NONE_SMC = 0,
67 OTHER_SMC = 1
68 };
69
70 enum PagerClients {
71 NONE_PAC = 0,
72 OTHER_PAC = 1
73 };
74
75 private:
76 KPimGlobalPrefs( const QString &name = QString::null );
77
78 static KPimGlobalPrefs *sInstance;
79
80
81 public:
82 int mEmailClient;
83 QString mEmailOtherChannel;
84 QString mEmailOtherMessage;
85 QString mEmailOtherMessageParameters;
86 QString mEmailOtherMessage2;
87 QString mEmailOtherMessageParameters2;
88
89 int mPhoneClient;
90 QString mPhoneOtherChannel;
91 QString mPhoneOtherMessage;
92 QString mPhoneOtherMessageParameters;
93
94 int mFaxClient;
95 QString mFaxOtherChannel;
96 QString mFaxOtherMessage;
97 QString mFaxOtherMessageParameters;
98
99 int mSMSClient;
100 QString mSMSOtherChannel;
101 QString mSMSOtherMessage;
102 QString mSMSOtherMessageParameters;
103
104 int mPagerClient;
105 QString mPagerOtherChannel;
106 QString mPagerOtherMessage;
107 QString mPagerOtherMessageParameters;
108
109
110};
111
112#endif