diff options
Diffstat (limited to 'kbugbuster/backend/rdfprocessor.cpp')
-rw-r--r-- | kbugbuster/backend/rdfprocessor.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kbugbuster/backend/rdfprocessor.cpp b/kbugbuster/backend/rdfprocessor.cpp index 89bb3402..3832e899 100644 --- a/kbugbuster/backend/rdfprocessor.cpp +++ b/kbugbuster/backend/rdfprocessor.cpp @@ -40,7 +40,7 @@ RdfProcessor::~RdfProcessor() { } -KBB::Error RdfProcessor::parseDomBugList( const QDomElement &element, +KBB::Error RdfProcessor::parseDomBugList( const TQDomElement &element, Bug::List &bugs ) { if ( element.tagName() != "RDF" ) { @@ -48,22 +48,22 @@ KBB::Error RdfProcessor::parseDomBugList( const QDomElement &element, return KBB::Error( "No RDF element found" ); } - QDomNodeList bugNodes = element.elementsByTagName( "bz:bug" ); + TQDomNodeList bugNodes = element.elementsByTagName( "bz:bug" ); for( uint i = 0; i < bugNodes.count(); ++i ) { - QString title; + TQString title; Person submitter; - QString bugNr; + TQString bugNr; Bug::Status status = Bug::StatusUndefined; Bug::Severity severity = Bug::SeverityUndefined; Person developerTodo; Bug::BugMergeList mergedList; - QDomNode hit = bugNodes.item( i ); + TQDomNode hit = bugNodes.item( i ); - QDomNode n; + TQDomNode n; for( n = hit.firstChild(); !n.isNull(); n = n.nextSibling() ) { - QDomElement e = n.toElement(); + TQDomElement e = n.toElement(); if ( e.tagName() == "bz:id" ) { bugNr = e.text(); @@ -87,7 +87,7 @@ KBB::Error RdfProcessor::parseDomBugList( const QDomElement &element, return KBB::Error(); } -void RdfProcessor::setBugListQuery( KURL &url, const Package &product, const QString &component ) +void RdfProcessor::setBugListQuery( KURL &url, const Package &product, const TQString &component ) { url.setFileName( "buglist.cgi" ); if ( component.isEmpty() ) @@ -97,7 +97,7 @@ void RdfProcessor::setBugListQuery( KURL &url, const Package &product, const QSt if ( KBBPrefs::instance()->mShowVoted ) { url.addQueryItem( "field0-0-0", "votes" ); url.addQueryItem( "type0-0-0", "greaterthan" ); - QString num = QString::number( KBBPrefs::instance()->mMinVotes );; + TQString num = TQString::number( KBBPrefs::instance()->mMinVotes );; url.addQueryItem( "value0-0-0", num ); } } |