diff options
Diffstat (limited to 'kode/kwsdl/tests/google')
-rw-r--r-- | kode/kwsdl/tests/google/googlesearch.cpp | 12 | ||||
-rw-r--r-- | kode/kwsdl/tests/google/googlesearchservice.cpp | 12 | ||||
-rw-r--r-- | kode/kwsdl/tests/google/transport.cpp | 4 |
3 files changed, 14 insertions, 14 deletions
diff --git a/kode/kwsdl/tests/google/googlesearch.cpp b/kode/kwsdl/tests/google/googlesearch.cpp index fcea9d75e..aa282a066 100644 --- a/kode/kwsdl/tests/google/googlesearch.cpp +++ b/kode/kwsdl/tests/google/googlesearch.cpp @@ -29,12 +29,12 @@ GoogleSearch::GoogleSearch() : TQObject( 0, "" ) { - connect( &mService, TQT_SIGNAL( doGetCachedPageResponse( TQByteArray* ) ), - this, TQT_SLOT( cachedPageResult( TQByteArray* ) ) ); - connect( &mService, TQT_SIGNAL( doSpellingSuggestionResponse( TQString* ) ), - this, TQT_SLOT( spellingSuggestionResult( TQString* ) ) ); - connect( &mService, TQT_SIGNAL( doGoogleSearchResponse( GoogleSearchResult* ) ), - this, TQT_SLOT( googleSearchResult( GoogleSearchResult* ) ) ); + connect( &mService, TQ_SIGNAL( doGetCachedPageResponse( TQByteArray* ) ), + this, TQ_SLOT( cachedPageResult( TQByteArray* ) ) ); + connect( &mService, TQ_SIGNAL( doSpellingSuggestionResponse( TQString* ) ), + this, TQ_SLOT( spellingSuggestionResult( TQString* ) ) ); + connect( &mService, TQ_SIGNAL( doGoogleSearchResponse( GoogleSearchResult* ) ), + this, TQ_SLOT( googleSearchResult( GoogleSearchResult* ) ) ); mKey = ""; } diff --git a/kode/kwsdl/tests/google/googlesearchservice.cpp b/kode/kwsdl/tests/google/googlesearchservice.cpp index d2e7c97e7..095fe115c 100644 --- a/kode/kwsdl/tests/google/googlesearchservice.cpp +++ b/kode/kwsdl/tests/google/googlesearchservice.cpp @@ -183,14 +183,14 @@ void GoogleSearchService::doGoogleSearchResponseSlot( const TQString &xml ) GoogleSearchService::GoogleSearchService() { mDoGetCachedPageTransport = new Transport( "http://api.google.com/search/beta2" ); - connect( mDoGetCachedPageTransport, TQT_SIGNAL( result( const TQString& ) ), - this, TQT_SLOT( doGetCachedPageResponseSlot( const TQString& ) ) ); + connect( mDoGetCachedPageTransport, TQ_SIGNAL( result( const TQString& ) ), + this, TQ_SLOT( doGetCachedPageResponseSlot( const TQString& ) ) ); mDoSpellingSuggestionTransport = new Transport( "http://api.google.com/search/beta2" ); - connect( mDoSpellingSuggestionTransport, TQT_SIGNAL( result( const TQString& ) ), - this, TQT_SLOT( doSpellingSuggestionResponseSlot( const TQString& ) ) ); + connect( mDoSpellingSuggestionTransport, TQ_SIGNAL( result( const TQString& ) ), + this, TQ_SLOT( doSpellingSuggestionResponseSlot( const TQString& ) ) ); mDoGoogleSearchTransport = new Transport( "http://api.google.com/search/beta2" ); - connect( mDoGoogleSearchTransport, TQT_SIGNAL( result( const TQString& ) ), - this, TQT_SLOT( doGoogleSearchResponseSlot( const TQString& ) ) ); + connect( mDoGoogleSearchTransport, TQ_SIGNAL( result( const TQString& ) ), + this, TQ_SLOT( doGoogleSearchResponseSlot( const TQString& ) ) ); } GoogleSearchService::~GoogleSearchService() diff --git a/kode/kwsdl/tests/google/transport.cpp b/kode/kwsdl/tests/google/transport.cpp index 30b9645e4..c7a390e88 100644 --- a/kode/kwsdl/tests/google/transport.cpp +++ b/kode/kwsdl/tests/google/transport.cpp @@ -48,8 +48,8 @@ void Transport::query( const TQString &xml ) job->addMetaData( "UserAgent", "KWSDL" ); job->addMetaData( "content-type", "Content-Type: text/xml; charset=utf-8" ); - connect( job, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ), this, TQT_SLOT( slotData( TDEIO::Job*, const TQByteArray& ) ) ); - connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), this, TQT_SLOT( slotResult( TDEIO::Job* ) ) ); + connect( job, TQ_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ), this, TQ_SLOT( slotData( TDEIO::Job*, const TQByteArray& ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), this, TQ_SLOT( slotResult( TDEIO::Job* ) ) ); } void Transport::slotData( TDEIO::Job*, const TQByteArray &data ) |