From 145d30f0b8cbacc3599379e8717299734f3bb534 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:14:31 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/fetch/citebasefetcher.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/fetch/citebasefetcher.cpp') diff --git a/src/fetch/citebasefetcher.cpp b/src/fetch/citebasefetcher.cpp index adc855d..5ab886d 100644 --- a/src/fetch/citebasefetcher.cpp +++ b/src/fetch/citebasefetcher.cpp @@ -55,7 +55,7 @@ bool CitebaseFetcher::canFetch(int type) const { return type == Data::Collection::Bibtex; } -void CitebaseFetcher::readConfigHook(const KConfigGroup&) { +void CitebaseFetcher::readConfigHook(const TDEConfigGroup&) { } void CitebaseFetcher::search(FetchKey key_, const TQString& value_) { @@ -79,11 +79,11 @@ void CitebaseFetcher::search(FetchKey key_, const TQString& value_) { return; } - m_job = KIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(KIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(KIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(KIO::Job*)), - TQT_SLOT(slotComplete(KIO::Job*))); + m_job = TDEIO::get(u, false, false); + connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), + TQT_SLOT(slotComplete(TDEIO::Job*))); } void CitebaseFetcher::stop() { @@ -100,12 +100,12 @@ void CitebaseFetcher::stop() { emit signalDone(this); } -void CitebaseFetcher::slotData(KIO::Job*, const TQByteArray& data_) { +void CitebaseFetcher::slotData(TDEIO::Job*, const TQByteArray& data_) { TQDataStream stream(m_data, IO_WriteOnly | IO_Append); stream.writeRawBytes(data_.data(), data_.size()); } -void CitebaseFetcher::slotComplete(KIO::Job* job_) { +void CitebaseFetcher::slotComplete(TDEIO::Job* job_) { // myDebug() << "CitebaseFetcher::slotComplete()" << endl; // since the fetch is done, don't worry about holding the job pointer m_job = 0; @@ -238,7 +238,7 @@ CitebaseFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const CitebaseFet l->addStretch(); } -void CitebaseFetcher::ConfigWidget::saveConfig(KConfigGroup&) { +void CitebaseFetcher::ConfigWidget::saveConfig(TDEConfigGroup&) { } TQString CitebaseFetcher::ConfigWidget::preferredName() const { -- cgit v1.2.1