summaryrefslogtreecommitdiffstats
path: root/bibletime/frontend/cswordsetupdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/frontend/cswordsetupdialog.cpp')
-rw-r--r--bibletime/frontend/cswordsetupdialog.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/bibletime/frontend/cswordsetupdialog.cpp b/bibletime/frontend/cswordsetupdialog.cpp
index 74bf217..d1b7c29 100644
--- a/bibletime/frontend/cswordsetupdialog.cpp
+++ b/bibletime/frontend/cswordsetupdialog.cpp
@@ -508,7 +508,7 @@ the module remote installation feature!</b>")
success = true;
}
else { //an error occurres, the KIO library should display an error message
- qWarning("InstallMgr: refreshRemoteSources returned an error.");
+ tqWarning("InstallMgr: refreshRemoteSources returned an error.");
m_refreshedRemoteSources = false;
success = false;
}
@@ -540,17 +540,17 @@ the module remote installation feature!</b>")
if (BTInstallMgr::Tool::RemoteConfig::isRemoteSource(&is)
&& !refreshRemoteModuleCache(sourceName)) {
- // qWarning("finish");
+ // tqWarning("finish");
m_installModuleListView->finish();
return false;
}
//kind of a hack to provide a pointer to mgr next line
- // qWarning("createing remote_backend");
+ // tqWarning("createing remote_backend");
util::scoped_ptr<CSwordBackend> remote_backend( BTInstallMgr::Tool::backend(&is) );
- // qWarning("config path1 is %s", remote_backend->configPath);
- // qWarning("config path2 is %s", BTInstallMgr::Tool::backend(&is)->configPath ); //mem leak
- // qWarning("after creating remote_backend");
+ // tqWarning("config path1 is %s", remote_backend->configPath);
+ // tqWarning("config path2 is %s", BTInstallMgr::Tool::backend(&is)->configPath ); //mem leak
+ // tqWarning("after creating remote_backend");
Q_ASSERT(remote_backend);
Q_ASSERT( BTInstallMgr::Tool::RemoteConfig::isRemoteSource(&is) );
if (!remote_backend) {
@@ -560,22 +560,22 @@ the module remote installation feature!</b>")
CSwordBackend* local_backend = CPointers::backend();
Q_ASSERT(local_backend);
- // qWarning("local backend has path %s", local_backend->);
+ // tqWarning("local backend has path %s", local_backend->);
KApplication::kApplication()->processEvents();
//local_backend.initModules();
- // qWarning("config path3 is %s", remote_backend->configPath);
+ // tqWarning("config path3 is %s", remote_backend->configPath);
ListCSwordModuleInfo mods = remote_backend->moduleList();
Q_ASSERT(mods.count() > 0);
ListCSwordModuleInfo::iterator end_it = mods.end();
for (ListCSwordModuleInfo::iterator it(mods.begin()); it != end_it; ++it) {
- // qWarning("adding module %s (%s)", (*it)->name().latin1(), (*it)->config(CSwordModuleInfo::AbsoluteDataPath).latin1());
+ // tqWarning("adding module %s (%s)", (*it)->name().latin1(), (*it)->config(CSwordModuleInfo::AbsoluteDataPath).latin1());
bool isUpdate = false;
CSwordModuleInfo* const installedModule = local_backend->findModuleByName((*it)->name());
if (installedModule) {
- // qWarning("module is already installed in %s", installedModule->config(CSwordModuleInfo::AbsoluteDataPath).latin1());
+ // tqWarning("module is already installed in %s", installedModule->config(CSwordModuleInfo::AbsoluteDataPath).latin1());
}
// Q_ASSERT(installedModule);
@@ -591,7 +591,7 @@ the module remote installation feature!</b>")
isUpdate = (newVersion > installedVersion);
if (!isUpdate) {
- // qWarning(" mod %s is not an update", (*it)->name().latin1());
+ // tqWarning(" mod %s is not an update", (*it)->name().latin1());
continue;
}
}
@@ -684,7 +684,7 @@ the module remote installation feature!</b>")
}
void CSwordSetupDialog::slot_installModules() {
- qWarning("CSwordSetupDialog::slot_installModules()");
+ tqWarning("CSwordSetupDialog::slot_installModules()");
// m_installContinueButton->setEnabled(false);
// m_installBackButton->setEnabled(false);
@@ -703,7 +703,7 @@ the module remote installation feature!</b>")
m_currentInstallMgr = &iMgr;
sword::InstallSource is = BTInstallMgr::Tool::RemoteConfig::source(&iMgr, currentInstallSource());
- qWarning("installing from %s/%s", is.source.c_str(), is.directory.c_str());
+ tqWarning("installing from %s/%s", is.source.c_str(), is.directory.c_str());
TQString target = m_targetCombo->currentText();
//make sure target/mods.d and target/modules exist
@@ -740,7 +740,7 @@ the module remote installation feature!</b>")
for ( TQStringList::Iterator it = moduleList.begin(); (it != moduleList.end()) && !m_progressDialog->wasCancelled(); ++it, ++m_installedModuleCount ) {
- qWarning("installing %s", (*it).latin1());
+ tqWarning("installing %s", (*it).latin1());
m_installingModule = *it;
//check whether it's an update. If yes, remove existing module first
@@ -767,9 +767,9 @@ the module remote installation feature!</b>")
if (!m_progressDialog->wasCancelled()
&& BTInstallMgr::Tool::RemoteConfig::isRemoteSource(&is)) {
- // qWarning("calling install");
+ // tqWarning("calling install");
int status = iMgr.installModule(&lMgr, 0, (*it).latin1(), &is);
- // qWarning("status: %d", status);
+ // tqWarning("status: %d", status);
Q_ASSERT(status != -1);
}
else if (!m_progressDialog->wasCancelled()) { //local source