-rw-r--r-- | kaddressbook/kabprefs.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kaddressbook/kabprefs.cpp b/kaddressbook/kabprefs.cpp index 79fff47..01c935f 100644 --- a/kaddressbook/kabprefs.cpp +++ b/kaddressbook/kabprefs.cpp | |||
@@ -18,34 +18,39 @@ | |||
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 | //US#ifdef KAB_EMBEDDED | 24 | //US#ifdef KAB_EMBEDDED |
25 | //#include <qstring.h> | 25 | //#include <qstring.h> |
26 | //#endif //KAB_EMBEDDED | 26 | //#endif //KAB_EMBEDDED |
27 | 27 | ||
28 | #include <qtextstream.h> | 28 | #include <qtextstream.h> |
29 | #include <qfile.h> | 29 | #include <qfile.h> |
30 | #include <qregexp.h> | ||
30 | #include <stdlib.h> | 31 | #include <stdlib.h> |
31 | #include <libkdepim/kpimglobalprefs.h> | 32 | #include <libkdepim/kpimglobalprefs.h> |
32 | 33 | ||
33 | #include <kconfig.h> | 34 | #include <kconfig.h> |
34 | #include <klocale.h> | 35 | #include <klocale.h> |
35 | #include <kstaticdeleter.h> | 36 | #include <kstaticdeleter.h> |
36 | //US#include <kdebug.h> // defines kdDebug() | 37 | //US#include <kdebug.h> // defines kdDebug() |
37 | 38 | ||
38 | #include "kabprefs.h" | 39 | #include "kabprefs.h" |
39 | 40 | ||
41 | #ifdef DESKTOP_VERSION | ||
42 | #include <qapplication.h> | ||
43 | #endif | ||
44 | |||
40 | KABPrefs *KABPrefs::sInstance = 0; | 45 | KABPrefs *KABPrefs::sInstance = 0; |
41 | static KStaticDeleter<KABPrefs> staticDeleter; | 46 | static KStaticDeleter<KABPrefs> staticDeleter; |
42 | 47 | ||
43 | KABPrefs::KABPrefs() | 48 | KABPrefs::KABPrefs() |
44 | : KPimPrefs("kaddressbookrc") | 49 | : KPimPrefs("kaddressbookrc") |
45 | { | 50 | { |
46 | 51 | ||
47 | mLocaleDict = 0; | 52 | mLocaleDict = 0; |
48 | mDetailsFont = QFont("helvetica",12); | 53 | mDetailsFont = QFont("helvetica",12); |
49 | KPrefs::setCurrentGroup( "Views" ); | 54 | KPrefs::setCurrentGroup( "Views" ); |
50 | addItemBool( "HonorSingleClick", &mHonorSingleClick, false ); | 55 | addItemBool( "HonorSingleClick", &mHonorSingleClick, false ); |
51 | 56 | ||