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 19:33:18 +0900 |
commit | c0b74ba868682f39c41a9f70ae11297425b711e1 (patch) | |
tree | 011b3da15bd49b62893629154ba84d87afa54f3e /tdecore/tdeconfigbase.cpp | |
parent | 29b84bd0b10724c3fd1dc1ea0bcdedf5221ebd3f (diff) | |
download | tdelibs-c0b74ba868682f39c41a9f70ae11297425b711e1.tar.gz tdelibs-c0b74ba868682f39c41a9f70ae11297425b711e1.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdeconfigbase.cpp')
-rw-r--r-- | tdecore/tdeconfigbase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/tdeconfigbase.cpp b/tdecore/tdeconfigbase.cpp index 417999df6..f716d7bff 100644 --- a/tdecore/tdeconfigbase.cpp +++ b/tdecore/tdeconfigbase.cpp @@ -435,7 +435,7 @@ TQVariant TDEConfigBase::readPropertyEntry( const char *pKey, case TQVariant::DateTime: return TQVariant( readDateTimeEntry( pKey, &tmp.asDateTime() ) ); case TQVariant::Date: - return TQVariant(TQT_TQDATE_OBJECT(readDateTimeEntry( pKey, &tmp.asDateTime() ).date())); + return TQVariant(readDateTimeEntry( pKey, &tmp.asDateTime() ).date()); case TQVariant::Pixmap: case TQVariant::Image: @@ -1757,8 +1757,8 @@ void TDEConfigBase::writeEntry( const char *pKey, const TQDateTime& rDateTime, TQStrList list; TQCString tempstr; - TQTime time = TQT_TQTIME_OBJECT(rDateTime.time()); - TQDate date = TQT_TQDATE_OBJECT(rDateTime.date()); + TQTime time = rDateTime.time(); + TQDate date = rDateTime.date(); list.insert( 0, tempstr.setNum( date.year() ) ); list.insert( 1, tempstr.setNum( date.month() ) ); |