summaryrefslogtreecommitdiffstats
path: root/src/webqueryciteseerx.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-06-29 16:33:55 +0200
committerSlávek Banko <[email protected]>2013-07-04 03:57:45 +0200
commitf2d4b48ad7f6ce4f23c6cbba3e85c67486f922db (patch)
tree0414ba9f0823b98d2a159c11513ddcda84b932cc /src/webqueryciteseerx.cpp
parent5f5e7c5455d52826b0bd50f64fcffb7695ce970d (diff)
downloadkbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.tar.gz
kbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.zip
Initial TDE conversion
Diffstat (limited to 'src/webqueryciteseerx.cpp')
-rw-r--r--src/webqueryciteseerx.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/webqueryciteseerx.cpp b/src/webqueryciteseerx.cpp
index 6ac7da4..c00502a 100644
--- a/src/webqueryciteseerx.cpp
+++ b/src/webqueryciteseerx.cpp
@@ -22,9 +22,9 @@
#include <ntqbuffer.h>
#include <ntqspinbox.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <klineedit.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kurl.h>
#include <kdebug.h>
@@ -265,7 +265,7 @@ namespace KBibTeX
//_______________________________________________________________________________________________________________
// read data from the job and start the current parser
- void WebQueryCiteSeerX::getData( KIO::Job *job )
+ void WebQueryCiteSeerX::getData( TDEIO::Job *job )
{
// advance GUI progress bar
enterNextStage();
@@ -276,7 +276,7 @@ namespace KBibTeX
// read data
TQBuffer data;
data.open( IO_WriteOnly );
- data.writeBlock( dynamic_cast<KIO::StoredTransferJob*>( job )->data() );
+ data.writeBlock( dynamic_cast<TDEIO::StoredTransferJob*>( job )->data() );
data.close();
data.open( IO_ReadOnly );
TQTextStream ts( &data );
@@ -307,9 +307,9 @@ namespace KBibTeX
else if ( !m_aborted )
{
m_currentParser = m_queryQueue.front().parser;
- KIO::Job *job = KIO::storedGet( m_queryQueue.front().url, FALSE, FALSE );
+ TDEIO::Job *job = TDEIO::storedGet( m_queryQueue.front().url, FALSE, FALSE );
m_queryQueue.pop_front();
- connect( job, SIGNAL( result( KIO::Job * ) ), this, SLOT( getData( KIO::Job * ) ) );
+ connect( job, SIGNAL( result( TDEIO::Job * ) ), this, SLOT( getData( TDEIO::Job * ) ) );
}
}