diff options
Diffstat (limited to 'bibletime/frontend/cinfodisplay.cpp')
-rw-r--r-- | bibletime/frontend/cinfodisplay.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/bibletime/frontend/cinfodisplay.cpp b/bibletime/frontend/cinfodisplay.cpp index 499dc30..62a8419 100644 --- a/bibletime/frontend/cinfodisplay.cpp +++ b/bibletime/frontend/cinfodisplay.cpp @@ -165,9 +165,9 @@ namespace InfoDisplay { ret.append( TQString("<div class=\"abbreviation\"><h3>%1: %2</h3><p>%3</p></div>") - .tqarg(i18n("Abbreviation")) - .tqarg("text") - .tqarg(text)); + .arg(i18n("Abbreviation")) + .arg("text") + .arg(text)); return ret; } @@ -176,7 +176,7 @@ namespace InfoDisplay { Q_ASSERT(!data.isEmpty()); if (data.isEmpty()) { return TQString("<div class=\"crossrefinfo\"><h3>%1</h3></div>") - .tqarg(i18n("Cross references")); + .arg(i18n("Cross references")); } // qWarning("setting crossref %s", data.latin1()); @@ -269,9 +269,9 @@ namespace InfoDisplay { // qWarning("rendered the tree: %s", renderer.renderKeyTree(tree).latin1()); //spanns containing rtl text need dir=rtl on their parent tag to be aligned properly return TQString("<div class=\"crossrefinfo\"><h3>%1</h3><div class=\"para\" dir=\"%2\">%3</div></div>") - .tqarg(i18n("Cross references")) - .tqarg(module ? ((module->textDirection() == CSwordModuleInfo::LeftToRight) ? "ltr" : "rtl") : "") - .tqarg(renderer.renderKeyTree(tree)); + .arg(i18n("Cross references")) + .arg(module ? ((module->textDirection() == CSwordModuleInfo::LeftToRight) ? "ltr" : "rtl") : "") + .arg(renderer.renderKeyTree(tree)); } /*! @@ -310,8 +310,8 @@ namespace InfoDisplay { )); return TQString("<div class=\"footnoteinfo\"><h3>%1</h3><p>%2</p></div>") - .tqarg(i18n("Footnote")) - .tqarg(text); + .arg(i18n("Footnote")) + .arg(text); } const TQString CInfoDisplay::decodeStrongs( const TQString& data ) { @@ -337,9 +337,9 @@ namespace InfoDisplay { ret.append( TQString("<div class=\"strongsinfo\"><h3>%1: %2</h3><p>%3</p></div>") - .tqarg(i18n("Strongs")) - .tqarg(*it) - .tqarg(text) + .arg(i18n("Strongs")) + .arg(*it) + .arg(text) ); } @@ -372,7 +372,7 @@ namespace InfoDisplay { // No need to check len, if at(1) is > len TQChar::null is // returned which is ok to .isDigit() if (value.at(1).isDigit()) { - switch (value.tqat(0).latin1()) { + switch (value.at(0).latin1()) { case 'G': module = CBTConfig::get (CBTConfig::standardGreekMorphLexicon); @@ -416,9 +416,9 @@ namespace InfoDisplay { //if the module wasn't found just display an empty morph info ret.append( TQString("<div class=\"morphinfo\"><h3>%1: %2</h3><p>%3</p></div>") - .tqarg(i18n("Morphology")) - .tqarg(value) - .tqarg(text) + .arg(i18n("Morphology")) + .arg(value) + .arg(text) ); } @@ -439,9 +439,9 @@ namespace InfoDisplay { } TQString ret = TQString("<div class=\"translationinfo\"><h3>%1: %2</h3><p>%3</p></div>") - .tqarg(i18n("Word lookup")) - .tqarg(data) - .tqarg(key->renderedText()); + .arg(i18n("Word lookup")) + .arg(data) + .arg(key->renderedText()); return ret; } |