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 /tdenewstuff | |
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 '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(); } |