diff options
Diffstat (limited to 'tdenewstuff/entry.cpp')
-rw-r--r-- | tdenewstuff/entry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdenewstuff/entry.cpp b/tdenewstuff/entry.cpp index e51c7b01d..a1a00b723 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 = TQDate::fromString( e.text().stripWhiteSpace(), Qt::ISODate ); + TQDate date = TQDate::fromString( e.text().stripWhiteSpace(), TQt::ISODate ); setReleaseDate( date ); } if ( e.tagName() == "smallpreviewpic1" ) { @@ -366,7 +366,7 @@ TQDomElement Entry::createDomElement( TQDomDocument &doc, addElement( doc, entry, "downloads", TQString::number( downloads() ) ); addElement( doc, entry, "created", - releaseDate().toString( Qt::ISODate ) ); + releaseDate().toString( TQt::ISODate ) ); addElement( doc, entry, "description", summary() ); addElement( doc, entry, "preview", preview().url() ); |