author | zautrix <zautrix> | 2004-08-01 11:37:35 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-01 11:37:35 (UTC) |
commit | e954cc1e29b129982e4d07c4f490d7e881597374 (patch) (unidiff) | |
tree | 29e7bdcf20952b813637083596102f7e7b080567 /libkdepim/ksyncprofile.h | |
parent | 8a394f316feb828954d69480553f85c9c0f4b353 (diff) | |
download | kdepimpi-e954cc1e29b129982e4d07c4f490d7e881597374.zip kdepimpi-e954cc1e29b129982e4d07c4f490d7e881597374.tar.gz kdepimpi-e954cc1e29b129982e4d07c4f490d7e881597374.tar.bz2 |
Made sync code more readable by using defines
-rw-r--r-- | libkdepim/ksyncprofile.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libkdepim/ksyncprofile.h b/libkdepim/ksyncprofile.h index 238ffad..3f7f1ac 100644 --- a/libkdepim/ksyncprofile.h +++ b/libkdepim/ksyncprofile.h | |||
@@ -18,31 +18,27 @@ | |||
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | #ifndef _KSYNCPROFILE_H | 20 | #ifndef _KSYNCPROFILE_H |
21 | #define _KSYNCPROFILE_H | 21 | #define _KSYNCPROFILE_H |
22 | 22 | ||
23 | #include <qptrlist.h> | 23 | #include <qptrlist.h> |
24 | #include <qcolor.h> | 24 | #include <qcolor.h> |
25 | #include <qfont.h> | 25 | #include <qfont.h> |
26 | #include <qstringlist.h> | 26 | #include <qstringlist.h> |
27 | #include <qobject.h> | 27 | #include <qobject.h> |
28 | #include <qstring.h> | 28 | #include <qstring.h> |
29 | 29 | ||
30 | #define SYNC_PREF_LOCAL 0 | 30 | #include <libkcal/syncdefines.h> |
31 | #define SYNC_PREF_REMOTE 1 | 31 | |
32 | #define SYNC_PREF_NEWEST 2 | 32 | |
33 | #define SYNC_PREF_ASK 3 | ||
34 | #define SYNC_PREF_FORCE_LOCAL 4 | ||
35 | #define SYNC_PREF_FORCE_REMOTE 5 | ||
36 | #define SYNC_PREF_TAKE_BOTH 6 | ||
37 | 33 | ||
38 | class KConfig; | 34 | class KConfig; |
39 | 35 | ||
40 | /** | 36 | /** |
41 | @short Class for storing a preferences setting | 37 | @short Class for storing a preferences setting |
42 | @author Cornelius Schumacher | 38 | @author Cornelius Schumacher |
43 | @see KPref | 39 | @see KPref |
44 | 40 | ||
45 | This class represents one preferences setting as used by @ref KPrefs. | 41 | This class represents one preferences setting as used by @ref KPrefs. |
46 | Subclasses of KPrefsItem implement storage functions for a certain type of | 42 | Subclasses of KPrefsItem implement storage functions for a certain type of |
47 | setting. Normally you don't have to use this class directly. Use the special | 43 | setting. Normally you don't have to use this class directly. Use the special |
48 | addItem() functions of KPrefs instead. If you subclass this class you will | 44 | addItem() functions of KPrefs instead. If you subclass this class you will |