diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:29:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:29:06 +0900 |
commit | 0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06 (patch) | |
tree | 81b7f7a223d7304c91fde7e1deed6e928889a58f /src/webquerygooglescholar.cpp | |
parent | 702a473bc0db41979506a1bd7e1e5be31fb861a5 (diff) | |
download | kbibtex-0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06.tar.gz kbibtex-0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/webquerygooglescholar.cpp')
-rw-r--r-- | src/webquerygooglescholar.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/webquerygooglescholar.cpp b/src/webquerygooglescholar.cpp index be55192..6747da1 100644 --- a/src/webquerygooglescholar.cpp +++ b/src/webquerygooglescholar.cpp @@ -113,8 +113,8 @@ namespace KBibTeX m_transferJobBuffer = new TQBuffer(); m_transferJobBuffer->open( IO_WriteOnly ); TDEIO::TransferJob* m_transferJob = TDEIO::get( KURL( "http://scholar.google.com/scholar_ncr" ), false, false ); - connect( m_transferJob, SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) ); - connect( m_transferJob, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( slotFinishedStartpage( TDEIO::Job * ) ) ); + connect( m_transferJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, TQ_SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) ); + connect( m_transferJob, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotFinishedStartpage( TDEIO::Job * ) ) ); } void WebQueryGoogleScholar::cancelQuery() @@ -154,8 +154,8 @@ namespace KBibTeX m_transferJobBuffer = new TQBuffer(); m_transferJobBuffer->open( IO_WriteOnly ); TDEIO::TransferJob* m_transferJob = TDEIO::get( KURL( "http://scholar.google.com/scholar_preferences?hl=en" ), false, false ); - connect( m_transferJob, SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) ); - connect( m_transferJob, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( slotFinishedLoadingSettings( TDEIO::Job * ) ) ); + connect( m_transferJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, TQ_SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) ); + connect( m_transferJob, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotFinishedLoadingSettings( TDEIO::Job * ) ) ); } @@ -198,8 +198,8 @@ namespace KBibTeX m_transferJobBuffer = new TQBuffer(); m_transferJobBuffer->open( IO_WriteOnly ); TDEIO::TransferJob* m_transferJob = TDEIO::get( nextUrl, false, false ); - connect( m_transferJob, SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) ); - connect( m_transferJob, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( slotFinishedSavingSettings( TDEIO::Job * ) ) ); + connect( m_transferJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, TQ_SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) ); + connect( m_transferJob, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotFinishedSavingSettings( TDEIO::Job * ) ) ); } void WebQueryGoogleScholar::slotFinishedSavingSettings( TDEIO::Job *job ) @@ -239,8 +239,8 @@ namespace KBibTeX m_transferJobBuffer = new TQBuffer(); m_transferJobBuffer->open( IO_WriteOnly ); TDEIO::TransferJob* m_transferJob = TDEIO::get( nextUrl, false, false ); - connect( m_transferJob, SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) ); - connect( m_transferJob, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( slotFinishedReceivingResultOverview( TDEIO::Job * ) ) ); + connect( m_transferJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, TQ_SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) ); + connect( m_transferJob, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotFinishedReceivingResultOverview( TDEIO::Job * ) ) ); } void WebQueryGoogleScholar::slotFinishedReceivingResultOverview( TDEIO::Job *job ) |