summaryrefslogtreecommitdiffstats
path: root/src/webquerygooglescholar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webquerygooglescholar.cpp')
-rw-r--r--src/webquerygooglescholar.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/webquerygooglescholar.cpp b/src/webquerygooglescholar.cpp
index be55192..be47b64 100644
--- a/src/webquerygooglescholar.cpp
+++ b/src/webquerygooglescholar.cpp
@@ -53,8 +53,8 @@ namespace KBibTeX
WebQueryGoogleScholar::WebQueryGoogleScholar( TQWidget* parent )
: WebQuery( parent ), m_transferJob( NULL ), m_transferJobBuffer( NULL )
{
- m_importer = new BibTeX::FileImporterBibTeX( FALSE );
- m_importer->setIgnoreComments( TRUE );
+ m_importer = new BibTeX::FileImporterBibTeX( false );
+ m_importer->setIgnoreComments( true );
m_widget = new WebQueryGoogleScholarWidget( parent );
}
@@ -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 )