diff options
author | Michele Calgaro <[email protected]> | 2023-11-13 20:33:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-15 23:44:25 +0900 |
commit | c8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch) | |
tree | bae3d3c70886ceeffd914cac031dfeab532a607a /tdenewstuff | |
parent | 419c185be746df8bba59fe5de991b4a2b3977897 (diff) | |
download | tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdenewstuff')
-rw-r--r-- | tdenewstuff/downloaddialog.cpp | 4 | ||||
-rw-r--r-- | tdenewstuff/entry.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tdenewstuff/downloaddialog.cpp b/tdenewstuff/downloaddialog.cpp index f81d0b477..fe66d2c20 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 = TQDate::fromString(datestring, Qt::ISODate); + date = TQDate::fromString(datestring, TQt::ISODate); if(!date.isValid()) installed = 0; else if(date < entry->releaseDate()) installed = -1; else installed = 1; @@ -668,7 +668,7 @@ void DownloadDialog::slotJobResult( TDEIO::Job *job ) void DownloadDialog::install(Entry *e) { kapp->config()->setGroup("TDENewStuffStatus"); - kapp->config()->writeEntry(m_entryname, TQString(e->releaseDate().toString(Qt::ISODate))); + kapp->config()->writeEntry(m_entryname, TQString(e->releaseDate().toString(TQt::ISODate))); kapp->config()->sync(); TQPixmap pix = TDEGlobal::iconLoader()->loadIcon("ok", TDEIcon::Small); 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() ); |