-rw-r--r-- | libkdepim/kpimglobalprefs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libkdepim/kpimglobalprefs.h b/libkdepim/kpimglobalprefs.h index 80b2c4f..8bd543d 100644 --- a/libkdepim/kpimglobalprefs.h +++ b/libkdepim/kpimglobalprefs.h | |||
@@ -1,112 +1,122 @@ | |||
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 | static KPimGlobalPrefs *instance(); | 40 | static KPimGlobalPrefs *instance(); |
41 | 41 | ||
42 | 42 | ||
43 | virtual ~KPimGlobalPrefs(); | 43 | virtual ~KPimGlobalPrefs(); |
44 | 44 | ||
45 | 45 | ||
46 | enum EMailClients { | 46 | enum EMailClients { |
47 | NONE_EMC = 0, | 47 | NONE_EMC = 0, |
48 | OTHER_EMC = 1, | 48 | OTHER_EMC = 1, |
49 | OMPI_EMC = 2, | 49 | OMPI_EMC = 2, |
50 | QTOPIA_EMC = 3, | 50 | QTOPIA_EMC = 3, |
51 | OPIE_EMC = 4 | 51 | OPIE_EMC = 4 |
52 | }; | 52 | }; |
53 | 53 | ||
54 | enum PhoneClients { | 54 | enum PhoneClients { |
55 | NONE_PHC = 0, | 55 | NONE_PHC = 0, |
56 | OTHER_PHC = 1, | 56 | OTHER_PHC = 1, |
57 | KPPI_PHC = 2 | 57 | KPPI_PHC = 2 |
58 | }; | 58 | }; |
59 | 59 | ||
60 | enum FaxClients { | 60 | enum FaxClients { |
61 | NONE_FAC = 0, | 61 | NONE_FAC = 0, |
62 | OTHER_FAC = 1 | 62 | OTHER_FAC = 1 |
63 | }; | 63 | }; |
64 | 64 | ||
65 | enum SMSClients { | 65 | enum SMSClients { |
66 | NONE_SMC = 0, | 66 | NONE_SMC = 0, |
67 | OTHER_SMC = 1 | 67 | OTHER_SMC = 1 |
68 | }; | 68 | }; |
69 | 69 | ||
70 | enum PagerClients { | 70 | enum PagerClients { |
71 | NONE_PAC = 0, | 71 | NONE_PAC = 0, |
72 | OTHER_PAC = 1 | 72 | OTHER_PAC = 1 |
73 | }; | 73 | }; |
74 | 74 | ||
75 | enum SIPClients { | ||
76 | NONE_SIC = 0, | ||
77 | OTHER_SIC = 1 | ||
78 | }; | ||
79 | |||
75 | private: | 80 | private: |
76 | KPimGlobalPrefs( const QString &name = QString::null ); | 81 | KPimGlobalPrefs( const QString &name = QString::null ); |
77 | 82 | ||
78 | static KPimGlobalPrefs *sInstance; | 83 | static KPimGlobalPrefs *sInstance; |
79 | 84 | ||
80 | 85 | ||
81 | public: | 86 | public: |
82 | int mEmailClient; | 87 | int mEmailClient; |
83 | QString mEmailOtherChannel; | 88 | QString mEmailOtherChannel; |
84 | QString mEmailOtherMessage; | 89 | QString mEmailOtherMessage; |
85 | QString mEmailOtherMessageParameters; | 90 | QString mEmailOtherMessageParameters; |
86 | QString mEmailOtherMessage2; | 91 | QString mEmailOtherMessage2; |
87 | QString mEmailOtherMessageParameters2; | 92 | QString mEmailOtherMessageParameters2; |
88 | 93 | ||
89 | int mPhoneClient; | 94 | int mPhoneClient; |
90 | QString mPhoneOtherChannel; | 95 | QString mPhoneOtherChannel; |
91 | QString mPhoneOtherMessage; | 96 | QString mPhoneOtherMessage; |
92 | QString mPhoneOtherMessageParameters; | 97 | QString mPhoneOtherMessageParameters; |
93 | 98 | ||
94 | int mFaxClient; | 99 | int mFaxClient; |
95 | QString mFaxOtherChannel; | 100 | QString mFaxOtherChannel; |
96 | QString mFaxOtherMessage; | 101 | QString mFaxOtherMessage; |
97 | QString mFaxOtherMessageParameters; | 102 | QString mFaxOtherMessageParameters; |
98 | 103 | ||
99 | int mSMSClient; | 104 | int mSMSClient; |
100 | QString mSMSOtherChannel; | 105 | QString mSMSOtherChannel; |
101 | QString mSMSOtherMessage; | 106 | QString mSMSOtherMessage; |
102 | QString mSMSOtherMessageParameters; | 107 | QString mSMSOtherMessageParameters; |
103 | 108 | ||
104 | int mPagerClient; | 109 | int mPagerClient; |
105 | QString mPagerOtherChannel; | 110 | QString mPagerOtherChannel; |
106 | QString mPagerOtherMessage; | 111 | QString mPagerOtherMessage; |
107 | QString mPagerOtherMessageParameters; | 112 | QString mPagerOtherMessageParameters; |
108 | 113 | ||
114 | int mSipClient; | ||
115 | QString mSipOtherChannel; | ||
116 | QString mSipOtherMessage; | ||
117 | QString mSipOtherMessageParameters; | ||
118 | |||
109 | 119 | ||
110 | }; | 120 | }; |
111 | 121 | ||
112 | #endif | 122 | #endif |