diff options
Diffstat (limited to 'kmymoney2/plugins/ofximport/ofxpartner.cpp')
-rw-r--r-- | kmymoney2/plugins/ofximport/ofxpartner.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/plugins/ofximport/ofxpartner.cpp b/kmymoney2/plugins/ofximport/ofxpartner.cpp index 9bcb938..c91b2cc 100644 --- a/kmymoney2/plugins/ofximport/ofxpartner.cpp +++ b/kmymoney2/plugins/ofximport/ofxpartner.cpp @@ -305,7 +305,7 @@ OfxHttpsRequest::OfxHttpsRequest(const TQString& type, const KURL &url, const TQ d->m_fpTrace.open(IO_WriteOnly | IO_Append); } - m_job = KIO::http_post(url, postData, showProgressInfo); + m_job = TDEIO::http_post(url, postData, showProgressInfo); m_job->addMetaData("content-type", "Content-type: application/x-ofx" ); if(d->m_fpTrace.isOpen()) { @@ -314,9 +314,9 @@ OfxHttpsRequest::OfxHttpsRequest(const TQString& type, const KURL &url, const TQ ts << "request:\n" << TQString(postData) << "\n" << "response:\n"; } - connect(m_job,TQT_SIGNAL(result(KIO::Job*)),this,TQT_SLOT(slotOfxFinished(KIO::Job*))); - connect(m_job,TQT_SIGNAL(data(KIO::Job*, const TQByteArray&)),this,TQT_SLOT(slotOfxData(KIO::Job*,const TQByteArray&))); - connect(m_job,TQT_SIGNAL(connected(KIO::Job*)),this,TQT_SLOT(slotOfxConnected(KIO::Job*))); + connect(m_job,TQT_SIGNAL(result(TDEIO::Job*)),this,TQT_SLOT(slotOfxFinished(TDEIO::Job*))); + connect(m_job,TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),this,TQT_SLOT(slotOfxData(TDEIO::Job*,const TQByteArray&))); + connect(m_job,TQT_SIGNAL(connected(TDEIO::Job*)),this,TQT_SLOT(slotOfxConnected(TDEIO::Job*))); tqApp->enter_loop(); } @@ -328,13 +328,13 @@ OfxHttpsRequest::~OfxHttpsRequest() } } -void OfxHttpsRequest::slotOfxConnected(KIO::Job*) +void OfxHttpsRequest::slotOfxConnected(TDEIO::Job*) { m_file.setName(m_dst.path()); m_file.open(IO_WriteOnly); } -void OfxHttpsRequest::slotOfxData(KIO::Job*,const TQByteArray& _ba) +void OfxHttpsRequest::slotOfxData(TDEIO::Job*,const TQByteArray& _ba) { if(m_file.isOpen()) { TQTextStream ts(&m_file); @@ -348,7 +348,7 @@ void OfxHttpsRequest::slotOfxData(KIO::Job*,const TQByteArray& _ba) } } -void OfxHttpsRequest::slotOfxFinished(KIO::Job* /* e */) +void OfxHttpsRequest::slotOfxFinished(TDEIO::Job* /* e */) { if(m_file.isOpen()) { m_file.close(); |