diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:21:34 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 20:01:20 +0900 |
commit | 18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (patch) | |
tree | 625f81c4a08d4d9b4a2b041b261f919afd59828a /tdeabc/scripts | |
parent | 9d6823ebc6f4f68e1cd83f42b0548716048cfcfe (diff) | |
download | tdelibs-18c573e806f0dcf0a7fcde805aaa528ef11ebc88.tar.gz tdelibs-18c573e806f0dcf0a7fcde805aaa528ef11ebc88.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0b74ba868682f39c41a9f70ae11297425b711e1)
Diffstat (limited to 'tdeabc/scripts')
-rw-r--r-- | tdeabc/scripts/field.src.cpp | 4 |
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; |