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 /tdenewstuff | |
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 'tdenewstuff')
-rw-r--r-- | tdenewstuff/downloaddialog.cpp | 2 | ||||
-rw-r--r-- | tdenewstuff/entry.cpp | 2 | ||||
-rw-r--r-- | tdenewstuff/security.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tdenewstuff/downloaddialog.cpp b/tdenewstuff/downloaddialog.cpp index 81450fd68..f81d0b477 100644 --- a/tdenewstuff/downloaddialog.cpp +++ b/tdenewstuff/downloaddialog.cpp @@ -439,7 +439,7 @@ int DownloadDialog::installStatus(Entry *entry) if(datestring.isNull()) installed = 0; else { - date = TQT_TQDATE_OBJECT(TQDate::fromString(datestring, Qt::ISODate)); + date = TQDate::fromString(datestring, Qt::ISODate); if(!date.isValid()) installed = 0; else if(date < entry->releaseDate()) installed = -1; else installed = 1; diff --git a/tdenewstuff/entry.cpp b/tdenewstuff/entry.cpp index 7539bb679..e51c7b01d 100644 --- a/tdenewstuff/entry.cpp +++ b/tdenewstuff/entry.cpp @@ -332,7 +332,7 @@ void Entry::parseDomElement( const TQDomElement &element ) if ( e.tagName() == "version" ) setVersion( e.text().stripWhiteSpace() ); // if ( e.tagName() == "release" ) setRelease( e.text().toInt() ); if ( e.tagName() == "created" ) { - TQDate date = TQT_TQDATE_OBJECT(TQDate::fromString( e.text().stripWhiteSpace(), Qt::ISODate )); + TQDate date = TQDate::fromString( e.text().stripWhiteSpace(), Qt::ISODate ); setReleaseDate( date ); } if ( e.tagName() == "smallpreviewpic1" ) { diff --git a/tdenewstuff/security.cpp b/tdenewstuff/security.cpp index 3bca16166..c6f8a4c3b 100644 --- a/tdenewstuff/security.cpp +++ b/tdenewstuff/security.cpp @@ -226,7 +226,7 @@ void Security::slotCheckValidity() if (file.open(IO_ReadOnly)) { context.reset(); - context.update(TQT_TQIODEVICE_OBJECT(file)); + context.update(file); md5sum = context.hexDigest(); file.close(); } @@ -298,7 +298,7 @@ void Security::slotSignFile() if (file.open(IO_ReadOnly)) { context.reset(); - context.update(TQT_TQIODEVICE_OBJECT(file)); + context.update(file); md5sum = context.hexDigest(); file.close(); } |