diff options
Diffstat (limited to 'kode/kwsdl/tests')
-rw-r--r-- | kode/kwsdl/tests/google/googlesearch.cc | 18 | ||||
-rw-r--r-- | kode/kwsdl/tests/google/googlesearchservice.cpp | 18 |
2 files changed, 18 insertions, 18 deletions
diff --git a/kode/kwsdl/tests/google/googlesearch.cc b/kode/kwsdl/tests/google/googlesearch.cc index d60c04172..690b9a11d 100644 --- a/kode/kwsdl/tests/google/googlesearch.cc +++ b/kode/kwsdl/tests/google/googlesearch.cc @@ -60,33 +60,33 @@ void GoogleSearch::googleSearch( const TQString &query, int start, int maxResult void GoogleSearch::cachedPageResult( TQByteArray *array ) { - qDebug( "--------------- Cached Page Results ---------------------" ); - qDebug( "%s", array->data() ); - qDebug( "---------------------------------------------------------" ); + tqDebug( "--------------- Cached Page Results ---------------------" ); + tqDebug( "%s", array->data() ); + tqDebug( "---------------------------------------------------------" ); delete array; } void GoogleSearch::spellingSuggestionResult( TQString *word ) { - qDebug( "--------------- Spelling Suggestion ---------------------" ); - qDebug( "%s", word->latin1() ); - qDebug( "---------------------------------------------------------" ); + tqDebug( "--------------- Spelling Suggestion ---------------------" ); + tqDebug( "%s", word->latin1() ); + tqDebug( "---------------------------------------------------------" ); delete word; } void GoogleSearch::googleSearchResult( GoogleSearchResult *result ) { - qDebug( "--------------------- Search Results ---------------------" ); + tqDebug( "--------------------- Search Results ---------------------" ); ResultElementArray *array = result->resultElements(); TQPtrList<ResultElement> *list = array->items(); TQPtrListIterator<ResultElement> it( *list ); while ( it.current() != 0 ) { - qDebug( "%s: %s", it.current()->summary()->latin1(), it.current()->uRL()->latin1() ); + tqDebug( "%s: %s", it.current()->summary()->latin1(), it.current()->uRL()->latin1() ); ++it; } - qDebug( "---------------------------------------------------------" ); + tqDebug( "---------------------------------------------------------" ); delete result; } diff --git a/kode/kwsdl/tests/google/googlesearchservice.cpp b/kode/kwsdl/tests/google/googlesearchservice.cpp index e609249ee..d2e7c97e7 100644 --- a/kode/kwsdl/tests/google/googlesearchservice.cpp +++ b/kode/kwsdl/tests/google/googlesearchservice.cpp @@ -46,7 +46,7 @@ void GoogleSearchService::doGetCachedPage( TQString* key, TQString* url ) delete key; Serializer::marshal( doc, method, "url", url ); delete url; - qDebug( "%s", doc.toString().latin1() ); + tqDebug( "%s", doc.toString().latin1() ); mDoGetCachedPageTransport->query( doc.toString() ); } @@ -56,10 +56,10 @@ void GoogleSearchService::doGetCachedPageResponseSlot( const TQString &xml ) TQString errorMsg; int column, row; - qDebug( "%s", xml.latin1() ); + tqDebug( "%s", xml.latin1() ); if ( !doc.setContent( xml, true, &errorMsg, &row, &column ) ) { - qDebug( "Unable to parse xml: %s (%d:%d)", errorMsg.latin1(), row, column ); + tqDebug( "Unable to parse xml: %s (%d:%d)", errorMsg.latin1(), row, column ); return; } @@ -92,7 +92,7 @@ void GoogleSearchService::doSpellingSuggestion( TQString* key, TQString* phrase delete key; Serializer::marshal( doc, method, "phrase", phrase ); delete phrase; - qDebug( "%s", doc.toString().latin1() ); + tqDebug( "%s", doc.toString().latin1() ); mDoSpellingSuggestionTransport->query( doc.toString() ); } @@ -102,10 +102,10 @@ void GoogleSearchService::doSpellingSuggestionResponseSlot( const TQString &xml TQString errorMsg; int column, row; - qDebug( "%s", xml.latin1() ); + tqDebug( "%s", xml.latin1() ); if ( !doc.setContent( xml, true, &errorMsg, &row, &column ) ) { - qDebug( "Unable to parse xml: %s (%d:%d)", errorMsg.latin1(), row, column ); + tqDebug( "Unable to parse xml: %s (%d:%d)", errorMsg.latin1(), row, column ); return; } @@ -154,7 +154,7 @@ void GoogleSearchService::doGoogleSearch( TQString* key, TQString* q, int* start delete ie; Serializer::marshal( doc, method, "oe", oe ); delete oe; - qDebug( "%s", doc.toString().latin1() ); + tqDebug( "%s", doc.toString().latin1() ); mDoGoogleSearchTransport->query( doc.toString() ); } @@ -164,10 +164,10 @@ void GoogleSearchService::doGoogleSearchResponseSlot( const TQString &xml ) TQString errorMsg; int column, row; - qDebug( "%s", xml.latin1() ); + tqDebug( "%s", xml.latin1() ); if ( !doc.setContent( xml, true, &errorMsg, &row, &column ) ) { - qDebug( "Unable to parse xml: %s (%d:%d)", errorMsg.latin1(), row, column ); + tqDebug( "Unable to parse xml: %s (%d:%d)", errorMsg.latin1(), row, column ); return; } |