diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:29:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-06 19:53:19 +0900 |
commit | 483545c2b890016403048fe55037c58bbdc339ab (patch) | |
tree | 2dac88699fb0c98389e7c87cacca6286984fdab6 /src/webqueryarxiv.cpp | |
parent | 584744b2c188ef5d2dea7384ee79c4c6e1ba6838 (diff) | |
download | kbibtex-483545c2b890016403048fe55037c58bbdc339ab.tar.gz kbibtex-483545c2b890016403048fe55037c58bbdc339ab.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06)
Diffstat (limited to 'src/webqueryarxiv.cpp')
-rw-r--r-- | src/webqueryarxiv.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/webqueryarxiv.cpp b/src/webqueryarxiv.cpp index 89a35e0..5611007 100644 --- a/src/webqueryarxiv.cpp +++ b/src/webqueryarxiv.cpp @@ -170,8 +170,8 @@ namespace KBibTeX KURL url = KURL( TQString( "http://www.arxiv.org/find/all/1/all:+%2/0/1/0/all/0/1?per_page=%1" ).arg( m_numberOfResults ).arg( query.replace( "%", "%25" ).replace( "+", "%2B" ).replace( " ", "%20" ).replace( "#", "%23" ).replace( "&", "%26" ).replace( "?", "%3F" ) ) ); m_currentJobMutex.lock(); TDEIO::Job *job = TDEIO::storedGet( url, FALSE, FALSE ); - connect( job, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( unlockJob( TDEIO::Job * ) ) ); - connect( job, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( arXivResult( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( unlockJob( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( arXivResult( TDEIO::Job * ) ) ); } void WebQueryArXiv::unlockJob( TDEIO::Job * ) @@ -227,8 +227,8 @@ namespace KBibTeX m_aborted = false; m_currentJobMutex.lock(); TDEIO::Job *job = TDEIO::storedGet( abstractURL, FALSE, FALSE ); - connect( job, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( unlockJob( TDEIO::Job * ) ) ); - connect( job, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( arXivAbstractResult( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( unlockJob( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( arXivAbstractResult( TDEIO::Job * ) ) ); } void WebQueryArXiv::arXivAbstractResult( TDEIO::Job *job ) @@ -554,8 +554,8 @@ namespace KBibTeX m_urls.remove( url ); m_currentJobMutex.lock(); TDEIO::Job *job = TDEIO::storedGet( url, FALSE, FALSE ); - connect( job, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( unlockJob( TDEIO::Job * ) ) ); - connect( job, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( arXivAbstractResult( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( unlockJob( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( arXivAbstractResult( TDEIO::Job * ) ) ); } else setEndSearch( WebQuery::statusSuccess ); |