summaryrefslogtreecommitdiffstats
path: root/src/fetch/amazonfetcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch/amazonfetcher.cpp')
-rw-r--r--src/fetch/amazonfetcher.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/fetch/amazonfetcher.cpp b/src/fetch/amazonfetcher.cpp
index 1633f60..d21ee27 100644
--- a/src/fetch/amazonfetcher.cpp
+++ b/src/fetch/amazonfetcher.cpp
@@ -112,7 +112,7 @@ bool AmazonFetcher::canFetch(int type) const {
|| type == Data::Collection::Game;
}
-void AmazonFetcher::readConfigHook(const KConfigGroup& config_) {
+void AmazonFetcher::readConfigHook(const TDEConfigGroup& config_) {
TQString s = config_.readEntry("AccessKey");
if(!s.isEmpty()) {
m_access = s;
@@ -311,11 +311,11 @@ void AmazonFetcher::doSearch() {
}
// myDebug() << "AmazonFetcher::search() - url: " << u.url() << endl;
- 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 AmazonFetcher::stop() {
@@ -332,12 +332,12 @@ void AmazonFetcher::stop() {
emit signalDone(this);
}
-void AmazonFetcher::slotData(KIO::Job*, const TQByteArray& data_) {
+void AmazonFetcher::slotData(TDEIO::Job*, const TQByteArray& data_) {
TQDataStream stream(m_data, IO_WriteOnly | IO_Append);
stream.writeRawBytes(data_.data(), data_.size());
}
-void AmazonFetcher::slotComplete(KIO::Job* job_) {
+void AmazonFetcher::slotComplete(TDEIO::Job* job_) {
// myDebug() << "AmazonFetcher::slotComplete()" << endl;
// since the fetch is done, don't worry about holding the job pointer
@@ -905,7 +905,7 @@ AmazonFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const AmazonFetcher
KAcceleratorManager::manage(optionsWidget());
}
-void AmazonFetcher::ConfigWidget::saveConfig(KConfigGroup& config_) {
+void AmazonFetcher::ConfigWidget::saveConfig(TDEConfigGroup& config_) {
int n = m_siteCombo->currentData().toInt();
config_.writeEntry("Site", n);
TQString s = m_assocEdit->text().stripWhiteSpace();