summaryrefslogtreecommitdiffstats
path: root/tdenewstuff
diff options
context:
space:
mode:
Diffstat (limited to 'tdenewstuff')
-rw-r--r--tdenewstuff/downloaddialog.cpp2
-rw-r--r--tdenewstuff/entry.cpp2
-rw-r--r--tdenewstuff/security.cpp4
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();
}