-rw-r--r-- | kabc/field.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/kabc/field.cpp b/kabc/field.cpp index 7c6d7a9..203f696 100644 --- a/kabc/field.cpp +++ b/kabc/field.cpp @@ -35,2 +35,4 @@ $Id$ #include "resource.h" +//Added by qt3to4: +#include <Q3ValueList> @@ -379,3 +381,3 @@ bool Field::setValue( KABC::Addressee &a, const QString &value ) QDate dt = KGlobal::locale()->readDate( value, "%Y-%m-%d"); // = Qt::ISODate - a.setBirthday(dt); + a.setBirthday((QDateTime)dt); } @@ -495,3 +497,3 @@ void Field::saveFields( KConfig *cfg, const QString &identifier, { - QValueList<int> fieldIds; + Q3ValueList<int> fieldIds; @@ -535,3 +537,3 @@ Field::List Field::restoreFields( KConfig *cfg, const QString &identifier ) { - QValueList<int> fieldIds = cfg->readIntListEntry( identifier); + Q3ValueList<int> fieldIds = cfg->readIntListEntry( identifier); //US @@ -542,3 +544,3 @@ Field::List Field::restoreFields( KConfig *cfg, const QString &identifier ) int custom = 0; - QValueList<int>::ConstIterator it; + Q3ValueList<int>::ConstIterator it; for( it = fieldIds.begin(); it != fieldIds.end(); ++it ) { |