summaryrefslogtreecommitdiffstats
path: root/src/webquerygooglescholar.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:29:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-06 19:53:19 +0900
commit483545c2b890016403048fe55037c58bbdc339ab (patch)
tree2dac88699fb0c98389e7c87cacca6286984fdab6 /src/webquerygooglescholar.cpp
parent584744b2c188ef5d2dea7384ee79c4c6e1ba6838 (diff)
downloadkbibtex-483545c2.tar.gz
kbibtex-483545c2.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06)
Diffstat (limited to 'src/webquerygooglescholar.cpp')
-rw-r--r--src/webquerygooglescholar.cpp16
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 )