diff options
Diffstat (limited to 'bibletime/frontend/crossrefrendering.cpp')
-rw-r--r-- | bibletime/frontend/crossrefrendering.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bibletime/frontend/crossrefrendering.cpp b/bibletime/frontend/crossrefrendering.cpp index aad9d44..a77fff3 100644 --- a/bibletime/frontend/crossrefrendering.cpp +++ b/bibletime/frontend/crossrefrendering.cpp @@ -23,13 +23,13 @@ namespace InfoDisplay { CrossRefRendering::CrossRefRendering( CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions) : CHTMLExportRendering(Settings(), displayOptions, filterOptions) {} - const QString CrossRefRendering::finishText( const QString& text, KeyTree& ) { + const TQString CrossRefRendering::finishText( const TQString& text, KeyTree& ) { // qDebug("CrossRefRendering::finishText"); return text; } - const QString CrossRefRendering::entryLink( const KeyTreeItem& item, CSwordModuleInfo* module ) { - QString linkText; + const TQString CrossRefRendering::entryLink( const KeyTreeItem& item, CSwordModuleInfo* module ) { + TQString linkText; const bool isBible = module && (module->type() == CSwordModuleInfo::Bible); CSwordVerseKey vk(module); //only valid for bible modules, i.e. isBible == true @@ -39,12 +39,12 @@ namespace InfoDisplay { switch (item.settings().keyRenderingFace) { case KeyTreeItem::Settings::NoKey: { - linkText = QString::null; + linkText = TQString::null; break; //no key is valid for all modules } case KeyTreeItem::Settings::CompleteShort: { if (isBible) { - linkText = QString::fromUtf8(vk.getShortText()); + linkText = TQString::fromUtf8(vk.getShortText()); break; } //fall through for non-Bible modules @@ -58,7 +58,7 @@ namespace InfoDisplay { } case KeyTreeItem::Settings::SimpleKey: { if (isBible) { - linkText = QString::number(vk.Verse()); + linkText = TQString::number(vk.Verse()); break; } //fall through for non-Bible modules @@ -71,7 +71,7 @@ namespace InfoDisplay { if (!linkText.isEmpty()) { //if we have a valid link text // qWarning("rendering"); - return QString("<a href=\"%1\">%2</a>") + return TQString("<a href=\"%1\">%2</a>") .arg( CReferenceManager::encodeHyperlink( module->name(), @@ -82,7 +82,7 @@ namespace InfoDisplay { .arg(linkText); } - return QString::null; + return TQString::null; } }; |