diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:14:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:14:31 -0600 |
commit | 145d30f0b8cbacc3599379e8717299734f3bb534 (patch) | |
tree | 3713677dce079619063612b12788282fd32e53af /src/fetch/crossreffetcher.cpp | |
parent | 5b6d393e0a2c88cce8f433607c091ae883ef54f9 (diff) | |
download | tellico-145d30f0b8cbacc3599379e8717299734f3bb534.tar.gz tellico-145d30f0b8cbacc3599379e8717299734f3bb534.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/fetch/crossreffetcher.cpp')
-rw-r--r-- | src/fetch/crossreffetcher.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/fetch/crossreffetcher.cpp b/src/fetch/crossreffetcher.cpp index dd0acb2..897aca8 100644 --- a/src/fetch/crossreffetcher.cpp +++ b/src/fetch/crossreffetcher.cpp @@ -65,7 +65,7 @@ bool CrossRefFetcher::canFetch(int type) const { return type == Data::Collection::Bibtex; } -void CrossRefFetcher::readConfigHook(const KConfigGroup& config_) { +void CrossRefFetcher::readConfigHook(const TDEConfigGroup& config_) { TQString s = config_.readEntry("User"); if(!s.isEmpty()) { m_user = s; @@ -103,11 +103,11 @@ void CrossRefFetcher::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 CrossRefFetcher::stop() { @@ -124,12 +124,12 @@ void CrossRefFetcher::stop() { emit signalDone(this); } -void CrossRefFetcher::slotData(KIO::Job*, const TQByteArray& data_) { +void CrossRefFetcher::slotData(TDEIO::Job*, const TQByteArray& data_) { TQDataStream stream(m_data, IO_WriteOnly | IO_Append); stream.writeRawBytes(data_.data(), data_.size()); } -void CrossRefFetcher::slotComplete(KIO::Job* job_) { +void CrossRefFetcher::slotComplete(TDEIO::Job* job_) { // myDebug() << "CrossRefFetcher::slotComplete()" << endl; // since the fetch is done, don't worry about holding the job pointer m_job = 0; @@ -375,7 +375,7 @@ CrossRefFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const CrossRefFet } } -void CrossRefFetcher::ConfigWidget::saveConfig(KConfigGroup& config_) { +void CrossRefFetcher::ConfigWidget::saveConfig(TDEConfigGroup& config_) { TQString s = m_userEdit->text(); config_.writeEntry("User", s); |