diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 18:04:37 +0900 |
commit | 5d52b8ff2df2d127a119ffd217a0db49c4d78567 (patch) | |
tree | cc21f36537bfb38f376cf97cb77688ea19882047 /kbugbuster/backend | |
parent | 779722e260dd4d10bec7328ddc0a4e3e42a08e7d (diff) | |
download | tdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.tar.gz tdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1a7a57976491e8df569198d8e903bf9e57e233f0)
Diffstat (limited to 'kbugbuster/backend')
-rw-r--r-- | kbugbuster/backend/bugcache.cpp | 4 | ||||
-rw-r--r-- | kbugbuster/backend/domprocessor.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kbugbuster/backend/bugcache.cpp b/kbugbuster/backend/bugcache.cpp index ce325a31..9daa5e3d 100644 --- a/kbugbuster/backend/bugcache.cpp +++ b/kbugbuster/backend/bugcache.cpp @@ -193,7 +193,7 @@ void BugCache::saveBugDetails( const Bug &bug, const BugDetails &details ) for ( it = parts.begin(); it != parts.end(); ++it ) { senders.append( (*it).sender.fullName() ); texts.append( (*it).text ); - dates.append( (*it).date.toString( Qt::ISODate ) ); + dates.append( (*it).date.toString( TQt::ISODate ) ); } m_cacheBugs->writeEntry( "Details", texts ); @@ -228,7 +228,7 @@ BugDetails BugCache::loadBugDetails( const Bug &bug ) TQStringList::ConstIterator itSenders = senders.begin(); TQStringList::ConstIterator itDates = dates.begin(); while( itTexts != texts.end() ) { - TQDateTime date = TQDateTime::fromString( *itDates, Qt::ISODate ); + TQDateTime date = TQDateTime::fromString( *itDates, TQt::ISODate ); parts.append( BugDetailsPart( Person(*itSenders), date, *itTexts ) ); ++itTexts; diff --git a/kbugbuster/backend/domprocessor.cpp b/kbugbuster/backend/domprocessor.cpp index 8ca0e1a8..bcc75900 100644 --- a/kbugbuster/backend/domprocessor.cpp +++ b/kbugbuster/backend/domprocessor.cpp @@ -194,7 +194,7 @@ KBB::Error DomProcessor::parseDomBugList( const TQDomElement &topElement, else if ( e.tagName() == "severity" ) severity = Bug::stringToSeverity( e.text() ); else if ( e.tagName() == "creationdate" ) - age = ( TQDateTime::fromString( e.text(), Qt::ISODate ) ).daysTo( TQDateTime::currentDateTime() ); + age = ( TQDateTime::fromString( e.text(), TQt::ISODate ) ).daysTo( TQDateTime::currentDateTime() ); } Person submitter( submitterName, submitterEmail ); @@ -397,7 +397,7 @@ bool DomProcessor::parseAttributeLine( const TQString &line, const TQString &key TQDateTime DomProcessor::parseDate( const TQString &dateStr ) { - TQDateTime date = TQDateTime::fromString( dateStr, Qt::ISODate ); + TQDateTime date = TQDateTime::fromString( dateStr, TQt::ISODate ); return date; } |