summaryrefslogtreecommitdiffstats
path: root/bibletime/backend/cswordmoduleinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/backend/cswordmoduleinfo.cpp')
-rw-r--r--bibletime/backend/cswordmoduleinfo.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/bibletime/backend/cswordmoduleinfo.cpp b/bibletime/backend/cswordmoduleinfo.cpp
index ecb03d0..dc45f1f 100644
--- a/bibletime/backend/cswordmoduleinfo.cpp
+++ b/bibletime/backend/cswordmoduleinfo.cpp
@@ -74,7 +74,7 @@ CSwordModuleInfo::CSwordModuleInfo(sword::SWModule * module, CSwordBackend * con
if (backend()) {
if (hasVersion() && (minimumSwordVersion() > sword::SWVersion::currentVersion)) {
- qWarning("The module \"%s\" requires a newer Sword library. Please update to \"Sword %s\".",
+ tqWarning("The module \"%s\" requires a newer Sword library. Please update to \"Sword %s\".",
name().latin1(), (const char *)minimumSwordVersion());
}
}
@@ -162,18 +162,18 @@ const bool CSwordModuleInfo::unlockKeyIsValid() {
: TQString::fromLatin1( m_module->getRawEntryBuf().c_str() );
if (test.isEmpty()) {
- qWarning("Unlock key of module %s is NOT valid", name().latin1());
+ tqWarning("Unlock key of module %s is NOT valid", name().latin1());
return false;
}
for (unsigned int i = 0; i <= test.length(); i++) {
if ( !test[i].isPrint() && !test[i].isNull() ) {
- qWarning("Unlock key of module %s is NOT valid", name().latin1());
+ tqWarning("Unlock key of module %s is NOT valid", name().latin1());
return false;
}
}
- qDebug("Unlock key of module %s is valid", name().latin1());
+ tqDebug("Unlock key of module %s is valid", name().latin1());
return true;
}
@@ -208,7 +208,7 @@ const bool CSwordModuleInfo::hasIndex() { //this will return true only
}
}
if (indexconfig->readEntry("index-version") != TQString::number( INDEX_VERSION )) {
- qDebug("%s: INDEX_VERSION is not compatible with this version of BibleTime.", name().latin1());
+ tqDebug("%s: INDEX_VERSION is not compatible with this version of BibleTime.", name().latin1());
return false;
}
@@ -293,8 +293,8 @@ void CSwordModuleInfo::buildIndex() {
//If it is a sword-heading, store in buffer and index later in Verse X:1
if (vk) {
if (vk->Verse() == 0) {
- //qWarning("key is %s", key->getText());
- //qWarning("text is %s", m_module->StripText());
+ //tqWarning("key is %s", key->getText());
+ //tqWarning("text is %s", m_module->StripText());
textBuffer.append( m_module->StripText() );
continue;
}
@@ -340,7 +340,7 @@ void CSwordModuleInfo::buildIndex() {
if (attListI->second["LemmaClass"] == "strong") {
lucene_utf8towcs(wcharBuffer, attListI->second["Lemma"], BT_MAX_LUCENE_FIELD_LENGTH);
doc->add(*lucene::document::Field::UnStored(_T("strong"), wcharBuffer));
- //qWarning("Adding strong %s", attListI->second["Lemma"].c_str());
+ //tqWarning("Adding strong %s", attListI->second["Lemma"].c_str());
}
if (attListI->second.find("Morph") != attListI->second.end()) {
lucene_utf8towcs(wcharBuffer, attListI->second["Morph"], BT_MAX_LUCENE_FIELD_LENGTH);
@@ -438,7 +438,7 @@ const bool CSwordModuleInfo::searchIndexed(const TQString& searchedText, sword::
}
}
} catch (...) {
- qWarning("CLucene exception");
+ tqWarning("CLucene exception");
return false;
}