diff options
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; } |