Diffstat (limited to 'kaddressbook/addresseeconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/addresseeconfig.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kaddressbook/addresseeconfig.cpp b/kaddressbook/addresseeconfig.cpp index ea0436f..81b1bf4 100644 --- a/kaddressbook/addresseeconfig.cpp +++ b/kaddressbook/addresseeconfig.cpp | |||
@@ -23,12 +23,14 @@ | |||
23 | 23 | ||
24 | #include "addresseeconfig.h" | 24 | #include "addresseeconfig.h" |
25 | #include "kabprefs.h" | 25 | #include "kabprefs.h" |
26 | //US | 26 | //US |
27 | #include <kstandarddirs.h> | 27 | #include <kstandarddirs.h> |
28 | #include <qfileinfo.h> | 28 | #include <qfileinfo.h> |
29 | //Added by qt3to4: | ||
30 | #include <Q3ValueList> | ||
29 | 31 | ||
30 | using namespace KABC; | 32 | using namespace KABC; |
31 | 33 | ||
32 | static AddresseeConfig* extern_AddresseeConfig = 0; | 34 | static AddresseeConfig* extern_AddresseeConfig = 0; |
33 | static KConfig * extern_Config = 0; | 35 | static KConfig * extern_Config = 0; |
34 | 36 | ||
@@ -74,19 +76,19 @@ void AddresseeConfig::setAutomaticNameParsing( bool value ) | |||
74 | { | 76 | { |
75 | 77 | ||
76 | return AddresseeConfig::config()->readBoolEntry( "AutomaticNameParsing", | 78 | return AddresseeConfig::config()->readBoolEntry( "AutomaticNameParsing", |
77 | KABPrefs::instance()->mAutomaticNameParsing ); | 79 | KABPrefs::instance()->mAutomaticNameParsing ); |
78 | } | 80 | } |
79 | 81 | ||
80 | void AddresseeConfig::setNoDefaultAddrTypes( const QValueList<int> &types ) | 82 | void AddresseeConfig::setNoDefaultAddrTypes( const Q3ValueList<int> &types ) |
81 | { | 83 | { |
82 | AddresseeConfig::config()->writeEntry( "NoDefaultAddrTypes", types ); | 84 | AddresseeConfig::config()->writeEntry( "NoDefaultAddrTypes", types ); |
83 | AddresseeConfig::config()->sync(); | 85 | AddresseeConfig::config()->sync(); |
84 | } | 86 | } |
85 | 87 | ||
86 | QValueList<int> AddresseeConfig::noDefaultAddrTypes() const | 88 | Q3ValueList<int> AddresseeConfig::noDefaultAddrTypes() const |
87 | { | 89 | { |
88 | return AddresseeConfig::config()->readIntListEntry( "NoDefaultAddrTypes" ); | 90 | return AddresseeConfig::config()->readIntListEntry( "NoDefaultAddrTypes" ); |
89 | } | 91 | } |
90 | 92 | ||
91 | void AddresseeConfig::remove( const QString & uid ) | 93 | void AddresseeConfig::remove( const QString & uid ) |
92 | { | 94 | { |