From 6078e14f28ec3b34cc2041cbd8628a1d8420512c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:08:33 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- .../plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp') diff --git a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp index ccaf6d3..4fb8ede 100644 --- a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp +++ b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp @@ -92,7 +92,7 @@ void KOfxDirectConnectDlg::init(void) d->m_fpTrace.open(IO_WriteOnly | IO_Append); } - m_job = KIO::http_post( + m_job = TDEIO::http_post( m_connector.url(), request, true @@ -109,9 +109,9 @@ void KOfxDirectConnectDlg::init(void) } m_job->addMetaData("content-type", "Content-type: application/x-ofx" ); - 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*))); setStatus(TQString("Contacting %1...").arg(m_connector.url())); kProgress1->setTotalSteps(3); @@ -129,7 +129,7 @@ void KOfxDirectConnectDlg::setDetails(const TQString& _details) kdDebug(2) << "DETAILS: " << _details << endl; } -void KOfxDirectConnectDlg::slotOfxConnected(KIO::Job*) +void KOfxDirectConnectDlg::slotOfxConnected(TDEIO::Job*) { if ( m_tmpfile ) { @@ -143,7 +143,7 @@ void KOfxDirectConnectDlg::slotOfxConnected(KIO::Job*) kProgress1->advance(1); } -void KOfxDirectConnectDlg::slotOfxData(KIO::Job*,const TQByteArray& _ba) +void KOfxDirectConnectDlg::slotOfxData(TDEIO::Job*,const TQByteArray& _ba) { if ( !m_tmpfile ) // throw new MYMONEYEXCEPTION("Not currently connected!!"); @@ -157,7 +157,7 @@ void KOfxDirectConnectDlg::slotOfxData(KIO::Job*,const TQByteArray& _ba) setDetails(TQString("Got %1 bytes").arg(_ba.size())); } -void KOfxDirectConnectDlg::slotOfxFinished(KIO::Job* /* e */) +void KOfxDirectConnectDlg::slotOfxFinished(TDEIO::Job* /* e */) { kProgress1->advance(1); setStatus("Completed."); -- cgit v1.2.1