summaryrefslogtreecommitdiffstats
path: root/tdeabc/scripts/field.src.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc/scripts/field.src.cpp')
-rw-r--r--tdeabc/scripts/field.src.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeabc/scripts/field.src.cpp b/tdeabc/scripts/field.src.cpp
index f8f126b83..b3d5a4bf9 100644
--- a/tdeabc/scripts/field.src.cpp
+++ b/tdeabc/scripts/field.src.cpp
@@ -362,7 +362,7 @@ bool Field::setValue( TDEABC::Addressee &a, const TQString &value )
return true;
}
case FieldImpl::Birthday:
- a.setBirthday( TQT_TQDATE_OBJECT(TQDate::fromString( value, Qt::ISODate )) );
+ a.setBirthday( TQDate::fromString( value, Qt::ISODate ) );
return true;
case FieldImpl::CustomField:
a.insertCustom( mImpl->app(), mImpl->key(), value );
@@ -378,7 +378,7 @@ TQString Field::sortKey( const TDEABC::Addressee &a )
--CASEVALUE--
case FieldImpl::Birthday:
if ( a.birthday().isValid() ) {
- TQDate date = TQT_TQDATE_OBJECT(a.birthday().date());
+ TQDate date = a.birthday().date();
TQString key;
key.sprintf( "%02d-%02d", date.month(), date.day() );
return key;